Create a New Flex Project in a Flex Builder with Application type “None”.
Then MXML file will be opened and ready to start.
Go to Design View
Drag a Button from the Flex Component.
Change the label of the Button and add click event to the button using the function name.
Add a simple script in Flex code View.
Code looks like this,
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”absolute”>
private function show():void
<mx:Button x=”271″ y=”89″ label=”Click Me” click=”show()”/>
Now,here is the actual problem arise.
But its quite simple,here it is.
In your Flex Project,you have a directory called “html-template”.
In that you will have “index.template.html”.
Thats it all done.