A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Loaded MovieClip

  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    30

    Loaded MovieClip

    Is there a way to know if a MovieClip is already load?
    I would like to do something like

    if (Movie.IsLoaded) == false {
    loadMovieNum("Movie.swf", 1);
    }

    Anybody know what is the right condition?

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    If you mean to check if a container MC is occupied or not

    if(containerMC.getBytesTotal >500){
    // Yes something is in there
    }else{
    // Its empty
    }

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

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