After Googling Flash Remote Services for days, I finally got it to work locally
on my desktop using examples using localhost (example: var myService = new
WebService("http://localhost:8500/totalscript_site/A_Test.cfc?wsdl")).
My happiness was short lived. I figured in order to publish to the WWW, all I
needed to do was simply change my WebService http code from localhost to my WWW
http address (var myService = new
WebService("http://www.totalscript.com/newsite/aStatets.cfc?wsdl");. This
would be too simple and yes it failed.
Once I published my .SWF to the WWW, a blank page appeared where a datagrid
filled with data should appear (it works fine using the localhost:8500). Any
ideas what I may be missing? Please help
Thank you
nboss - 08 Jan 2008 00:23 GMT
What was your solution to this? I am having the EXACT same problem (i know this is an old post) but any help is appreciated.
Flash MX 2004 professional
GoAlexFlo - 11 Jan 2008 02:31 GMT
No luck yet. I had to put the remoting aspect of my website on hold. I had bigger fish to fry. I was hoping this would be resolved by now. If anyone out there has a solution please reply.
GoAlexFlo - 11 Jan 2008 03:24 GMT
GOT IT!
Within your Flash Publish Setting do the following:
- Click on the Flash Tab
- Click on Settings
- Add the following Classpath: C:\Program Files\Macromedia\Flash 8\en\First
run\WebServices\WSDL
Publish it and you're done!