The tween transition class is imported.
import
mx.transitions.Tween;
All the easing transitions are imported to the
........
import mx.transitions.easing.*;
A new tween is contructed named "xPositionT" and defined
using the tween class syntax:
Tween (object name, property, ease class, ,,,).
var xPositionT:Tween = new Tween(my_mc, "_x",
Strong.easeOut, -50, 400, 2, true); |