PDA

View Full Version : Weird problem with Flash and Coldfusion


pan69
05-29-2005, 11:57 AM
I'm just playing around with Flash MX 2004 and Coldfusion MX 7 using Flash Remoting but I came accross a weird problem.

I'm calling just a simple helloWorld function and that seems to be working OK when I test the swf from within the Flash IDE. But when I run the swf in a browser (or as an projector) weird things start to happen. I've created a button which creates a service and them calls the ColdFusion method. When clicking the button from within the Flash IDE it generates lots of requests, this is OK behaviour. But when I run the swf in a browser I can only call the service once. The funny thing is, if you click the button twice very quickly, when running in the browser, there are two requests.

If someone could take a look?

BTW: I'm running Apache httpd so I've include the .cfm located in the htdocs folder.

pan69
06-03-2005, 12:50 PM
Apperantly there's a bug in CFMX7 cousing the problem. The problem to fix it is to add a ? to the url defining the Flash Remoting gateway.