Advertisement
Guest User

Direct export of named HTML elements in MXML

a guest
Oct 25th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 0.66 KB | None | 0 0
  1. <js:Application>
  2.  
  3.     <fx:Declarations>
  4.         <js:HTTPService id="stocks"/>
  5.     </fx:Declarations>
  6.    
  7.     <fx:Script>
  8.         <![CDATA[
  9.            public function buttonHandler():void {
  10.                var output:String = "hello world";
  11.                alert("hello world");
  12.            }
  13.        ]]>
  14.     </fx:Script>
  15.    
  16.    
  17.     <js:Body style="width:100%;height:100%">
  18.        
  19.         <js:Button id="myButton" click="buttonHandler()"/>
  20.        
  21.         <js:Division style="display:display-inline;bottom:20px:right:20px">
  22.             <js:Label text="Made in FlexJS"/>
  23.         </js:Division>
  24.        
  25.         <js:HTMLElement type="input" >text</js:HTMLElement>
  26.        
  27.     </js:Body>
  28.  
  29.  
  30. </js:Application>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement