Flash Format Forms No Workie

I'm able to test a simple CFForm with Flash format on my
personal web account and it works great. However, in the same MX 7
environment the form won't generate. It will generate a Flash
plugin component, but no form elements.
I suspect that there is some possible configuration change I
need to make on the server side for Flash formatted forms to
appear? CFIDE directory permissions? Enable some service?
eg, this one works:
http://www.somareview.com/testme.cfm
eg, this one with the same code does not work:
http://www.clarku.edu/temp/flashform.cfm
Thanks for any suggestions,
Chuck

Dear Chuck,
I guess you have fixed the problem. Both sites work well to
me.
Keiko

Similar Messages

  • Format variable using bind in a flash format form

    Greetings
    All though seems like a simple question, I seem to be missing something here. I have a form (in flash format) that calculates a value when a form item is selected. The value is actually a dollar value. I output the variable value in a cfformitem but I con't figure out how to diplay it as a dollor value, moreover, a value with trailing zeros when the value is a full dollar.
    For example:
    The amount $1.00 displays as 1 (I add the dolloar sign)
    or $23.80 displays as 23.8
    Code below:
    <cfif 
    IsDefined("Form.Submit")>
    Total Cost:
    <cfoutput>#form.TotalCost#</cfoutput><br />
    </cfif> <cfform  format="flash"><cfformitem 
    type="script">
    var charge = '';
    var p1 = 40.50;
    var p2 = 29.75;
    function cost():Void
    charge = 0;
    // share price
    if (specialneeds.value==true) {
    if (Session1.value==1) {
    charge = (charge + p2);
    if (Session2.value==1) {
    charge = (charge + p2);
    if (Session3.value==1) {
    charge = (charge + p2);
    // double price
    else {
    if (Session1.value==1) {
    charge = (charge + p1);
    if (Session2.value==1) {
    charge = (charge + p1);
    if (Session3.value==1) {
    charge = (charge + p1);
    }</cfformitem> <cfinput type="checkbox" label="Sharing?" name="specialneeds" value="true" checked="No" onClick="cost()" />
     <cfinput type="checkbox" label="Day 1" value="1" name="Session1" onClick="cost()" id="Session1" />
     <cfinput type="checkbox" label="Day 2" value="1" name="Session2" onClick="cost()" id="Session2" />
     <cfinput type="checkbox" label="Day 3" value="1" name="Session3" onClick="cost()" id="Session3" />
     <cfformitem bind="Total Cost: ${charge}" style="color:red;" type="text"></cfformitem>
     <cfinput type="hidden" id="TotalCost" name="TotalCost" bind="{charge}" />
     <cfinput type="submit" id="sumbit" name="submit" Label="Submit" value="Submit" /></cfform>
    Any ideas how I can get around this?
    Thanks for any input.

    Awesome, Thank You BKBK!
    Since I call this function several times, I just had to add:
    integerPart = 0;
    decimalPart = 0;
    decimalPartWithoutPoint = "0";
    At the beginning of the function. Commented code below for future reference.
    <cfif  IsDefined("Form.Submit")>
    Total Cost:<cfoutput>#form.TotalCost#</cfoutput><br />
    </cfif> <cfform  format="flash"><cfformitem 
    type="script">
    var charge = 0;
    var charge2 = 0;
    var integerPart = 0;
    var decimalPart = 0;
    var decimalPartWithoutPoint = "0";
    var p1 = 40.50;
    var p2 = 29.75;
    function cost():Void
    charge = 0;
    integerPart = 0;
    decimalPart = 0;
    decimalPartWithoutPoint = "0";
    // share price
    if (specialneeds.value==true) {
    if (Session1.value==1) {
    charge = (charge + p2);
    if (Session2.value==1) {
    charge = (charge + p2);
    if (Session3.value==1) {
    charge = (charge + p2);
    // double price
    else {
    if (Session1.value==1) {
    charge = (charge + p1);
    if (Session2.value==1) {
    charge = (charge + p1);
    if (Session3.value==1) {
    charge = (charge + p1);
    // Charge amount * 100, round the value to nearest whole number (cents now become dollars) and rounds to nearest cent
    charge=Math.round(charge*100)/100;
    charge2=Math.round(charge*100)/100;
    // get the closest integer that is less than or equl to the charge amount, or the dollar value
    integerPart = Math.floor(charge);
    // get the total number of cents from the transaction
    decimalPart = charge - integerPart;
    // this converts the decimalPart to a string if it is not a zero
    if (decimalPart != 0) decimalPartWithoutPoint = decimalPart.toString().split(".")[1];
    // this takes the interger & decimal values, converts it to a string then adds a "0" to the string
    if (decimalPart == 0 || decimalPartWithoutPoint.length == 1) charge = integerPart.toString() + "." + decimalPartWithoutPoint + "0";
    //var myAlert = mx.controls.Alert.show("Charge2 = " + charge2 + "\nIntegerPart = " + integerPart + "\ndecimalPart = " + decimalPart + "\nCharge = " + charge, "Math Information", mx.controls.Alert.OK, this);
    //myAlert.show;
    }</cfformitem> <cfinput type="checkbox" label="Sharing?" name="specialneeds" value="true" checked="No" onClick="cost()" />
     <cfinput type="checkbox" label="Day 1" value="1" name="Session1" onClick="cost()" id="Session1" />
     <cfinput type="checkbox" label="Day 2" value="1" name="Session2" onClick="cost()" id="Session2" />
     <cfinput type="checkbox" label="Day 3" value="1" name="Session3" onClick="cost()" id="Session3" />
     <cfformitem bind="Total Cost: ${charge}" style="color:red;" type="text"></cfformitem>
     <cfinput type="hidden" id="TotalCost" name="TotalCost" bind="{charge}" />
     <cfinput type="submit" id="sumbit" name="submit" Label="Submit" value="Submit" /></cfform>

  • CFSELECT validation in Flash format form

    In the past, I have used Javascript validation in CFFORMs to
    validate CFSELECT input, due to the bug in Coldfusion validation
    (most of my client sites are on shared servers, so I can't modify
    the cfform.js file).
    The Javascript I found somewhere worked great:
    <!-- Validation Functions -->
    <SCRIPT LANGUAGE = "JavaScript">
    function ExtendJS(FormName) {
    if (!SingleSelectRequired(FormName,'Event_Description')) {
    alert("You must select a Vendor from the drop-down list.");
    return false;
    function
    SingleSelectRequired(Form, Field) {
    var itemSelected =
    eval("document." + Form + "."
    + Field + ".selectedIndex");
    if (itemSelected == 0) {
    return false;
    } else {
    return true;
    </SCRIPT>
    Then, in my CFFORM tag:
    <cfform
    name = "formName"
    action = "index.cfm?section=4&submit=1"
    preservedata="Yes"
    enctype = "multipart/form-data"
    method = "POST"
    format = "HTML"
    onSubmit = "return ExtendJS('FormName')">
    Now I'm exploring CFFORM format="Flash"... well, not just
    exploring, way down the road developing a web app ... and I've
    discovered my old validation methods don't work. It seems I have to
    use Actionscript now.
    Does anyone have a good Actionscript form validation
    implementation they can share with me? Or point me in a different
    direction if I'm off base here?
    Thanks,
    max

    It's hard for me to believe I'm the only one who has had
    problems with CFFORM format="flash" cfselect validation. But hours
    of searching turned up VERY LITTLE. I managed to cobble something
    together, so for anyone else who has this problem, and happens
    across my post, here's how I solved it:
    <cfsavecontent variable="validate">
    // perform client side validation here if you want
    var validationError = "False";
    var myString = "Please Select a value for the following:";
    var alertTitle = "Data Input Required";
    if (theForm.testSelect.value == 'none')
    var validationError = "True";
    var myString = myString + " Location,";
    if (theForm.testSelect2.value == 'none')
    var validationError = "True";
    var myString = myString + " Option2,";
    if (validationError == 'True')
    alert(myString,alertTitle);
    return false;
    </cfsavecontent>
    <cfform name="theForm" action="" format="flash"
    height="220" width="450" onSubmit="#validate#">
    <cfselect name="testSelect" width="100" size="1"
    multiple="no" required="Yes" query="q1" display ="firstname" value
    ="firstname" selected="" queryPosition="Below">
    <option value="none">Select One
    </cfselect>
    <cfselect name="testSelect2" width="100" size="1"
    multiple="no" required="Yes" query="q1" display ="lastname" value
    ="lastname" selected="" queryPosition="Below">
    <option value="none">Select One
    </cfselect>
    <cfinput name="Location" type="text" label="Location"
    value="" width="300" required="Yes" message="Please provide a
    location" />
    <cfinput name="Test2" type="text" label="Test" value=""
    width="300" required="Yes" message="Please provide a test" />
    <cfinput type="submit" name="submitBtn" value="Send Data"
    width="100">
    </cfform>

  • Error in CF form in a Flash format...

    Hi
    I receive the following error when loading a CF form in a
    Flash format...
    Errors, warnings or exceptions were found when compiling
    /mystore/admin/purchases_not_processed.cfm. Visit the online Flex
    documentation or API reference for further information.
    1 Error found.
    Error
    C:\Inetpub\wwwroot\MyStore\admin\purchases_not_processed.cfm:4
    A function in the code exceeds the 64K byte limit (actual
    size = '122810'). Since the problem occurs in the
    compiler-generated deferred instantiation code, please
    refactor/componentize portions of this document.
    How do i overcome this error?
    I hope someone can assist with this...
    Thanks in advance...
    Regards
    Mr Pappy

    Hi
    I receive the following error when loading a CF form in a
    Flash format...
    Errors, warnings or exceptions were found when compiling
    /mystore/admin/purchases_not_processed.cfm. Visit the online Flex
    documentation or API reference for further information.
    1 Error found.
    Error
    C:\Inetpub\wwwroot\MyStore\admin\purchases_not_processed.cfm:4
    A function in the code exceeds the 64K byte limit (actual
    size = '122810'). Since the problem occurs in the
    compiler-generated deferred instantiation code, please
    refactor/componentize portions of this document.
    How do i overcome this error?
    I hope someone can assist with this...
    Thanks in advance...
    Regards
    Mr Pappy

  • GET FLASH FORM TO WORK

    OK, I am trying to get my flash form to work and I'm working
    with a template from FLASH MX BIBLE. I'm going to paste both my
    action script and my cgi script in here & hopefully I can find
    an answer to why it doesn't work. Basically what happens is it says
    it was received, but it wasn't. ... or it is but none of the words
    come through (this happened earlier before I tried tweeking the
    script... which I think made it worse).
    ........ thank you thank you to anyone who can help me

    Hi kglad. One. not sure how to "use the onData event of
    receiveLoad and see what error message you're getting." Sorry,
    don't use as2 very much. Two. I am doing all this on the same
    domain, so there should not be any security issues.
    I asked goDaddy what the problem might be and this was their
    (snarky) reply;
    "As you have already been informed, when using a flash form
    on your site, in the scripting for the form you will need to
    reference our SMTP server at relay-hosting.secureserver.net and
    this server does not require authentication."
    They gave me this code a couple of days ago and told me to
    stick this into my PHP code. It didn't help.
    This is beyond me I am afraid.

  • Error in CF form in flash format

    Hi
    I receive the following error when loading a CF form in a
    Flash format...
    Errors, warnings or exceptions were found when compiling
    /mystore/admin/purchases_not_processed.cfm. Visit the online Flex
    documentation or API reference for further information.
    1 Error found.
    Error
    C:\Inetpub\wwwroot\MyStore\admin\purchases_not_processed.cfm:4
    A function in the code exceeds the 64K byte limit (actual
    size = '122810'). Since the problem occurs in the
    compiler-generated deferred instantiation code, please
    refactor/componentize portions of this document.
    How do i overcome this error?
    I hope someone can assist with this...
    Thanks in advance...
    Regards
    Mr Pappy

    Karl, is your problem still happening?
    If so, are you sure that your web site (is it IIS) is set so that the CFIDE it points to is the one inside CF11?  We see from the screenshot you shared that inside the stack trace it points to the page as running in some /CFIDE folder (as if it’s the root of a file system—and it’s odd, because there’s no drive reference, which would be there normally on Windows.)
    Normally, it should point to the coldfusion11\cfusion\wwwroot\CFIDE folder, which is where CF11 puts that folder by default.  If your web site is pointing at some other folder for that, it could simply be that your Admin was using a different version of code for that mail settings page than CF11 is expecting you to use.
    Let us know if that helps.
    /charlie

  • Flash Forms Stopped Working In ColdFusion 9

    We moved our websites, many of which use Flash Forms, from a server running ColdFusion 7 to a server running ColdFusion 9.
    At first all the Flash Forms in the various websites worked fine.
    However, on the same day all the Flash Forms stopped working on the ColdFusion 9 server.  No changes were made to the websites, to IIS 6, or to ColdFusion.  We've restarted ColdFusion, IIS 6, and the server.
    The error we get when loading a page that includes a Flash Form is:
    412 Unknown
    Here is the output reported by FireBug when loading a page (for example http://www.futurefamilydocs.org/test/testflashforms/index.cfm) that includes a Flash Form
    The same page with the same flash form works fine in our ColdFusion 7 server (for example see: http://test.futurefamilydocs.org/test/testflashforms/index.cfm)
    We cannot figure out what the issue is.  Both servers are setup exactly the same Windows 2003, IIS 6, same ColdFusion settings, same access rights for internet users.
    We'd appreciate any help as it will be significant work for use to change all the Flash Forms to normal forms.  We're a small non-profit company and this is having a big impact on our members until we get it fixed or replace all the Flash Forms.
    Thank You
    Bruce Phillips

    We have found the error message coldfusion is generating when we try to access a page that has a flash form:
    C:\ColdFusion9\runtime\logs\coldfusion-event.log
    03/29 13:02:45 user CFSwfServlet: Error: The class  'mx.rpc.RemoteClassRelayResponder' could not be loaded.
    03/29  13:02:45 user CFSwfServlet:  at  C:\Inetpub\wwwroot\futurefamilydocs\test\testflashforms\inde.mxml:393
    I researched that error and found suggestions to redo the IIS configuration for ColdFusion.  I did that but still get the same error.

  • So does Flash Forms not work in Safari?

    Does Flash Forms not work on Safari Browser? I have them on
    my site but when I try to look at them in Safari, they don't work..
    Or do I need to just add some type of extension to my Safari
    Browser to View a Flash Form?
    Here is the page. it won't work in Safari.. unless I"m
    missing an install extension. I just downloaded the browser for
    Windows for the first time today and so I wanted to check my site
    in that browser.
    http://www.jimmyharrell.com/contact.cfm
    is the page in question.

    yes but still no luck. When you go here do you see my flash
    form load in Safari? I'm using Safari for Windows not mac.
    http://www.jimmyharrell.com/contact.cfm

  • Does Flash Forms not work in Safari?

    Does Flash Forms not work on Safari Browser? I have them on
    my site but when I try to look at them in Safari, they don't work..
    Or do I need to just add some type of extension to my Safari
    Browser to View a Flash Form?
    Here is the page. it won't work in Safari.. unless I"m
    missing an install extension. I just downloaded the browser for
    Windows for the first time today and so I wanted to check my site
    in that browser.
    http://www.jimmyharrell.com/contact.cfm
    is the page in question.

    yes but still no luck. When you go here do you see my flash
    form load in Safari? I'm using Safari for Windows not mac.
    http://www.jimmyharrell.com/contact.cfm

  • Custom 404 cfm pages, and ColdFusion flash forms not working together

    Hi,
    I've recently ran into an issue that I was hoping I could have a little help with. My company has been using custom 404 pages for awhile that we set up in iis however we had never set up this custom 404 page to display on .cfm pages, only missing folders. Ie; www.website.com/asdasdasdsd/ would display a custom 404 error But www.website.com/asdasdasdsd.cfm would not. I recently set this up by going in the iis properties for our site, went to the home directory tab click on configuration and selected edit from the mappings tab. From here I checked the verify that file exists open. This enabled the file.cfm custom error to appear however for some reason it disabled all of my ColdFusion flash forms. None of them appear now. If I undo the iis setting that I changed earlier they all re-appear. I got these settings from http://kb2.adobe.com/cps/000/95ee04fb.html and they do the job, they just disable my flash forms. Is there any way to do this without them disabling my flash forms from working?
    Thanks!
    Paul Alkema

    Hi Paul,
    Did you ever receive an answer to this (old) post?  I'm having the same problem myself.
    Thanks,
    Michael

  • Acrobat 9 flash/flex form scrolling and hand mouse pointer problems

    Hello.
    There is pdf file with embeded flash swf file inside. Main business logic has been implemented on flash: there are drop-down interactive menu and  navigation links.
    I've noticed 2 problems related to Acrobat (flash movie itself, standalone, works correctly):
    1. Scrolling over drop-down menu doesn't work: mouse wheel doesn't scroll content of drop-down form menu. So, I have to manually click on scroll bar.
    2. Hand mouse pointer over links losses "hand" icon. Hand icon shows for short period and then disappears but should be visible while mouse pointer is over a link.
    I managed to test these problems on Windows, MacOS with Acrobat Proffessional 9.0 and Acrobat Reader 9.1
    So, Is there any way to resolve these problems?
    Thanks in advance

    I'll take a look at these.  #1 is a known issue with Flash Player and is already being looked at, haven't heard about #2 though.

  • Web Gallery in non-Flash format?

    Are there any extensions or anything to allow Bridge to Export a Web Gallery into a non-flash format? In my site I am trying to pay particular attention to accessibility and flash is inherently non-accessible, and also does not work with some of the most popular mobile devices (iPad, iPhone, iAnything). Essentially I am looking for some kind of HTML5 Web Gallery. Any help would be greatly appreciated.

    Hi there -
    I'd try posting your question over in the Flash general forum. You could also try the Flash site design forum. The folks over there will probably be able to help you solve your issue

  • Flash upload form does not recognize foreign characters

    i have a flash form which uploads multimedia files and submit
    it to a java back-end along with other form fields. works for
    english characters but when it submits foreign characters such as
    chinese or spanish, the worlds are garbled on the other side. it
    seems like flash default is not set to utf-8, has anyone ever had
    seen this or had this problem before???

    Thanks for the link. It didn't solve the issue on my mother in law's desktop, but it did contain a link to another solution for desktops (and for laptops not helped by the link you provided).
    The link reads: "If you don't have a PC laptop or the steps above did not help, see this document for more information."
    Essentially, putting the iPod into disc mode caused it to be recognized by XP and all was well.
    Anyway, your help is much appreciated as it's particularly difficult for me to work in the Windows enviroment since I so rarely do it.

  • Export to Flash with embedded QT or Flash video - can it work?

    Is it possible to have an embedded video (either QT or Flash) in a Keynote '08 presentation and export the presentation as a Flash SWF file? I have tried saving the video in different QT and Flash formats then export to Flash using Keynote, but when I view the exported SWF file, the embedded video doesn't play. I'm unsure if it's not possible to do this or if I'm doing something wrong.
    Thanks.
    Lori

    No, this would have required Apple to build a Flash video encoder engine into Keynote's export module. You'd think if it was already a flash movie, it would work, but it doesn't, so assume they just didn't bother building in support for embedding flash movies into a flash export.

  • Is there any form that works like Jtable that can be written into the html

    Is there any form that works like Jtable that can be written into the html or jsp format?
    <INPUT TYPE="SUBMIT" NAME="command" VALUE=""> refer to a Sumbit Button.
    There no such thing below "I think"but just dreaming
    Is there something like
    <INPUT TYPE="TABLESUBMIT" NAME="customer" VALUE={rowcolumn(1,3,"peter"),rowcolumn(last,"name","jane")}> ......

    Keep dreaming. As long as you are using HTML you are stuck with
    all of its limitations. Among these is the lack of a JTable.
    You have several options:
    1) Use an HTML <TABLE>. For plain text you just put the
    text between <td></td> tags. For input you put the input
    as <td><input...></td>.
    2) Extend #1 by creating your own object to draw the table.
    You can do this in either Java or JavaScript. There are several
    examples on the internet of how to do this. Some even include
    sorting by clicking the column headings.
    3) If you really want to use a JTable then you can write a JApplet
    and put it on your JSP page.

Maybe you are looking for