6 Replies Latest reply on Apr 12, 2010 1:11 PM by Jason San Jose

    Design view doesn't render local variables as a parameter to a UIComponent

    rfoliveira2

      I created a new mxml application with the following code:

       

      <mx:Script>
           <![CDATA[
                private var message:String = "My Message";
           ]]>
      </mx:Script>
      <mx:Text text="{message}"/>

      When I click on the Design tab, it shows the text {message}.
      But, I would like to see the text My Message instead.