Flasher Archive

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


Subject: Re: FLASH: Basic problem
From: Marc Hoffman
Date: Wed, 21 Apr 1999 21:06:35 +0100

At 07:29 PM 4/21/99 +0200, you wrote:
>I�ve created basic mouse over event. Change color OnmouseOver and
>link to another html-document when onClick. How do I do if I want a
>simple animation to begin on OnmouseOver and ending on mouseOut?
>Please help me I cant stand this any longer.
>

make the animation in its own movie clip (mc). First frame should be blank
with a stop action. Label the second frame "begin. Put a stop in the frame
where the ending would start. Label that frame "end." Give the last frame
an action GoTo and Stop (at) Frame1. Put the mc on the stage, double-click
it, give it an instance name ButtonMC (any name will do; this is for this
example). Double-click the button and give it these actions:

On MouseEvent (Over)
Begin TellTarget
target: /ButtonMC
GoTo and play label: begin
End TellTarget
End On
On MouseEvent (Rollout)
Begin TellTarget
target: /ButtonMC
GoTo and play label: end
End TellTarget
End On

This can be done using an invisible button, in which case you'd make the
first frame of the mc look like a button and have the real button's hit
area the same size as the mc's first frame graphic.




Marc Hoffman
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
marcatdartfrogmedia [dot] com (mailto:marcatdartfrogmedia [dot] com)
Play a virtual marimba at: <www.dartfrogmedia.com/dartfrog> (featured
in the book Flash 3 Web Animation by Ken Milburn).
Flash3 samples: <http://www.jps.net/dartfrog/sampler>.

------------------------------------------------------------------------
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: Basic problem, Gunnar Sundberg

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