Re: [flexcoders] Setting Text Property of Label Control Dynamically

2005-05-02 Thread michael keirnan






it looks like you want to use data binding here. in your mxml you can
do this:



and comment out this line in your AS:

    //lblListValue.text = strSize;

if you haven't already, definitely check out the sections in the Flex
User Guide that talk about data binding for more background. the Flex
explorer sample app is also very useful to understand the building
blocks available to flex coders.

   

David Terry wrote:

  
  
  
  
  Hello Fellow Groupies,
   
  I am having an issue
with setting the text property of a
label control dynamically –the alert box displays the correct value but
for some reason the label does not.
   
  What am I doing wrong?
   
  Many thank,
  David T.
   
  










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.














Re: [flexcoders] Setting Text Property of Label Control Dynamically

2005-04-28 Thread Jeff Tapper
I'm not sure what your looking at, but as I run your code, both the label 
and alert box show the number each time i change the combo box.  What 
specifically are you looking for?

At 01:20 PM 4/27/2005, you wrote:
>Hello Fellow Groupies,
>
>I am having an issue with setting the text property of a label control 
>dynamically –the alert box displays the correct value but for some reason 
>the label does not.
>
>What am I doing wrong?
>
>Many thank,
>David T.
>
>
>
>--
>Yahoo! Groups Links
>* To visit your group on the web, go to:
>* 
> http://groups.yahoo.com/group/flexcoders/
>  
>
>*
>* To unsubscribe from this group, send an email to:
>* 
> [EMAIL PROTECTED] 
>
>*
>* Your use of Yahoo! Groups is subject to the 
> Yahoo! Terms of Service.



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/