[flexcoders] Binding question

2009-06-01 Thread steve horvath
I am trying to bind the checkbox selected property as written below. The value of selected should be triggered whenever currentPresentation changes or whenever albumIncluded(data) returns a different value. The checkbox is in a List itemRenderer component. ItemRenderer

[flexcoders] Binding question

2009-05-31 Thread steve horvath
I am trying to bind the checkbox selected property as written below. The value of selected should be triggered whenever currentPresentation changes or whenever albumIncluded(data) returns a different value. The checkbox is in a List itemRenderer component. ItemRenderer

[flexcoders] Binding Question - ArrayCollection/ResourceBundle

2008-12-12 Thread securenetfreedom
Is it possible to have an ArrayCollection value updated by a resource bundle value. [Bindable] public var cbDP:ArrayCollection = new ArrayCollection(); cbDP.addItem( {label:ResourceManager.getInstance().getString('myResources','NAME') }); When changing locales at runtime, all label fields of

RE: [flexcoders] Binding Question - ArrayCollection/ResourceBundle

2008-12-12 Thread Alex Harui
To: flexcoders@yahoogroups.com Subject: [flexcoders] Binding Question - ArrayCollection/ResourceBundle Is it possible to have an ArrayCollection value updated by a resource bundle value. [Bindable] public var cbDP:ArrayCollection = new ArrayCollection(); cbDP.addItem

[flexcoders] binding question?

2008-04-30 Thread markflex2007
I have two screens for testing. a) I set object values in screen 1 (for instance obj.value =abc) and go to screen 2 b) I show the value in screen 2 with binding (for instance mx:Label x=37 y=46 text={obj.value}/ and go to screen 1 it works fine when it excute first time.(from screen 1 to

RE: [flexcoders] binding question?

2008-04-30 Thread Tracy Spratt
Is obj type Object? Dynamic Object properties are not bindable. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Wednesday, April 30, 2008 2:41 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] binding

Re: [flexcoders] binding question?

2008-04-30 Thread Mark Shen
obj is a instance of VO(value object), do you think if the binding is ok? Thank Mark - Original Message From: Tracy Spratt [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 30, 2008 3:19:33 PM Subject: RE: [flexcoders] binding question? Is “obj” type “Object

RE: [flexcoders] binding question?

2008-04-30 Thread Tracy Spratt
Not if the VO is a dynamic object. What is it? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Shen Sent: Wednesday, April 30, 2008 3:21 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] binding question? obj

Re: [flexcoders] binding question?

2008-04-30 Thread Mark Shen
I change the obj to static. problem fixed.Thanks Mark - Original Message From: Tracy Spratt [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 30, 2008 4:17:34 PM Subject: RE: [flexcoders] binding question? Not if the VO is a dynamic object. What is it? Tracy

[flexcoders] Binding question

2007-10-25 Thread dbronk
I'm having problems with a binding issue. I'll dumb down my component a bit in hopes to make this easier. I have a component, MyComponent, based on Canvas. This Canvas has objects placed around in it and some effects base on what the user clicks. The dynamic part is that there is one spot in

[flexcoders] Binding question

2006-02-22 Thread Alberto Albericio Salvador
Hi all, I dont know why, but the Flex compiler alerts some error when I try to use binding with 2 arguments: mx:VBox visible={someCombo.selectedIndex != 0 someOtherCombo.selectedIndex != 0} ... /mx:VBox And the error is : The entity name must immediately follow the '' in the entity

[flexcoders] Binding question

2005-09-06 Thread Alberto Albericio Salvador
Hi all, When I bind a text label to the first position of an array like this : mx:Label text={ ModelLocator.SOMEARRAY[0] } / The text shows the first item of the array correctly. When I add a new item to the array, the text of the label does not change so it seems the binding is not really

Re: [flexcoders] Binding question

2005-09-06 Thread Alberto Albericio Salvador
I forgot to mention Im adding items at the beginning of the array, at position 0. So the ModelLocator.SOMEARRAY[0] is always the last item added. Alberto Albericio Salvador escribió: Hi all, When I bind a text label to the first position of an array like this : mx:Label text={

RE: [flexcoders] Binding question

2005-09-06 Thread Abdul Qabiz
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alberto Albericio Salvador Sent: Tuesday, September 06, 2005 8:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Binding question Hi all, When I bind a text label to the first position of an array like this : mx:Label text

Re: [flexcoders] Binding question

2005-09-06 Thread Alberto Albericio Salvador
To: flexcoders@yahoogroups.com Subject: [flexcoders] Binding question Hi all, When I bind a text label to the first position of an array like this : mx:Label text={ ModelLocator.SOMEARRAY[0] } / The text shows the first item of the array correctly. When I add a new item to the array, the text

Re: [flexcoders] Binding question

2005-09-06 Thread Manish Jethani
On 9/6/05, Abdul Qabiz [EMAIL PROTECTED] wrote: If you look at this link of Flex Documentation: http://livedocs.macromedia.com/flex/15/flex_docs_en/0695.htm You will find the following in the end: Note: Array elements do not trigger ChangeEvents and, therefore, cannot function as

Re: [flexcoders] Binding question

2005-03-23 Thread Matthew Shirey
You just hit on a problem I had a week ago. It looks like the wsdl attribute cannot be set at runtime. I even tried doing it in actionscript with no luck. This is problematic for me because I want to be able to declare all of my web service urls globally so they can be changed easily. I