ActionScript goes green

You’ve got options for reusing an animation in your document with code. You can assign an Instance Name to an animation in the Motion Property inspector, then use this line of code-tweenInstanceName.addTarget (mcInstanceName)-to apply it to another instance in your FLA file. This ActionScript assigns the tween with the instance name tweenInstanceName to a movie clip with the instance mcInstanceName. Or you can simply copy the animation from a tween span as ActionScript: click the tween span and choose Copy Motion as ActionScript 3.0.

written by Richard Galvan
“These tips originally appeared in the March/April 2009 issue of Layers: The How-To Magazine for Everything Adobe.”

VN:F [1.4.4_707]
Rating: 0.0/10 (0 votes cast)
  • Facebook
  • Google Bookmarks
  • Digg
  • AIM
  • Windows Live Spaces
  • Yahoo Messenger
  • LiveJournal
  • FriendFeed
  • Diglog
  • HelloTxt
  • Jumptags
  • Twitter
  • Yahoo Bookmarks
  • Yahoo Buzz
  • Webnews
  • Windows Live Favorites
  • Yahoo Mail
  • LinkedIn
  • Delicious
  • Gmail
  • Hotmail
  • Furl
  • BlogMarks
  • Tumblr
  • Share/Save/Bookmark

Tags: , , , , , ,

This entry was posted on Tuesday, April 28th, 2009 at 9:58 pm and is filed under Adobe Flash CS4. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Posts sponsored by :

Leave a Reply




Message: