Posted By

wintondeshong on 08/06/07


Tagged

class textmate actionscript document


Versions (?)

Flash 8 Document Class


 / Published in: ActionScript
 

  1. dynamic class classes.MainController extends MovieClip
  2. {
  3. /** -----------------------------------------------------------
  4.   * Constructor
  5. * -----------------------------------------------------------
  6. */
  7. public function MainController(){
  8. trace("Document Class loaded");
  9. };
  10.  
  11. public static function main(target:MovieClip):Void {
  12. target.__proto__ = MainController.prototype;
  13. Function(MainController).apply(target, null);
  14. };
  15.  
  16.  
  17. /** -----------------------------------------------------------
  18. * Properties
  19. * -----------------------------------------------------------
  20. */
  21.  
  22.  
  23. /** -----------------------------------------------------------
  24. * Public Methods
  25. * -----------------------------------------------------------
  26. */
  27.  
  28.  
  29. /** -----------------------------------------------------------
  30. * Private Methods
  31. * -----------------------------------------------------------
  32. */
  33.  
  34. }

Report this snippet  

You need to login to post a comment.