package { import flash.display.Sprite; /** * SyntAction example code * @author mattjpoole */ [SWF(width="800", height="600", backgroundColor='#FFFFFF', frameRate='30')] public class SyntActionExample extends Sprite { // example properties private var isExample:Boolean = true; public function SyntActionExample() { super() } /** * A method with block comments */ private function doExampleCode () : Boolean { // this method has inline comment try { trace( "Hello World" ); } catch ( e:Error ) { } return isExample; } } }