Jump to content
Search Community

swf files disptach remove listener after adding them

polatkanfatih test
Moderator Tag

Recommended Posts

hi,

 

i have a class including SWFLoader, and i add my swf files inside this by using "swfLoader.load(true)". there are are resize and add, remove listeners in swf files. when i load swf files i saw that resize functions doesnt work even if they are in stage. then, i made a trace and found that even if swfLoader loads swf files and i see them in stage, REMOVED_FROM_STAGE listener triggered after adding them. However, if i change flush property to false, i.e., "swfLoader.load(false)", resize listeners works and remove listeners arent dispatched.

 

thanks....

Link to comment
Share on other sites

Could you post a very simple example FLA that demonstrates this behavior? I had a hard time following the description exactly. Whenever you run into trouble, it's amazingly helpful if you can post an FLA so that we can publish it and see for ourselves what's going on.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...