Groups | Blog | Home
all groups > coldfusion flash integration > may 2006 >

coldfusion flash integration : Blank screen with flash forms



smaccurdy
5/10/2006 11:01:36 PM
I am attempting to get flash forms to work, but keep getting a blank screen.
Nothing is ever rendered to the screen. There is also a message that pops up
that states "Press SPACEBAR or ENTER to activate and use this control". My
code is below...


<cfform name="frmTest" format="flash" height="100%" skin="haloblue">
<cfformgroup type="tabnavigator">
<cfformgroup type="page" label="Help 1">
<cfformitem type="text" style="font-weight:bold; font-size:large;">
Help!
</cfformitem>
</cfformgroup>
<cfformgroup type="page" label="Help 2">
<cfformitem type="html" style="font-weight:bold; font-size:large;">
Help!
</cfformitem>
</cfformgroup>
</cfformgroup>
</cfform>

We are using MX 7 and I have Flash 8 player installed.

Any Ideas?
reya276
5/18/2006 1:48:22 PM
usually when the page comes back blank is because you have an error on the
syntaxt or you are missing a parameter within the form. Take a look at the code
below, I modified somethings such as missing method and action attributes also
you don't need to specify the height to 100%.

<cfform name="frmTest" Method="POST" Action="" format="flash" skin="haloblue">
<cfformgroup type="Panel">
<cfformgroup type="tabnavigator">
<cfformgroup type="page" label="Help 1">
<cfformitem type="text" style="font-weight:bold; font-size:large;">
Help!
</cfformitem>
</cfformgroup>
<cfformgroup type="page" label="Help 2">
<cfformitem type="html" style="font-weight:bold; font-size:large;">
Help!
</cfformitem>
</cfformgroup>
</cfformgroup>
</cfformgroup>
</cfform>
jgram
5/23/2006 2:20:22 PM
Scott,
Did you ever figure out the IE (Active X) issue requiring a click to active the page controls? Thanks.

Milind Joshi
5/24/2006 12:00:00 AM
Hi,

Please read the following to know more about the message that appears in
Microsoft IE. It also shows you how to fix it, but I believe it does not
work for the Flash movies created using ColdFusion tags.

http://www.adobe.com/devnet/activecontent/articles/devletter.html

Post here, if you figure out how to implement it for CFFORM tags in
ColdFusion that produce flash SWFs.

Hope this helps.
- Milind Joshi

[quoted text, click to view]
smaccurdy
5/25/2006 8:34:50 PM
I did get form to render. I had a syntax (misspelling) for a parentcolumn that
I was associating with two cfinputs.

Jim, The control simply activates once you click on it. That had nothing to
do with error.

reya276, My page was fixed via correct spelling, but the addition of the
panel around the tabnavigator was a nice design improvement. Thanks.
AddThis Social Bookmark Button