dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Replace one SWF with another?

  1. #1
    Senior Member
    Join Date
    Aug 2000
    Location
    Central PA
    Posts
    120

    Replace one SWF with another?

    I have an SWF that I want to load another SWF in place of when the movie is done. I also want to be able to go back to the original movie when that one is done. I'll have two links at the end of the second SWF to either replay the second one again or to start again with the first one. Problem is that when I go to load the first one again, it never gets rid of the second one. Is there a way in AS3 to unload the second one when I load the first one? This used to be simple, but like so many other things had become complicated in AS3.
    ?:-{>

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    That would happen only if you create a new Loader object. You need to create it only once and then reuse it.
    - The right of the People to create Flash movies shall not be infringed. -
    | www.Flashscript.biz | Flashscript Biz Classes/Components |

  3. #3
    Senior Member
    Join Date
    Aug 2000
    Location
    Central PA
    Posts
    120
    Thanks, cancerinform, I'll see if that's the case.
    ?:-{>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center