[RSyntaxTextArea] / RSyntaxTextAreaDemo / trunk / examples / XMLExample.txt Repository:
ViewVC logotype

Diff of /RSyntaxTextAreaDemo/trunk/examples/XMLExample.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 343, Sat Oct 29 19:43:30 2011 UTC revision 344, Fri Nov 4 15:46:48 2011 UTC
# Line 1  Line 1 
1  <?xml version="1.0"?>  <?xml version="1.0"? encoding="UTF-8" ?>
2  <!-- usingas/StatementSyntax.mxml -->  <one>
3  <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="doSomething()">     <two>
4      <mx:Script><![CDATA[        <three>
5              public var s:Boolean;        </three>
6              public function doSomething():void {     </two>
7                  // The following statements must be inside a function.  </one>
                 s = label1.visible;  
                 label1.text = "label1.visible = " + String(s);  
             }  
     ]]></mx:Script>  
   
     <mx:Label id="label1"/>  
   
 </mx:Application>  

Legend:
Removed from v.343  
changed lines
  Added in v.344

Contact webmaster
ViewVC Help
Powered by ViewVC 1.0.5