PDA

View Full Version : static members via loaded swf



ofeet
May 19th, 2009, 03:56 PM
shakedown:

1) made local.swf

2) made remote.swf which contains MyClass

3) local.swf loads in remote.swf from http://www.mysite.com/remote.swf

how can I access MyClass.staticMember() using local.swf ? is there someway to register MyClass under local.swf after remote.swf is loaded in?

i think i'm looking for something similar to registerClass(remoteSwf.myClassObject.constructor) ;

ofeet
May 20th, 2009, 12:16 PM
don't hate me --> bump