External Interface issue

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default External Interface issue

    HI, I'm trying to get an button in flash to open a pop-under window in the
    browser using JavaScript. So far I have had no success. Both functions are
    working fine independently but I can't get them to communicate with each other.
    Please see attached code.
    Thanks!


    ////// AS 2.0 /////
    import flash.external.*;
    allowScriptAccess="always";

    function gaTracking() {
    ExternalInterface.call("conversion");
    trace("gaTracking Triggered");
    }



    ////// JavaScript //////

    <script language="JavaScript">
    function conversion(){

    window.open('http://www.solowresidential.com/thank-you.html','','width=500,heig
    ht=350,left=200,top=200').blur();
    window.focus();
    }
    </script>

    crisbosch Guest

  2. Similar Questions and Discussions

    1. Flash Forms/External Interface API?
      Has anyone been able to get this to work? I am trying to send data from a Flash Form to Javascript (actually to an fckeditor overlaid on the...
    2. External Interface problem in Internet Explorer
      Hello I am having a problem with the External Interface when using Internet Explorer. I am trying to get Flash to send and recieve a variable...
    3. Director MX to External Application Interface
      I am using Director MX to creating a training video. The training video will be displayed to a maximum of 256 students at a time. Each student will...
    4. External Editor Issue~ Please help! Thanks!
      Freehand MX PC PS 7 Thanks much...
    5. Does Interface Size Matter? Is my interface too complex?
      Hi all, Does Interface Size Matter? Is my interface too complex? I volunteered to design a couple of web pages, but since we don't have a...
  3. #2

    Default Re: External Interface issue

    Hello,

    Delete the allowScriptAccess in your AS2 script - it does nothing. After
    you've published your Flash movie, you need to edit the HTML page and set the
    allowScriptAccess to "always" in the <object> and <param> tags.
    The default is allowScriptAccess="sameDomain".

    Noelbaland Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139