I have encountered a situtation (in as2) where a loaded swf cannot access a
class in the loading swf. the situation is like this:
swfA contains class:
class MyClass extends MovieClip{
public static function getText():String{
return "some text";
}
}
swfA _root:
System.security.allowDomain("*");
trace(MyClass.getText()); //some text
trace(MyClass) // [type Function]
swfA then loads swfB from another domain....
swfB contains code:
trace(MyClass.getText()); //undefined
trace(MyClass); //undefined
trace(_global.MyClass) //undefined
any ideas whats going on?
--
John Van Horn
[EMAIL PROTECTED]
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com