Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: Why doesn't it work right when aftershocked? |
From: | Eric Smollin |
Date: | Wed, 23 Jun 1999 19:28:25 +0100 |
Yari wrote:
>I am having a problem with this animation. I have an image of a head
>followed by three buttons. The head is suppose to move once to the left and
>back to the right whenever a button is clicked. Then depending ont he
>button it moves to a different url, though those aren't linked in the test
>site yet.
>It works fine in the Flash development area when i step through it, but
>after I use aftershock, the head moves continually. Its got to be a simple
>problem, but I really cannot figure what I did wrong. The test html is:
>http://www.studio2013.com/test/right-flash.html
>The original zipped .fla file for downloading is:
>http://www.studio2013.com/test/panel-sm.zip
>If anyone could take a look at it and tell me what I did wrong, I would
>greatly appreciate it.
Hi there Yari. To make you animation work, put a stop action in the first
frame of your "Head" movie, don't put the stop action on the main timeline.
Although this will work, I must tell you that this is NOT the best (most
efficient) way to achieve the effect that you are looking.
What you should do is make a MC containing the head moving from one side to
the other and use tell target to trigger the effect once the correct button
is pressed. Each button would have the following action:
on (release)
Begin Tell Target ("/head")
Go To and Play (1)
End Tell Target
End On
The layer named "head movie" would contain the MC "Head" and nothing else
(get rid of those random keyframes with motion tweens, they are not
necessary).
Also, if you are doing frame by frame animation (creating a keyframe for
each position of the object) it is not necessary to give each keyframe a
motion tween action. See the following URL (a good tutorial by Chrissy Rey)
for information on basic motion tweening.
http://www.flashlite.net/help/newbie/f3/cr_tween1.html
Good luck
-Eric-
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [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-managershocker [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]