A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: need to restart movie

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Posts
    8

    need to restart movie

    Is there a way to stop a movie, and reload it like it was starting for the first time again?

  2. #2
    Senior Member p80's Avatar
    Join Date
    Aug 2004
    Location
    MIA
    Posts
    164
    have you tried useing a getURL, and telling it to load in the same window? could work, duno

    good luck

  3. #3
    The Ancient
    Join Date
    Mar 2000
    Location
    Michigan, USA
    Posts
    213
    Why not just restart at frame 1?
    code:
    gotoAndPlay(1);



    Or, p80's idea:
    code:
    getURL("webPageName.html","_self");

    jahasloth

  4. #4
    Junior Member
    Join Date
    Oct 2004
    Posts
    8
    I tried going back to the first frame but I am having some problems extra instances being created. I'm not quite sure why.

    Anyway I ended up using the loadMovie action. I just reload the same .swf file into _level0 and its starts all over.

    thanks for you help

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