/ Published in: ActionScript 3
Make sure you put the SWF Metadata AFTER any import statements.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
package { import flash.display.Sprite; [SWF(width='800', height='600', backgroundColor='#ffffff', framerate='25')] public class Test extends Sprite { public function Test() { } } }
URL: http://www.adrianparr.com/?p=36