AS3 Tweening

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shawn Northrop
    New Member
    • Jan 2007
    • 67

    #1

    AS3 Tweening

    I have created a movieclip reel_mc with a bunch of images lined up next to each other. This mc has a mask so only one image will be seen. I am now hoping that when i click on the button arrow_btn the mc will slide over so the next one is under the mask. After doing some research i came to the conclusion that using AS3 and the tween class would be the best approach. Heres what i have so far:

    Code:
    import fl.transitions.*;
    import fl.transitions.easing.*;
    var myTween:Tween = new Tween(reel_mc, "x", Elastic.easeOut, 0, 300, 3, true);
    This seems to be the first step as far i can tell, however, i am getting the following error: The class or interface 'fl.transitions .Tween' could not be loaded.

    If anyone could help / has any other suggestions i would appreciate it
Working...