Re: [flexcoders] How to refresh a component
eish, the tree ion flex 1.5. anyway after creating treeNodes using the treeNode model classes and dispatching the modelChanged event i founf the tree is not always updated. its somewhere in this archive. the approach i then took was to take a peice of xml, alter that and reset the dataprovider when its changed. ugly, horrid but at least extremely consistant in how it updates. On 3/17/06, Rich Rodecker <[EMAIL PROTECTED]> wrote: oops, i didnt realize this was flex question (i get all my mailinglists sent to gmail).On 3/17/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:> call invalidate() on the component, that will mark it to be redrawn on > the next frmae.>> On 3/17/06, digital_eyezed <[EMAIL PROTECTED]> wrote:> > Hi,> >> > I have a tree component with which I change the label dynamically > > through a label function. The labelfunction works fine when the tree> > loads, but if a change the value of the the reference to this> > labelfunction the value of the tree label doesn't change. > >> > However, the label does change when I move my mouse over it.> >> > Is there any way I can make this happen immediately?> >> > Cheers,> >> > Iain > >> >> >> >> >> > --> > Flexcoders Mailing List> > FAQ:> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> > Search Archives:> > http://www.mail-archive.com/flexcoders%40yahoogroups.com > >> >> >> >> > SPONSORED LINKS> > Web site design development Computer software development Software design> > and development> > Macromedia flex Software development best practice > >> > > > YAHOO! GROUPS LINKS> >> >> > Visit your group "flexcoders" on the web.> >> > To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED]> >> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.> > > > > >>--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/ -- j:pn http://www.lennel.org -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] How to refresh a component
ExecuteBindings doesn’t come into this. This is 1.5 I assume? Look at the TreeDataProvider API and make sure you update the property of the node using those methods. Otherwise the Tree isn’t aware that one of its nodes has changed. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner Sent: Friday, March 17, 2006 11:41 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How to refresh a component would executeBindings() apply to how the labelFunction is used? On 3/17/06, digital_eyezed <[EMAIL PROTECTED] > wrote: Hi, I have a tree component with which I change the label dynamically through a label function. The labelfunction works fine when the tree loads, but if a change the value of the the reference to this labelfunction the value of the tree label doesn't change. However, the label does change when I move my mouse over it. Is there any way I can make this happen immediately? Cheers, Iain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] How to refresh a component
oops, i didnt realize this was flex question (i get all my mailing lists sent to gmail). On 3/17/06, Rich Rodecker <[EMAIL PROTECTED]> wrote: > call invalidate() on the component, that will mark it to be redrawn on > the next frmae. > > On 3/17/06, digital_eyezed <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have a tree component with which I change the label dynamically > > through a label function. The labelfunction works fine when the tree > > loads, but if a change the value of the the reference to this > > labelfunction the value of the tree label doesn't change. > > > > However, the label does change when I move my mouse over it. > > > > Is there any way I can make this happen immediately? > > > > Cheers, > > > > Iain > > > > > > > > > > > > -- > > Flexcoders Mailing List > > FAQ: > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Search Archives: > > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > > > > > > SPONSORED LINKS > > Web site design development Computer software development Software design > > and development > > Macromedia flex Software development best practice > > > > > > YAHOO! GROUPS LINKS > > > > > > Visit your group "flexcoders" on the web. > > > > To unsubscribe from this group, send an email to: > > [EMAIL PROTECTED] > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/
Re: [flexcoders] How to refresh a component
would executeBindings() apply to how the labelFunction is used?On 3/17/06, digital_eyezed <[EMAIL PROTECTED] > wrote:Hi,I have a tree component with which I change the label dynamically through a label function. The labelfunction works fine when the treeloads, but if a change the value of the the reference to thislabelfunction the value of the tree label doesn't change.However, the label does change when I move my mouse over it. Is there any way I can make this happen immediately?Cheers,Iain--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. 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] How to refresh a component
call invalidate() on the component, that will mark it to be redrawn on the next frmae. On 3/17/06, digital_eyezed <[EMAIL PROTECTED]> wrote: > Hi, > > I have a tree component with which I change the label dynamically > through a label function. The labelfunction works fine when the tree > loads, but if a change the value of the the reference to this > labelfunction the value of the tree label doesn't change. > > However, the label does change when I move my mouse over it. > > Is there any way I can make this happen immediately? > > Cheers, > > Iain > > > > > > -- > Flexcoders Mailing List > FAQ: > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > SPONSORED LINKS > Web site design development Computer software development Software design > and development > Macromedia flex Software development best practice > > > YAHOO! GROUPS LINKS > > > Visit your group "flexcoders" on the web. > > To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/
[flexcoders] How to refresh a component
Hi, I have a tree component with which I change the label dynamically through a label function. The labelfunction works fine when the tree loads, but if a change the value of the the reference to this labelfunction the value of the tree label doesn't change. However, the label does change when I move my mouse over it. Is there any way I can make this happen immediately? Cheers, Iain -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/