A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] My flash movie keeps speeding up when I play it again

  1. #1
    Member
    Join Date
    Aug 2012
    Posts
    55

    resolved [RESOLVED] My flash movie keeps speeding up when I play it again

    How do I prevent this??

    see the fla code at http://board.flashkit.com/board/show...s-up-on-replay

    Any help greatly appreciated

    Written in Flash 8/AS2

    Thanks

    Rachel

  2. #2
    Member
    Join Date
    Jul 2000
    Location
    Atlanta
    Posts
    93
    it seems your code is not resetting after each time you play the game, and it keeps the original values from the last game. The original values are loaded when flash loads, not on a button press.

    function startup():void
    {
    myTimer=9;
    etc....etc...
    }

    then call this function whenever the game begins.

Tags for this Thread

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