Flasher Archive

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


Subject: Re: FLASH: MovieClip in reverse
From: Marc Hoffman, Poison Dart Frog Media
Date: Sun, 11 Jun 2000 20:26:18 +0100

At 09:12 AM 6/11/00 , you wrote:
>How do get a MC to play in reverse using Action Script

You need a loop. Do this in a 3-frame Controller movie clip that controls
the MC with the animation in it (/mc):

Controller Movie Clip:

Frame 1: Stop
Frame 2: TellTarget (/mc)
Go To and Stop (/mc:_currentframe-1)
End Tell Target
Frame 3: Go to and Play (frame 2)


The controller MC is inactive until told to play. When playing it keeps
sending the animation back one frame. Use a button to set the controller MC
into action. Button action would be:

On Event (Mouseover)
Tell Target (/controller)
Play
End Tell Target
End On

On Event (Rollout, Dragout)
Tell Target (/controller)
Go to and Stop (frame 1)
End Tell Target
Tell Target (/mc)
Play
End Tell Target
End On

I posted an example for you at
http://www.dartfrogmedia.com/flash_demos/reverse01.fla.

If the code above doesn't work, I probably made a typo here -- just look
closely at the demo code, which works.


Marc Hoffman

Poison Dart Frog Media
Flash portfolio: http://www.dartfrogmedia.com/portfolio


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 helpatchinwag [dot] com


Replies
  FLASH: MovieClip in reverse, Daniel Guerrier

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