A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: external Movie Clip

  1. #1
    <<MXian>> memon2k's Avatar
    Join Date
    Nov 2001
    Location
    C:\Program Files\Macromedia\Flash MX
    Posts
    148

    external Movie Clip

    hey..

    i am calling an external movie clip in my main movie.. is there a way to goto any specific frame of that external movie clip...

    OR

    a way where we can PRELOAD that externl movie clip along with the main movie...

    thanx

    aLi
    [aLi]-Ur fUtUrE dEPeNdS uPoN uR dReaMs.. So GoTo SlEeP~!

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    on(release){
    _level0.whereToGo="gallery";
    loadMovieNum("myMovie.swf",1);
    }

    And in external swf you make a framelabel where the movie should go to ( in this case gallery ). And in first frame of external swf.

    gotoAndPlay(_level0.whereToGo);

    This way you set a variable with the button that a gotoAction in external swf reads and executes.
    Last edited by pellepiano; 06-21-2004 at 03:25 PM.

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

  3. #3
    <<MXian>> memon2k's Avatar
    Join Date
    Nov 2001
    Location
    C:\Program Files\Macromedia\Flash MX
    Posts
    148
    hey.. thanx..it does work.. but not exactly the way i wanted...
    with the script u gave.... it goes directly TO THE LABEL i tell ... is there a way where.. the movie shud play from the 1st frame and stop where that label comes... rather than directly going there and skipping the naimation in the previous frames..

    thanx

    aLi
    [aLi]-Ur fUtUrE dEPeNdS uPoN uR dReaMs.. So GoTo SlEeP~!

  4. #4
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    Then just put this on the gallery frame...

    if(_level0.whereToGo=="gallery"){
    stop();
    }

    -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