brixel
05-21-2009, 12:47 AM
Hey guys,
I have a simple AS3 SWF built with the Flash authoring environment, and has one method in it, "Test()". In Flex 3 I have a SWFLoader which loads this SWF in.
My problem is I want to be able to call the "Test()" method, but it keeps erroring on me with #1069.
I've seen a few examples where people did it like:
mySWFLoader.content.Test();
But that won't compile, errors out.
I've also tried casting it - MovieClip( mySWFLoader.content ).Test() - , but that's when I get the error above. Can anyone point me in the right direction here? Seems like this should be simple. Thanks.
I have a simple AS3 SWF built with the Flash authoring environment, and has one method in it, "Test()". In Flex 3 I have a SWFLoader which loads this SWF in.
My problem is I want to be able to call the "Test()" method, but it keeps erroring on me with #1069.
I've seen a few examples where people did it like:
mySWFLoader.content.Test();
But that won't compile, errors out.
I've also tried casting it - MovieClip( mySWFLoader.content ).Test() - , but that's when I get the error above. Can anyone point me in the right direction here? Seems like this should be simple. Thanks.