Flasher Archive

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


Subject: Re: FLASH: timer -loop CAN THIS BE DONE IN FLASH ??
From: Marc Hoffman
Date: Mon, 1 Mar 1999 19:39:02 GMT

At 06:08 PM 3/1/99 +0100, you wrote:
>I need to check out if the mouse isn't touched for some time, (in a
>Flash presentatie)
>If the time-out occours, then some sort of looping animation must
>happen.(another movie)
>When the mouse is than touched again, you come back again on the place
>you where.

This is one of those complex things that can be done in Flash but you may
find it tedious.

Create a timer MC (as many frames as you want the timer to last). In the
last frame have a frame action that makes the time-out animation occur.
This could be a TellTarget to the main timeline, making it move to the
animation, or it could be a TellTarget to another MC that is stopped in a
blank frame.

Drag the timer MC to the stage and give it the instance name timeout.

Create a small rectangular invisible button (that is, make a button with a
rectangle in the hit area and no graphics in the up, over, and down
frames), drag it onto the stage, double-click it and give it this action:
On RollOut
Begin Tell Target (target: /timeout)
GoTo and Play frame 1
End Tell Target
End On

Now copy this invisible button so that the copies cover the entire stage area.

Whenever the mouse rolls out of one of these invisible buttons, the timer
will reset to zero. If the mouse doesn't roll out, the timer MC will play
to the end and start the animation.


Marc Hoffman
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
marcatdartfrogmedia [dot] com (mailto:marcatdartfrogmedia [dot] com)
My home site is now featured in Ken Milburn's book, Flash 3 Web Animation f/x
and Design. Play a virtual marimba there: <www.dartfrogmedia.com/dartfrog>.
View my Flash3 samples: <http://www.jps.net/dartfrog/sampler>.
Read about Flash: <http://www.jps.net/dartfrog/sampler/flashinf>

------------------------------------------------------------------------
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


Replies
  FLASH: timer -loop CAN THIS BE DONE IN F, Erwin Geens

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