I off-lined you some stuff, lemme know if you have any ?'s before Micha makes you google it ;)
---------------------------------------- From: "Bryan Stevenson" <[EMAIL PROTECTED]> Sent: Thursday, April 14, 2005 5:02 PM To: CF-Talk <cf-talk@houseoffusion.com> Subject: Re: CF 7 and Flash Remoting Thanks Chris....here's the error: **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 13: The class 'ResultEvent' could not be loaded. onResult = function(event:ResultEvent) **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 18: The class 'FaultEvent' could not be loaded. onFault = function(event:FaultEvent) I'm just not sure what my gateway URL should be What I do know: 1) CFMX 7 on JRun 2) running this on localhost 3) CFIDE etc. is in D:\web 4) Jrun4 is in D:\Jrun4 So my webroot is in D:\web Any ideas? Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ----- Original Message ----- From: "Chris Kief | Mindflood" To: "CF-Talk" Sent: Thursday, April 14, 2005 1:40 PM Subject: Re: CF 7 and Flash Remoting > Simple hello world example. Create a new fla, stick this on frame 1: > > import mx.remoting.*; > import mx.remoting.debug.*; > import mx.rpc.*; > import mx.services.*; > > responder = new RelayResponder(this, "onResult", "onFault"); > service = new Service("http://127.0.0.1:8100/flashservices/gateway/", > null, > "helloWorld", null, responder); > service.sayHello(); > > onResult = function(event:ResultEvent) > { > trace(event.result); > } > > onFault = function(event:FaultEvent) > { > trace("FAULT CODE: " + fault.fault.faultcode); > trace("FAULT STRING: " + fault.fault.faultstring); > trace("DESCRIPTION: " + fault.fault.description); > trace("TYPE: " + fault.fault.type); > trace("DETAIL: " + fault.fault.detail); > } > > Make sure to change the gateway URL to your setup. Here's the CFC: > > > > > > > > chris > > > + Chris Kief > Mindflood, Inc. > 714.557.2488 x113 > > www.mindflood.com > > > > On 4/14/05 1:35 PM, "Bryan Stevenson" > wrote: > >> That would be great Chris....damn MM should update their sample apps...or >> at >> least warn ya!! ;-) >> >> Bryan Stevenson B.Comm. >> VP & Director of E-Commerce Development >> Electric Edge Systems Group Inc. >> phone: 250.480.0642 >> fax: 250.480.1264 >> cell: 250.920.8830 >> e-mail: [EMAIL PROTECTED] >> web: www.electricedgesystems.com >> ----- Original Message ----- >> From: "Chris Kief | Mindflood" >> To: "CF-Talk" >> Sent: Thursday, April 14, 2005 1:25 PM >> Subject: Re: CF 7 and Flash Remoting >> >> >>> Brian, >>> >>> Since you're using the AS2 classes, you no longer #include NetServices. >>> There is a whole new approach. >>> >>> >>> I'll send a simple example in a minute... >>> >>> chris >>> >>> >>> + Chris Kief >>> Mindflood, Inc. >>> 714.557.2488 x113 >>> >>> www.mindflood.com >>> >>> >>> >>> On 4/14/05 1:18 PM, "Bryan Stevenson" >>> wrote: >>> >>>> NetServices.as: File not found. is the error >>>> >>>> var server = >>>> NetServices.createGatewayConnection("http://127.0.0.1/flashservices/gateway" >>>> ); >>>> Is probably the line that needs to be fixed up?? >>>> >>>> I haven't touched remoting in over a year....I know this is where I had >>>> trouble before. >>>> >>>> I've got Flash MX 2004 Pro installed with ActionScript 2.0 Flash >>>> Remoting >>>> Components and the UI component set 2. >>>> >>>> I'm trying to fire up the Noteboard tutorial from MMs site. >>>> >>>> Any thoughts? >>>> >>>> Cheers >>>> >>>> Bryan Stevenson B.Comm. >>>> VP & Director of E-Commerce Development >>>> Electric Edge Systems Group Inc. >>>> phone: 250.480.0642 >>>> fax: 250.480.1264 >>>> cell: 250.920.8830 >>>> e-mail: [EMAIL PROTECTED] >>>> web: www.electricedgesystems.com >>>> >>>> >>> >>> >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202907 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54