Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
rwtemple #1
Data Binding in Flex 3 Broken?
I just upgraded to Flex 3. What a disaster:
This used to work in Flex 2:
private var mState:int = 0;
[Bindable]
public function get state():int {
return mState;
}
private function set state(value:int):void {
sLog.debug("state = {0}", ControllerState.toString(value));
mState = value;
}
...
BindingUtils.bindSetter(onControllerStateChanged, mController, "state");
In Flex 2, my function gets called everytime state is changed. In Flex 3, my
function gets called when I call bindSetter, but never again does it get called.
Anyone have any ideas? Do I switch back to Flex 2?
Thanks,
Robert Temple
Sr. Director ESPN.com
Developing Rich Internet Applications since 1995.
rwtemple Guest
-
Flex Builder 3 unable to disable binding warnings
Hello as mentioned in the title i'm trying to get rid of the binding warnings in the console output, so as mentioned in the docs i added... -
why starting to flex debug it will auto-jump the binding.as
why starting to flex debug it will auto-jump the binding.as -
Example of Binding XML to a DataGrid in Flex
The following code binds a simple XML string that is retrieved through the HTTPService using ColdFusion. ColdFusion could be replaced in this case... -
Complex data binding question, binding child objects of a custom collection.
I have a custom collection of objects, each of which includes a child object called MyUserOpener. In declarative binding, I can bind this property... -
flex actionscript profiler broken
I was having the same problem getting the profiler to run under the integrated JRUN server so I finally tried my other application server and the... -
peterent #2
Re: Data Binding in Flex 3 Broken?
Try changing your function from private to public.
peterent Guest
-
rwtemple #3
Re: Data Binding in Flex 3 Broken?
I tried a number of things before posting here. Changing the stetter to public was one of the first and that didn't help.
rwtemple Guest



Reply With Quote

