A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Checking to see if a .swf is loaded

  1. #1
    Senior Member
    Join Date
    Nov 2000
    Columbus OH
    Can someone help me please?!!! I want a button to check to see which .swf has been loaded in my main movie. Then once it finds which one is currently loaded to go to and play the end of that .swf then load the new .swf of the respective button. Does that make sense? How do I do this? Thanks.

  2. #2
    Join Date
    Aug 2000
    If you're loading into levels you can use:
    if (_level2 != undefined) {
        // something's loaded there
    I think the same works with loading into MovieClips. If you want to know WHICH movie is loaded you'd have to make each of your movies set a variable when it starts. That would prolly be easier to test anyway.

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