trace("My objects's name is " + _root.myObject; import flash.display.MovieClip; // set some properties var xPosition:Number = 100; var yPosition:Number = 200; var myAlpha:Number = 0.5; // create an instance of the object var myMovingObject:MovieClip = new MyMovingObject(); addChild( myMovingObject ); // assign the properties to the object myMovingObject.x = xPosition; myMovingObject.y = yPosition; myMovingObject.alpha = myAlpha; include "moveMyClip.as"; stop(); addEventListener (Event.ENTER_FRAME, enterFrameHandler ); function enterFrameHandler (evt:Event):void { myMovingObject.x += 1; }