Flash 9 Document Class Template


/ Published in: ActionScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. package{
  2.  
  3. import flash.display.MovieClip;
  4.  
  5. public class MainController extends MovieClip
  6. {
  7.  
  8. /*#################################
  9. ## References ##
  10. #################################*/
  11.  
  12.  
  13.  
  14. /** -----------------------------------------------------------
  15. * Constructor
  16. * -----------------------------------------------------------
  17. */
  18. public function MainController()
  19. {
  20. trace ("Document Class Loaded");
  21.  
  22. /*#################################
  23. ## References ##
  24. #################################*/
  25.  
  26.  
  27. /*#################################
  28. ## Initial Calls ##
  29. #################################*/
  30. initialize();
  31. };
  32.  
  33.  
  34.  
  35. /** -----------------------------------------------------------
  36. * Properties
  37. * -----------------------------------------------------------
  38. */
  39.  
  40.  
  41. /** -----------------------------------------------------------
  42. * Public Methods
  43. * -----------------------------------------------------------
  44. */
  45.  
  46.  
  47. /** -----------------------------------------------------------
  48. * Private Methods
  49. * -----------------------------------------------------------
  50. */
  51. private function initialize():void{
  52.  
  53. };
  54.  
  55. /** -----------------------------------------------------------
  56. * Event Methods
  57. * -----------------------------------------------------------
  58. */
  59.  
  60.  
  61. }
  62.  
  63. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.