Skip to main content
Webshark2000
Known Participant
September 23, 2008
Question

How can I nest SWF files?

  • September 23, 2008
  • 1 reply
  • 334 views
I'm designing a site that will have quite a lot of flash in it. I don't want the user to have to wait until the entire site loads, but rather load the different sections as they go to them, so if someone never visits a certain part of the site, the don't have to wait for it to load. I've seen other sites that when you click on a certain flash button, you get an additional "loading" screen inside the flash window you're already looking at. I'm just wanting to know how to "nest" the SWF files.

At the moment, when I import a swf into a flash project and then try to put it on the stage, it just sits on the first frame and does nothing.

Thanks.
This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
September 24, 2008
you don't nest swf files. you want load the external swf files.

you can use loadMovie() or loadMovieNum() and make your own preloader code or you can use the moviecliploader class and its listener's onLoadProgress method.