all groups > macromedia flash sitedesign > august 2007 >
You're in the

macromedia flash sitedesign

group:

Following a path. . . exactly!



Following a path. . . exactly! Mingis69
8/22/2007 12:00:00 AM
macromedia flash sitedesign: Hi there,

I am trying to animate what I can only best describe as a 'Heart Rate Monitor'
animation.

I want a small line to cross the screen with the typical up-and-down
characteristics of a heart rate monitor. The basic principal is easy. Create a
symbol, create a path, connect them and then motion tween...

However, even when set to 'orient to path' the line jerks around the corner
from one way to the other. Is it possible to get the line to curve around the
corner instead?

In essence what I am looking to do is animate a straight line around a corner,
but have the straight line curve around the corner with the path instead of
flicking from one direction to the other.

Hope someone can make sense of that!

Cheers,
Al.
Re: Following a path. . . exactly! aniebel
8/22/2007 12:00:00 AM
You could edit the easing but it might be easier to use the line as a mask and
tween the glow under it to move across the screen. That way it would move at a
consistent speed and you wouldn't have to worry about a motion path. Just an
idea.
Re: Following a path. . . exactly! Mingis69
8/22/2007 10:28:44 PM
Thanks aniebel - good suggestion - the only thing I was struggling is that the
line can't be used as a mask and a fill can't be used as a motion guide.

However, like you say, if I create a fill and use that as a mask I can just
tween a glow behind it that is tall enough to follow the mask.

Cheers,
Al.
Re: Following a path. . . exactly! aniebel
8/23/2007 12:00:00 AM
Hello again, there's no need for a motion guide with that method. Just tween
the glow/light/whatever from the left side of the screen to the right. You can
convert the line to a fill by selecting it and Modify>Shape>Convert Lines to
Fills
Re: Following a path. . . exactly! Xibit Studio
8/24/2007 12:00:00 AM
just because your using a motion guide doesn't mean, that you dont have to
keyframe dude ...flash does what you tell it or show it to do

if you want your graphic to change it's position or shape or scale on the
motion path ,then you need to keyframe that exact point in time you want it to
happen & move your graphic etc etc
AddThis Social Bookmark Button