Guest User

Untitled

a guest
Jun 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. package {
  2. import flash.display.MovieClip;
  3. import flash.display.Sprite;
  4.  
  5. /**
  6. * ...
  7. * @author Aksel
  8. */
  9. public class Planet extends Sprite{
  10. private var vv:MovieClip;
  11. public function Planet(r:int = 10, gfx:MovieClip, framepos:int=1):void {
  12. vv = gfx;
  13. gfx.gotoAndStop(framepos);
  14. x = -gfx.width/2;
  15. y = -gfx.height / 2;
  16. addChild(gfx);
  17. }
  18.  
  19. }
  20.  
  21. }
Add Comment
Please, Sign In to add comment