|
-
Hi... I know this is an old thread but I'm rediscovering Flash on the old software that I have.....
My actionscripting is sketchy at the best of times so I'm afraid I need a little help.
In my project I have an opening frame which has a button that takes you to the main menu that contains a number of buttons each of which load and unload a movieclip (within which there is a back and forward button).
What I want is, if a button hasn't been pressed for a minute I want the movie to timeout and go back to the opening frame.
I've inserted your code on the first frame of my project and adjusted the time accordingly. However when I test it, initially it appears to work but each time a button is pressed the timeout time is shortened until it barely registers a change and I'm stuck on the opening frame.
I've attempted to decipher the coding but can't see where the problem is. Plus I'm not quite sure what the:
id = setInterval(restart, _global.interval
refers to.
Any advice would be greatly appreciated.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|