Projects - Flex Builder - Button Application

This basic button application simply displays a button with text on it. It is a non functional button at this stage.
It is written in .mxml and compiled into a button.swf file.
The button.swf file is then embedded in the web page using the html 'object' tag.

mxml code:

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" horizontalAlign="center" verticalAlign="middle"> <mx:Button id="myButton" label="I'm a button!" /> </mx:Application>

html code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="button"> <param name="movie" value="button.swf" /> <param name="quality" value="high" /> <embed src="button.swf" quality="high" type="application/x-shockwave-flash" </embed> </object>