[flexcoders] SWFLoader, doesn't show the loaded swf !!!

2007-02-12 Thread nicolasparziale
i'm still fighting with this, i have a swfloader inside a Class ie:

public class Nicolas extends Box
{

  public var swfloader:SWFLoader = new SWFLoader();

public function Nicolas()
{
   this.swfloader.load([relative path to the swf]);

   this.addChild(this.swfloader);
}
}

and then i place this class into a Canvas component.

the swfloader completes the load of the swf but doesn't show it or
enables it, i mean that the content is blocked or something.

please help  me !!! i tried everything, LoaderContext
ApplicactionDomain SecurityDomain

almost forget, the main application is a zinc compiled exe made
entirely in Flex 2 and runs local, the swf i'm trying to load is also
local and Flex 2, with as2 swfs i don't have any problem. only with
action script 3 ones.

if i load the swf from a swfloader placed in the main mxml app it
works fine, the trouble starts when i do this inside of the class.


Nicolás Parziale



[flexcoders] problem loading an AS3 Swf into another one

2007-02-09 Thread nicolasparziale
basically what happens is that i can load the first AS3 swf(a.swf)
into another AS3. but when i try to load it into another project it
seems to have a security trouble or something that don't let me access
the SWFLoader.content , but of course that it's fully loaded when i
try on doing that.

Did anyone had a similar problem?

(sorry about my english but im argentinian)

thanks and gracias !