Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: How can you Re-Set 'getTimer'
From: JGL
Date: Mon, 20 Mar 2000 20:37:55 GMT

Hi all -

I am using this piece of code (thanks to Brandon:)) to cause a pause for a
button before it goes to it's destination. The reason for the delay is
because once at "buttondestination", some processor intensive animaton
occurs. The button, itself, 'on press' has processor intensive animation.
This workout helps alot when viewing with PC processor speed of 233 or less
(that's the smallest I have for testing).

My problem is that if you go back to where you are able to click the button
again, this code will not cause the delay :( - I guess because the timer has
been cruising the whole time.

What can I do - reset the timer? - if so - how? Or is there some other
solution?

Anyway -
The frame the button goes to has this action:
stop
set variable: "startTime" = getTimer

A MC called countDown with two frames, where the 2nd
frame is the exact same as the first. The code in the frames is as follows:

if ((getTimer-/:startTimer) > 30000)
Begin Tell Target ("/")
Go to and Play ("buttondestination")
End Tell Target
end if

An instance of countDown is placed in the frame where the button goes.

TIA

JGL



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Possible?: Import math formul, Marc Pidoux

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]