Guest User

Untitled

a guest
Jun 20th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. package {
  2. import flash.display.MovieClip;
  3.  
  4.  
  5. public class Subject extends MovieClip
  6. {
  7. private var _movieclip:MovieClip;
  8.  
  9.  
  10. public function Subject()
  11. {
  12. _movieclip = new MovieClip();
  13. init();
  14. }
  15.  
  16. public function init() //if this method will be runed only inside class it should be private not public
  17. {
  18. trace('created');
  19. }
  20. }
Add Comment
Please, Sign In to add comment