first I created a shape and converted it to symbol with Export for action script ticked. And the deleted shape from stage and used this code
code:
import flash.display.MovieClip;
var ship:MovieClip = new Ship ();
ship.x=275
ship.y=200
addChild(ship);
No comments:
Post a Comment