Falcon: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
Line 14: Line 14:
This is how to build a HelloWorld.
This is how to build a HelloWorld.


<code>
<pre>
package
package
{
{
Line 32: Line 32:


}
}
}</code>
}
</pre>

Revision as of 20:30, 27 March 2013


Requirements

Notes

  • Insure Java /bin folder is in system environment path
  • Manually set {playerglobalHome} to swc directory

HelloWorld

This is how to build a HelloWorld.

package
{

	import flash.display.Sprite;
	import flash.text.TextField;

	public class HelloWorld extends Sprite
	{

		public function HelloWorld()
		{
			var txt:TextField = new TextField();
			txt.text = "HelloWorld";
			addChild(txt);
		}

	}
}