Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <js:Application>
- <fx:Declarations>
- <js:HTTPService id="stocks"/>
- <js:HTMLElement id="myButton" click="buttonHandler()"/>
- </fx:Declarations>
- <fx:Script>
- <![CDATA[
- public function buttonHandler():void {
- alert("hello world");
- }
- ]]>
- </fx:Script>
- <js:HTMLPassthrough>
- <![CDATA[
- <div>
- <button id="myButton"/>
- </div>
- ]]>
- </js:HTMLPassthrough>
- </js:Application>
Advertisement
Add Comment
Please, Sign In to add comment