Flasher Archive

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


Subject: Re: FLASH: can you have a mouseover play a movie clip?
From: Marc Hoffman
Date: Wed, 17 Mar 1999 01:18:36 GMT

At 05:17 PM 3/16/99 -0500, you wrote:
>I already tried making each character animation a movie
>clip. then I was going to attach an action to the movie clip that said:
>
>OnMouseOver
>Play
>On MouseOut
>Stop
>
>It won;t let me do this? Is this possible?
>

hi Kristin.

MouseOver is reserved for buttons. Make sure each of your movie clips
starts out in an empty, stopped frame. Drag it onto the stage, preferably
in its own layer. Then:

1) Give each movie clip (MC) an instance name on the stage (assigned by
double-clicking the MC to get instance properties to come up);
2) Create a button to associate with the movie clip and place the button on
the stage. The button can be invisible, but must have a hit area defined;
3) Double-click the button and assign this action:
On MouseEventOver
Tell Target
target: /MCinstanceName
Go to and Play next frame
End Tell Target
End On

On Mouse Event RollOut
TellTarget
target: /MCinstanceName
Go to and stop frame 1
End TellTarget

TellTarget is one of the drop-down actions under button instance
properties>actions. When you select it, you'll see a list of current MC
instance names, so you can just double-click the one you need and it will
be placed in the target window.

Be sure your movie clips exist in the timeline at any point when their
associated buttons might be rolled over. Best way to do this is to reserve
a layer for the MC and keep it present (that is, don't insert blank
keyframes after the MC).



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

------------------------------------------------------------------------
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: help please, Samir
  FLASH: can you have a mouseover play a m, Kristin K. Rule

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