Just found out that you can no longer bind FROM a spark label's text TO some 
other object.  With MX components, this could be done.  Looking at the Adobe 
code, seems like they removed (or forgot) the binding on the text property for 
Spark.   Is there a reason for this change, or is this a bug?  This is with the 
4.6 SDK.

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:mx="library://ns.adobe.com/flex/mx" 
minWidth="955" minHeight="600">
       <s:Label id="result" x="338" y="312" text="{lblTest.text}"/>   
<!-Compiler Warning about binding -->
       <s:Label id="result2" x="338" y="354" text="{lblTest2.text}"/> <!-WORKS 
-->

       <s:Label id="lblTest" x="326" y="117" text="Hello"/>
       <mx:Label id="lblTest2" x="319" y="189" text="World"/>
</s:Application>


[cid:image001.png@01CD4B0B.C7B4A2C0]

[cid:image002.png@01CD4B0B.C7B4A2C0]



Michael J. Regert

<<inline: image001.png>>

<<inline: image002.png>>

Reply via email to