+
+ public function getClass():Class {
+ return ClassWithStaticFunctions;
+ }
+
+ public function checkScope():void
+ {
+ try {
+ flash.net.navigateToURL;
+ } catch (e:Error) {
+ }
+ trace("ok 6/8");
+
+ with(getClass()) {
+ try {
+ throw new Error;
+ } catch(e:Error) {
+ ok7();
+ }
+ }
+ }
+ public function checkActivation():void
+ {
+ var yy:uint = 0;
+ var inc_y = function() {
+ yy = yy + 1;
+ }
+
+ try {
+ inc_y();
+ throw new Error;
+ } catch(e:Error) {
+ inc_y();
+ }
+ if(yy!=2) trace("error ("+yy+")")
+ else trace("ok 8/8");
+ }
+
+