A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Preload movie but don't play until specific frame

  1. #1
    Junior Member
    Join Date
    Jan 2010

    Preload movie but don't play until specific frame


    I'm pretty new to flash - I've looked at a lot of other posts but can't find one that answers my question so any help much appreciated.

    Here's what I want to do;

    I want to preload a movie into my main movie (so I know it's safely loaded fully). BUT I don't want it to start playing until a specific frame in the main movie?

    Does anyone know how to do this in actionscript 2.0?

    I'm using Flash 10

    Many thanks


  2. #2

  3. #3
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Do following things to your preload movie:

    1. Add a stop action on 1st frame
    2. Do not keep any elements on 1st frame of any layer

    When u reach to a particular frame on your main file where you wana play the preloaded movie, just say loaderClip_mc.gotoAndPlay(2);

    Note: loaderClip_mc is the name of movie clip in which you will load teh pre-load movie clip. You may change this name as per your choice!
    As ever,
    Vinayak Kadam

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