Flasher Archive

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


Subject: RE: FLASH: Controling the playback head
From: Eric Rudolph
Date: Wed, 21 Jul 1999 21:01:56 +0100

Set Variable: "x"=GetTimer
if( x < 10000 )
Go to Previous Frame
Play
End If

will do it. But it would be wiser to set a compare
time two frames before the above code with something
like Set Variable: "start"=GetTimer

then two frames later, say:
SetVariable: "x"=GetTimer
if( x < start + 10000 )
Go to Previous Frame
Play
End If

That way, you won't incur startup time delays in your
timing calculations.

-----Original Message-----
From: Geoff Edgcombe [geoffatapplause [dot] co [dot] uk (mailto:geoffatapplause [dot] co [dot] uk)]
Sent: Wednesday, July 21, 1999 4:06 AM
To: flasheratshocker [dot] com
Subject: FLASH: Controling the playback head


Hi,

Does anyone know how to use GetTimer to control playback of the head
in Flash4?
What I want to do is keep the playback head looping in a frame until X
seconds have passed, then allow it to progress.
I have tried various things but cannot seem to get them to work, I
guess my syntax is wrong or something!
I have placed an action in a keyframe which includes this:

If (GetTimer > 10000)
Go to Next Frame
Else If (GetTimer < 10000)
Go to Previous Frame
End If

But this doesn't work. It just seems to do the last thing mentioned,
whether the movie has been playing for less than 10 seconds or not.
I am more used to using the Lingo in Director so I don't quite know
what I'm doing wrong.

Can anyone help me?

Thanks in advance,

Geoff
geoffatapplause [dot] co [dot] uk

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


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