Flex + custom component + design-time + binding -


i'm trying create simple custom component 2 labels mxml:

<mx:canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="250" height="30">      <mx:string id="result" />      <mx:label x="5" y="7" id="titlelabel" text="{label}" width="120"/>     <mx:label x="125" y="7" id="resultlabel" text="{result}" width="120" textalign="right" color="#a41d00"/>  </mx:canvas> 

it working @ runtime, bud have troubles making working @ design-time. how can make databinding work @ design time? if impossible, how should code label text assignements?

try text={data.label} , text={data.result} instead of mere label , result.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -