Copy link to clipboard
Copied
For some reason I can't get Flash format cfforms to show up on my web page. Everytime I put them as format='flash' the form disappears with no error message. If I make the format='html' the non-flash elements show up. I can't figure out what is wrong. Here is just a basic form that doesn't seem to work:
<cfform action="testform.cfm" format="flash" height="300" width="300" preloader="yes">
<cfinput type="text" name="text2" value="none">
<cfinput type="button" name="" value="zero">
</cfform>
We are using CF 8 and Apache. I have also tested this on two CF 7 servers (one running Apache and the other running NT) and I got the same results.
Copy link to clipboard
Copied
In the past, when I've encountered this issue, the problem and solution centered on there not being a proper server mapping setup to the CFIDE directory.
If the CF server does not (can't find it) or cannot (permissions) get to this directory, it cannot run the scripts necessary to generate a Flash form.
Here's a link to a post on setting up mappings to CFIDE in Apache:
http://www.pickeringproduction.com/post.cfm/how-to-map-apache-virtual-hosts-to-cfide
Copy link to clipboard
Copied
craigkaminsky wrote:
If the CF server does not (can't find it) or cannot (permissions) get to this directory, it cannot run the scripts necessary to generate a Flash form.
Here's a link to a post on setting up mappings to CFIDE in Apache:
http://www.pickeringproduction.com/post.cfm/how-to-map-apache-virtual-hosts-to-c fide
A point of clarification. It is not the CF server that has to get/find the proper directories in the CFIDE folder. It is the browser. With these features, such as the Flash forms, CF is going to deliver a URL to the necessary associated swf, js, ect files that the browser needs to accomplish the desire functionality. If the browser can not get those resources from that expected url, things do not work as expected.