AS3 New Document Class


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

This is a handy starting point when creating a new DocumentClass.

This is also available from Lee Brimelow's Snippets Panel ...

New Snippets Panel Extension for Flash CS3!
http://theflashblog.com/?p=336

Flash CS3 Snippets Panel Updated
http://theflashblog.com/?p=346


Copy this code and paste it in your HTML
  1. package
  2. {
  3. import flash.display.MovieClip;
  4.  
  5. public class DocumentClass extends MovieClip
  6. {
  7.  
  8. public function DocumentClass():void
  9. {
  10.  
  11. }
  12.  
  13. }
  14.  
  15. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.