Hi tracy, where can I find some docs on taking references from childs?
Thanks.
From: Tracy Spratt tspr...@lariatinc.com
To: flexcoders@yahoogroups.com
Sent: Monday, February 16, 2009 12:20:05 AM
Subject: RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
“…set
] On
Behalf Of - -
Sent: Monday, February 16, 2009 2:20 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
Hi tracy, where can I find some docs on taking references from childs?
Thanks.
From: Tracy Spratt tspr
Perfect! Thanks again :)
From: Tracy Spratt tspr...@lariatinc.com
To: flexcoders@yahoogroups.com
Sent: Monday, February 16, 2009 3:54:22 PM
Subject: RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
Search the archives for; addChild reference array
One
: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
styleName is not a property, it is a style. You have to use setStyle();
Also, debug your loop, make sure you have a good refrence to the button.
Tracy Spratt
Lariat Services
Flex development bandwidth available
...@yahoogroups.com] On
Behalf Of - -
Sent: Sunday, February 15, 2009 4:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
Hi Tracy, I have a little more complicated situation...
My linkButtons are now created with actionScript (addChild).
I set
I have a series of 3 linkButtons.
I am able to switch the styleName of a linkButton when I click on it
as follows:
[Bindable]
private var linkButton:String = 'linkButton';
[Bindable]
private var linkButtonOff:String = 'linkButtonOff';
mx:LinkButton id=test001 label=001 styleName={linkButton}
4:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
I have a series of 3 linkButtons.
I am able to switch the styleName of a linkButton when I click on it
as follows:
[Bindable]
private var linkButton:String = 'linkButton';
[Bindable]
private var
: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
Store references to each in an Array, then loop over the array.
Tracy Spratt
Lariat Services
Flex development bandwidth available
From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On
Behalf
@yahoogroups.com
Subject: Re: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
Hi Tracy, I created an array of all the IDs of my linkButtons, can you
show me an example how to loop in the array?
Thanks.
From: Tracy Spratt tspr...@lariatinc.com
To: flexcoders
development bandwidth available
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ryan Graham
Sent: Friday, February 13, 2009 5:08 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
Hey now
@yahoogroups.com
Sent: Friday, February 13, 2009 5:08:17 PM
Subject: RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
Hey now, you knew this was in the docs… :D
http://livedocs. adobe.com/ flex/3/html/ help.html? content=03_ Language_
and_Syntax_ 16.html
HTH,
Ryan
From:flexcod...@yahoogro ups.com
= newArray(test001, test002, test003);
From: Tracy Spratt tspr...@lariatinc.com
To: flexcoders@yahoogroups.com
Sent: Friday, February 13, 2009 5:15:22 PM
Subject: RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
Yes, sailorsea, see that link.
Also, be careful
[mailto:flexcod...@yahoogroups.com] On Behalf
Of - -
Sent: Friday, February 13, 2009 5:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
Hi Tracy, I can get it to work as a var, but when I try to access the Array, I
get:
Cannot access a property or method
Thank you very much Tracy it worked :)
-David
From: Tracy Spratt tspr...@lariatinc.com
To: flexcoders@yahoogroups.com
Sent: Friday, February 13, 2009 5:49:57 PM
Subject: RE: [flexcoders] DYNAMIC LINKBUTTONS styleNames.
styleName is not a property
14 matches
Mail list logo