Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package {
- import flash.display.MovieClip;
- import flash.display.Sprite;
- /**
- * ...
- * @author Aksel
- */
- public class Planet extends Sprite{
- private var vv:MovieClip;
- public function Planet(r:int = 10, gfx:MovieClip, framepos:int=1):void {
- vv = gfx;
- gfx.gotoAndStop(framepos);
- x = -gfx.width/2;
- y = -gfx.height / 2;
- addChild(gfx);
- }
- }
- }
Add Comment
Please, Sign In to add comment