Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: get timer not working right |
From: | Helen Triolo |
Date: | Mon, 10 Jul 2000 16:45:26 +0100 |
I'm working on a Flash projector project, in which the viewer is
supposed to be bumped to the next frame in 5 seconds if they don't click
a Continue button. I'm using a timer mc to do this (ala Branden Hall),
but it waits for 18 seconds, not 5, before going to the next frame. My
question is -- is the code wrong, or is the gettimer function that
inaccurate, or is this that dependent on processor speed (WinNT,
367MHz), or what?
on main timeline, mc instance timer in one frame with these actions:
Set Variable: "nsecs" = 5
Set Variable: "startTime" = getTimer
Stop
mc timer has 2 frames. on each, the code is:
If ((getTimer-/:startTime)>/:nsecs*1000)
Begin Tell Target ("/")
Play
End Tell Target
End If
Thanks,
Helen
---------------------------------------------------
helen triolo � http://i-technica.com � 301-424-6037
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: get timer not working right, Jon Williams
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]