October 19, 2007

Having trouble with getting a flash based CFForm to show up?

With a new site that we have been working on I've been doing my best to get back into Coldfusion development after working with ASP for so long. There was a time when I did a lot of CF stuff but got very frustrated with the lack of support for any character set other than english. Especially Japanese. So had wandered off figuring that CF wasn't for us just yet.

Anyways, back into it now with CF8 and was working on a flash form. It was kind of late when I was working on it last night and for some reason I just couldn't get the form to show up. No error no nothing. Couldn't right click the area where the form should have showed up. That's weird I thought and right clicked somewhere else to check the source. All kinds of javascript functions in the page and pointing to CFIDE. Hrmm.. I searched all through the docs, nothing to be found though. Do a little search on the web and finally come across a post saying that maybe IIS isn't setup properly. Maybe the CFIDE virtual directory doesn't exist.

Now, this kind of thing I can sort of understand but it sure would be helpful if in the docs there was some kind of instruction to say that if the form doesn't show up then to check that. I had figured with the install of CF8 that those kinds of things would be taken care of automatically. Nope. So into the server I went to set this up.

All is well now. Hopefully my ignorance will help others who are having the same problem. Based on the search I did on the forums it seems that "flash forms not showing up" is a reasonably regular problem. Maybe there is a technote somewhere.. not sure, didn't come up in any search I did.

Posted by Graeme at October 19, 2007 03:00 AM
 



Comments

Yeah, this happened with me also, when I was working with Flash forms. It's something you need to look out for.

Have you looked at Flex? I know that the CF team has said in the past that if Flex 2 had been released in time, they wouldn't have bothered with Flash forms at all, so I'm not too sure they're going out of their way to support it. Just a thought.

Cheers,

David

Posted by: David at October 19, 2007 03:50 AM

If you ever have to recreate your connector using the automagic connector configurator it will delete any CFIDE mappings and it won't recreate them.

It is especially fun if you have a hundred virtual servers setup.

Posted by: Tom at October 19, 2007 04:05 AM

yeah u need the cfide in the site root or a virtual mapping of the main cfide folder to the site root

Posted by: dave at October 19, 2007 07:38 AM

Looked at Flex? Oh yes. I suppose that's just as good I guess. Just thought it might be neat to try out the flash forms that Coldfusion created. I'll think on it a bit more. Thanks for the thoughts David.

Thanks Tom and Dave for that advice. Hopefully I don't have to reconfigure everything on the server again.

Graeme

Posted by: Graeme at October 23, 2007 02:43 PM