/ Published in: ActionScript 3
For those of us who dislike having to set Width, Height, Background Color, and Frame Rate in Stage Properties, here's an easy way to provide those Params in your Main ActionScript file.
Expand |
Embed | Plain Text
package { import flash.display.Sprite; [SWF(width="448", height="445", backgroundColor="#000000", framerate="15")] public class Main extends Sprite { public function Main() { } } }
You need to login to post a comment.
