RE: [flexcoders] Binding problems after update to 3.1

2008-11-11 Thread Alex Harui
Can you create a small example of the problem and post it? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Pearce Sent: Tuesday, November 11, 2008 4:33 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Binding problems after update to 3.1 It turns out many

RE: [flexcoders] Binding problems after update to 3.1

2008-11-11 Thread Mike Pearce
lf Of Mike Pearce Sent: Tuesday, November 11, 2008 3:43 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Binding problems after update to 3.0.1 After setting up FB to use the 3.0 SDK everything is fine again. Would be interested to hear if anyone else has experienced this issue wit

RE: [flexcoders] Binding problems after update to 3.0.1

2008-11-10 Thread Mike Pearce
, November 11, 2008 2:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Binding problems after update to 3.0.1 Hi all, Anyone else run into issues after installing the 3.0.1 update? Some simple bindings are no longer working in one of my projects. If I compile on another machine that

[flexcoders] Binding problems after update to 3.0.1

2008-11-10 Thread Mike Pearce
Hi all, Anyone else run into issues after installing the 3.0.1 update? Some simple bindings are no longer working in one of my projects. If I compile on another machine that has not been updated, the project works fine. Anyone got any info on this? Or know how to uninstall the update?

Re: [flexcoders] binding problems

2008-04-21 Thread grimmwerks
Fantastic - it works. Now - just wondering - is there a way of binding to an array of objects with a filter - ie using a numeric stepper to control an object in array with a type of 'blue' or something?z

Re: [flexcoders] binding problems

2008-04-20 Thread grimmwerks
Weird - this DOES work: value="{CircleData.getInstance().currentCircleArray[0].percent}" change="{CircleData.getInstance().currentCircleArray[0].percent = num.value }" maximum="100"/> where as I'm flagged that the square brackets don't work. Any idea how to make a buttons x/y in it's cent

Re: [flexcoders] binding problems

2008-04-20 Thread grimmwerks
Ok - well I've created a Circle class that is entirely bindable. I've: package scribe { import mx.controls.Alert; [Bindable] public class Circle { public var percent:Number; public var x:Number; public var y:N

Re: [flexcoders] binding problems

2008-04-20 Thread Doug McCune
yeah, you have the right idea, VO just means Value Object (sorry, too many business apps start to make you talk funny), and I only meant create a specific class that has the correct bindable properties. So a class called Circle that has a bindable property for percent (and any of the others that wo

Re: [flexcoders] binding problems

2008-04-20 Thread grimmwerks
Doug, thanks for weighing in, it's appreciated. I'm sorry - don't understand the VO class reference - I'm assuming that you're just making up a class named VO, right? So I should create this Class that has the properties I want and push them into the array? It gets hairier actually - orig

Re: [flexcoders] binding problems

2008-04-20 Thread grimmwerks
But that's just casting - I can't think that would have a huge problem where it wouldn't work. I'm just not sure if a) I want to use some sort of Model or b) the binding utils On Apr 20, 2008, at 10:29 PM, Josh McDonald wrote: I think you want: "{ rep.currentItem.x }" rather than "{ Nu

Re: [flexcoders] binding problems

2008-04-20 Thread Doug McCune
You're creating a bindable Array that is full of non-bindable Objects. Since your Array is bindable you would be able to bind to the Array itself, and bindings would get fired when the Array changes (ir you do something like objs = new Array()). But inside that Array are simple Objects that are no

Re: [flexcoders] binding problems

2008-04-20 Thread Josh McDonald
I think you want: "{ rep.currentItem.x }" rather than "{ Number(rep.currentItem.x) }" -J On Mon, Apr 21, 2008 at 12:18 PM, grimmwerks <[EMAIL PROTECTED]> wrote: > Could someone PLEASE point out what I'm doing wrong in the following? I > want to bind a numeric stepper to a certain size and h

[flexcoders] binding problems

2008-04-20 Thread grimmwerks
Could someone PLEASE point out what I'm doing wrong in the following? I want to bind a numeric stepper to a certain size and have it changed live; I'm trying to change the scale of these buttons to the numeric steppers; here's a test: --- http://www.adobe.com/2006/mxml"; width="100%