A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: AS2 Tween Class Help

  1. #1
    BTS2112
    Join Date
    Oct 2005
    Location
    Kansas City
    Posts
    52

    AS2 Tween Class Help

    Hello,
    I'm trying to learn more about using Tween Class to animate a movie clip.
    I've got an MC in the first frame of my timeline.

    Rather than use tweens in the timeline to adjust the x/y coordinates, height/width, and alpha of my MC, I'd like to use actionscript to accomplish this.

    My research so far has got me to import the transitions and easing,
    Code:
    import mx.transitions.Tween; 
    import mx.transitions.easing.*;
    but I get a little lost after that.

    Are there any simple tutorials that you can suggest that will help explain the next few steps of the code? Is there any code you can show me that will move my MC around the stage?

    Thanks!

  2. #2
    Senior Member Robb@exo's Avatar
    Join Date
    Jun 2003
    Location
    Canada
    Posts
    1,540
    Here's a link that should help you out a great deal.
    http://www.kirupa.com/developer/actionscript/tween.htm

    HTH.
    Wile E. Coyote - "Clear as mud?"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center