
Transforming Timeline Animation into Code
Chapter 15
476
■ When you copy a classic tween, you may
paste the script created by the Copy
Motion As ActionScript 3.0 command,
and then discover you entered the wrong
instance name in the Prompt dialog. You
don’t have to go back and do the whole
copying procedure again. In the toolbar
above the Script pane, click the Find but-
ton (the magnifying-glass icon). A stan-
dard search-and-replace dialog opens.
Simply replace the incorrect instance name
with the correct one in the pasted script.
■ e script created by the Copy Motion
As ActionScript 3.0 command can look
quite complicated to a novice scripter ...