Jump to content
Search Community

Question about an example

minusone test
Moderator Tag

Recommended Posts

Hey

I was searching up some information and I came across some advice you gave.

 

"Also, I would recommend NOT reusing the same loader. Instead, what I typically do is create a new SWFLoader each time I need to load a swf so that I can fade its content in over the top of the other one (they both need to coexist for that to happen) and then use an onComplete on my fade out tween on the old/stale one to call dispose(true) on it when the new one has taken the place of the old one (faded in). Technically you can use the same loader by simply setting its "url" property to a new value and calling load() again, but I just don't think it's typically the best option."

 

Now I understand however I was curious if you can post a quick example on how to tie in a fade out tween to the old/stale loader/content reference in the paragraph above as this is exactly what I need. As I am loading content over,fading images above another however,id like to kill the content underneath it so when I tween out my section,you dont see all the images underneath it as it fades away ( stacked up).

 

Anyone else who can chime in would be greatly appreciated!

 

Thanks in advance.

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...