AS3 SWF Metadata


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

Make sure you put the SWF Metadata AFTER any import statements.


Copy this code and paste it in your HTML
  1. package {
  2. import flash.display.Sprite;
  3.  
  4. [SWF(width='800', height='600', backgroundColor='#ffffff', framerate='25')]
  5.  
  6. public class Test extends Sprite
  7. {
  8. public function Test()
  9. {
  10.  
  11. }
  12. }
  13. }

URL: http://www.adrianparr.com/?p=36

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.