I think i understand. I did this: <mx:RemoteObject id="cfc_ro" destination="ColdFusion" source="remotingExample" showBusyCursor="true" endpoint="http://demo.dev/flashservices/gateway">
but i get an error. TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] to mx.messaging.messages.ErrorMessage. Looks like the fault attribute is kicking in and it cannot convert the error to text. --- In [email protected], "Clint Tredway" <[EMAIL PROTECTED]> wrote: > > Ya, you would need to use the endpoint, not the source to point it to > another url. > > On 21 Mar 2007 13:20:04 -0700, Peter Farland <[EMAIL PROTECTED]> wrote: > > > > Hmm, really? I don't think that is correct. > > > > The source attribute is only used by the gateway to locate a CFC using a > > logical mapping to directories/cfcs based on the package.leafname. > > > > Are you mistaking this with the endpoint attribute which specifies the > > location of the gateway? > > > > Pete > > > > ------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > > Behalf Of *rchadgray > > *Sent:* Wednesday, March 21, 2007 3:39 PM > > *To:* [email protected] > > *Subject:* [flexcoders] Re: flash remoting > > > > I have it figured out now. I found an article by Mike Chambers on > > flash remoting that explained things more. > > > > http://www.adobe.com/devnet/coldfusion/articles/startremoting.html > > > > I got it working now. I had the cfc in the root of the site so i had > > to chance the source on the RemoteObject tag to: > > > > source="remotingExample" > > > > Now if this were an apollo app would and the app was running over on > > another computer somewhere. Would i just need to change source to: > > > > source="http://demo.dev/remotingExample" > > > > Thanks again Clint! I am learning slowly! > > > > > > > > > > -- > http://indeegrumpee.spaces.live.com/ >

