Return to Snippet

Revision: 18890
at October 11, 2009 13:09 by chrisaiv

Initial Code
	import flash.display.Sprite;

	[SWF(width="448", height="445", backgroundColor="#000000", framerate="15")]
	public class Main extends Sprite
		public function Main()			

Initial URL

Initial Description
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.

Initial Title
Flash: Adding Compiler Settings using AS3 Params

Initial Tags

Initial Language
ActionScript 3