Yep,
Good stuff had to change the CFC to return an array, as the flash object was trying to display an array but it was returning a string, got it to successfully return and display the array. Thanks heaps, I might try to post the result and let everyone see how their brain is performing. Regards Dale Fraser http://dale.fraser.id.au _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Onnis Sent: Thursday, 16 November 2006 9:45 PM To: [email protected] Subject: [cfaussie] Re: Flash Remoting It should have unpacked into its own directory so that should have worked unless you put everything into the root of the domain, in which case yes, you would have had to make that change The advantage of doing it the way my example shows is that you can use the same result handler and service object for multiple calls, otherwise you need a service and result handler set for every call you make _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Thursday, 16 November 2006 9:40 PM To: [email protected] Subject: [cfaussie] Re: Flash Remoting Worked it out, changed the remoting_sample.myCfc to just myCFC, makes sense. Thanks Steve, nice and simple. Regards Dale Fraser http://dale.fraser.id.au _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Thursday, 16 November 2006 9:34 PM To: [email protected] Subject: [cfaussie] Re: Flash Remoting Ok, Getting there, installed the Flash 8 stuff and the thing compiles, very good. Got it setup on CF but still get this message result failed __type = __detail = __faultstring = Service remoting_example.myCFC not found. __faultcode = Server.ResourceNotFound In the SWF, I have it all in C:\InetPub\wwwroot which is my 127.0.0.1 root. I'm thinking there might be CF7 config stuff to allow the remoting to happen. Regards Dale Fraser http://dale.fraser.id.au _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Onnis Sent: Thursday, 16 November 2006 8:48 PM To: [email protected] Subject: [cfaussie] Re: Flash Remoting You will have to install the Remoting components into flash yes. Make sure you get the AS2 components. The components install the imported classes at the top of the action script so that when you compile the swf it can include them. After you do that, you should be able to just unpack the zip file into the root of your webroot and it should run. If you need some help let me know. Steve _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Thursday, 16 November 2006 8:29 PM To: [email protected] Subject: [cfaussie] Re: Flash Remoting Oh, And is there any CF7 config needed. Also where does the cfc go? Regards Dale Fraser http://dale.fraser.id.au _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Onnis Sent: Thursday, 16 November 2006 8:12 PM To: [email protected] Subject: [cfaussie] Re: Flash Remoting Here you go Dale Lots of love Steve :-) _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Dale Fraser Sent: Thursday, 16 November 2006 8:01 PM To: [email protected] Subject: [cfaussie] Re: Flash Remoting It's just Flash 8 -> CF7. I'm thinking it's simple, searching through lots of examples to find an example. Regards Dale Fraser http://dale.fraser.id.au _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Shane Farmer Sent: Thursday, 16 November 2006 7:41 PM To: [email protected] Subject: [cfaussie] Re: Flash Remoting Dale, Are you trying to connect CF7 and Flex through remoting or just a Flash movie? While I know nothing about either I may know of someone that is a bit of a Flash developer that may know. At least if it is clear what you are trying to do it may stop pointless replies. Shane On 11/16/06, Dale Fraser <[EMAIL PROTECTED]> wrote: Can anyone point me to a simple example of Flash remoting to CF7. I want to pass CF an array and return an array. I could pass a string and return a string if this makes it much easier. Regards Dale Fraser http://dale.fraser.id.au <http://dale.fraser.id.au/> lang=EN-US> lang=EN-US> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
