Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Flash forms don't show in ColdFusion 8

Guest
Mar 03, 2008 Mar 03, 2008
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?
TOPICS
Flash integration
2.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Mar 04, 2008 Mar 04, 2008
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 outlin...
Translate
LEGEND ,
Mar 03, 2008 Mar 03, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 03, 2008 Mar 03, 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?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 04, 2008 Mar 04, 2008
lars@work wrote:
> 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?
>

Does the website have the proper mapping to the CFIDE folder? For these
type of functions to work there must be a virtual mapping setup in IIS
for the web site to the CFIDE folder of your ColdFusion installation.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 04, 2008 Mar 04, 2008
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>




Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 04, 2008 Mar 04, 2008
lars@work wrote:
> 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.
>
>
>

It doesn't usually have to be done manually, but it is not hard for it
to get lost, but luckily it is an easy fix.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 25, 2008 Mar 25, 2008
LATEST
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.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources