
113
Use motion paths
Last updated 6/15/2014
Click on the arrow icon after the error description to jump directly to the source of the error in the Code panel so you
can fix it. The All or Code options in the error display determines whether all errors are displayed (including
war
nings of feature incompatibilities with various devices, such as text shadows in IE9), or only code errors are
displayed.
Creating labels
When the user clicks each thumbnail, Edge Animate moves the playhead to a new time on the Timeline, according to
the argument in the stop() method. However, imagine that the client who has commissioned you to develop this
slideshow wants the whole sequence to run a little slower. That’s an easy task to do because you can select all of the
elements on the Timeline and move all the keyframes and animations forward to lengthen the total amount of time. But
doing so causes the times that each image appears on the Stage to change, which would require you to change all the
millisecond values in the stop() methods.
There is an alternate approach that would save you time and effort. Instead of using fixed-millisecond times in the
sto
p() met
hods, you can use labels, which refer to points on the Timeline. Labels can move with your animation, so
increasing or decreasing the length of your animation can move the labels proportionately.
Adding labels
Labels appear on the Timeline panel, below the time markers and just above the Actions layer.
1 Move the playhead to 0:00 seconds.
Kommentare zu diesen Handbüchern