Skip to main content
March 3, 2008
Answered

Flash forms don't show in ColdFusion 8

  • March 3, 2008
  • 2 replies
  • 2507 views
I am not getting the display of <cfform format="flash" in a new installation of ColdFusion 8 on Windows 2003 server. Is there some setting, extra software or mime setting that has to be made to view the apparent .cfswf output?
This topic has been closed for replies.
Correct answer
Thank you Ian for your suggestion to check the CFIDE mapping. I checked and on our 6.1 ColdFusion server, CFIDE is a virtual directory on all domains. But on this new ColdFusion 8 installation, CFIDE was only a virtual directory for the Default Web Site. Once I created a virtual CFIDE directory for the domain I was testing from then the Flash Forms code worked. I wonder why the new installation required this to be done manually.

The full solution appears also to require the modifications outlined in the TechNote referred to earlier:

http://kb.adobe.com/selfservice/viewContent.do?externalId=ebd0cbe3&sliceId=1


UPDATE: The changes suggested above include changing a setting so that the generated Flash is kept. However that allows these generated files with random file names to keep building up in the web directory. So I changed it back to the default of FALSE and the Flash Form code still is working. Thus, as far as I can see, one can skip changing the flex-config.xml from false to true in the code:

<keep-generated-swfs>false</keep-generated-swfs>




2 replies

March 25, 2008
I added CFIDE virtual directory and yet the drop down boxes in the flash forms are not uploading. I am also getting a clock that indicates a form is loading and it continues forever.Please HELP. I am using CFMX7.
Inspiring
March 3, 2008
lars@work wrote:
> I am not getting the display of <cfform format="flash" in a new installation of
> ColdFusion 8 on Windows 2003 server. Is there some setting, extra software or
> mime setting that has to be made to view the apparent .cfswf output?
>

There maybe. IIRC There are some IIS settings that can cause .cfswf
output to fail. I believe at least one cause is that IIS has been
configured to check for the existence of files before handing off the
request. This causes an issue in the default configuration because
there is no actual swf files created for the forms, they are created in
the server's memory by ColdFusion and delivered to the browser as swf
content.

I've seen workarounds posted in blogs, some Googling should turn one up.

March 3, 2008
I checked in IIS and it is not set to check that file exists for cfswf file type. I also followed the instructions at:
http://kb.adobe.com/selfservice/viewContent.do?externalId=ebd0cbe3&sliceId=1

Now I get the following errors:

2 Errors found.

Error /CFIDE/scripts/cfform.swc
Unable to resolve library location.

Error /sample_flash_form.cfm:3
Unable to load runtime shared libraries.

------------------------------------------------------------------------

What should I do now?