Tween Import : AS2 and AS3

I like to use code to handle basic animations like fades and sliding assets in. When you want to use the Tween class to add scripted motion to your projects, you’ll need to import these first.

Actionscript 2

import mx.transitions.Tween;
import mx.transitions.easing.*;

Actionscript 3

import fl.transitions.Tween;
import fl.transitions.easing.*;

For tween methods click here.

Bookmark and Share

About this entry