6 Replies Latest reply on Aug 30, 2011 10:07 AM by whitefinger

    Is it possable to referrance a spark object datavalue to variable!

    whitefinger Level 1

      ok i have a spark label which shows a users ID and i want to use this ID value to pass back to another componant


      <s:Label includeIn="normal" x="86" y="7" id="IdNumber" text="{data.ID}" visible="true"/>


      So im trying to connect the above to this


                  [Bindable] public static var ClientsId:String = "{data.ID}";    


      So i can call the ClientsId from another Componant. i have tryed using the id of the property id="IdNumber" but unless im writing it wrong that didnt work any ideas anyone? please