Flasher Archive

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


Subject: RE: FLASH: Question...
From: Robert Cummins
Date: Thu, 27 May 1999 20:21:04 +0100





Make the movie clip external to the button, and give it a stop
action in
whatever frame you want it to stop once it appears (could be frame
1).
Place it on the stage, make sure it's on its own layer and that it
exists
the entire time in question, with no keyframes in that layer
(encountering
keyframes will reset it to frame 1). Double-click it and under
Definition
give it an instance name, let's call it "wow."

Double-click the button and go to Actions. Give it these actions:

On Mouse Event (Rollover)
Tell Target (target: wow)
Play
End Tell Target
End On

On Mouse Event (RollOut, Drag Out)
Tell Target (target: wow)
Stop
End Tell Target
End On


that's all.


Marc Hoffman


Marc, with respect, that method is a little too complex and is not
necessarily
the best way to set up an animated button. Using actions to change
a button
stste is unnecessary. I would use the following method:

Create the button, and the movie clip,(external to the movie), with
a stop action
at the end.

Place the movie clip in the first 2 frames of the button, (the up &
over state)

For the first frame, set it's properties to Graphic, single frame,
start frame 1
For the second frame, set it's properties to Movie Clip.

Make sure to put something on the fourth frame, or else your button
will have no "hotspot"

This should work in exactly the same way, and should be more robust
& use less processor time.


Alias|Rob
www.prplx.com

___________________________________________________

The information contained in this electronic mail message is confidential. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If the reader of this message is not the intended recipient, you are hereby notified that any use, copying, dissemination or disclosure of this information is strictly prohibited.
___________________________________________________

------------------------------------------------------------------------
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
  RE: FLASH: Question..., Marc Hoffman, Poison Dart

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