Re: [flexcoders] Flex and CF (or how ActionScript is making me want to cry)

2006-11-28 Thread Eric Fleming
Thank greg, that 2nd link was exactly what I needed, just couldn't find it. Thanks again. On 11/27/06, greg h [EMAIL PROTECTED] wrote: Eric, Just add an id= property on the mx:RemoteObject tag. The value on the id property is the instance name that you can then reference in your AS code.

[flexcoders] Flex and CF (or how ActionScript is making me want to cry)

2006-11-27 Thread Stephen Adams
Hi, I'm trying to get my head around using Flex with ColdFusion, but I'm really getting stuck with how Flex works with CF. I'm trying to create a application which has several forms in which the user enters, save and update user details, simple stuff really. I can create the CF code (using

Re: [flexcoders] Flex and CF (or how ActionScript is making me want to cry)

2006-11-27 Thread Tom Chiverton
On Monday 27 November 2006 15:32, Stephen Adams wrote: 3. Call the CF Gateway using mx:RemoteObject 4. Then link the results of the methods to the layout (this is the bit I'm lost at, passing data back and forth to CF methods) What you get back from RemoteObject is whatever your CFC

Re: [flexcoders] Flex and CF (or how ActionScript is making me want to cry)

2006-11-27 Thread Ben Densmore
Hi Stephen, you pretty much have it. Steps 1 and 2 can be done in any order. You can do your Flex layout first if you want and then write your CF code or vice versa, that part doesn't really matter. I'm not sure what your trying to bind your data to but say you had a datagrid that you wanted

Re: [flexcoders] Flex and CF (or how ActionScript is making me want to cry)

2006-11-27 Thread Eric Fleming
A bit of a change of subject, but how would I call the remoteobject tag in actionscript? mx:RemoteObject method=myMethod result=myMethodResult(event) fault= Alert.show(event.fault.message) / In AS3? On 11/27/06, Ben Densmore [EMAIL PROTECTED] wrote: Hi Stephen, you pretty much have it.