Movie Clip Positioning on Stage controller
Updated! Now available in Actionscript 2.0 and Actionscript 3.0. Custom built in Function for easier control of movieclip positions on the movieclip’s stage.
Usage Example
Actionscript 2.0
registerMc = [movieclipA,movieclipB]; positionMcOnStage(movieclipA,"TC"); //position myMovieclip to the top-center of your stage. positionMcOnStage(movieclipB,"BL");
Acionscript 3.0
//import the Controller class
import com.jimisulaiman.tween.*;
//initialize the controllers
var myMcController:Controller = new Controller(myMovieclip);
//tween movieclip!
myMcController.positionMcOnStage("C");
With AS3 version, you don’t need to add stage listener into the timeline/frame; Its all built-in into the class.
