How i can use the code in actionscript 3.0 of Flash?

  • Profile Image
    Alberto580
    Asked on August 07, 2011 at 11:29 AM

    I execute the code for call my JotForm in actionscript 3.0 of Flash:

    bt_contacto.texto.addEventListener(MouseEvent.CLICK,botonenv);
    var sitiomail:URLRequest = new URLRequest("http://form.jotform.com/jsform/12185839199");
    function botonenv(event:MouseEvent):void {
        navigateToURL(sitiomail);
    }

    In this case, in the form only appear source code of my JotForm, no can look the web form

    AS3 not accept the full code:

    <script src="//form.jotform.com/jsform/12185839199"></script>

     

    Thanks friends

    Alberto

     

     

     

  • Profile Image
    allanftd
    Answered on August 07, 2011 at 12:36 PM

    Hi Alberto,

    Can you please try using this script instead:

    bt_contacto.texto.addEventListener(MouseEvent.CLICK,botonenv);
    var sitiomail:URLRequest = new URLRequest("http://www.jotform.com/form/12185839199");
    function botonenv(event:MouseEvent):void {
        navigateToURL(sitiomail);
    }

    and let us know if it works or not? We'll await your response.

    Thank you for using JotForm!

    JOTFORM SUPPORT