-
Flash CS3 AS3 imported swf
I am importing an SWF into my main SWF and it works fine my problem is that I am using a timer to detect inactivity and when the timer expires on that page the parent SWF goes back to the home page but the imported SWF stays. It appears on top of the home page. Is there a way to unload it without having to click a button? Thanks
-
Yes. Simply call unload on the loader you used to load it in the first place, assuming it's still in that loader. Optionally, remove the loader from the display as well.
-
Call unload... when..from what. I have it working on a button but I want it to unload when it the timer times out. I can't find an event to use to unload it. Like programming in MS Access there are events like lost focus or onexit something like that.
-
The Timer will fire TIMER_COMPLETE when it completes.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|