dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: stop clip until movie loaded

Hybrid View

  1. #1
    Junior Member
    Join Date
    Oct 2002
    Posts
    10

    stop clip until movie loaded

    I have a transition in the main movie that I hant to stop at a certain frame until the external swf is loaded. I have a stop frame and a frame labeled contine to go to after the movie loads. Have tried several approaches but just cant get it working properly.....ROOKIE

    Cheers Mike R

  2. #2
    Member
    Join Date
    Sep 2002
    Location
    Ireland
    Posts
    76
    Hi,
    It's not that clear from your posting what your problem is, but I'll give you some pointers

    if you have to load an external .swf then just create a keyframe and put the following in


    stop();
    loadMovie("myclip.swf", "_root.container");

    if you then want the imported clip to play and then after it's finnished for the main time line to carry on then just put this a/s in the last frame of the imported .swf

    stop();
    _level0.play("startmovie");

    where "startmovie" is a frame label on your main movie time line
    also if the imported .swf is bigger than 20-30k put a simple pre-loader in it

    However if you wish to preload a .swf but want the main movie to carry on (and not play the imported .swf until it is called by an action or event then just expand the timeline that has the

    loadMovie("myclip.swf", "_root.container");

    and then use the property method

    _root.container._visible = "false"

    then when you need to use the clip just make _visible = "true"

    Hope this helps


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