CallExternalInterface perfect in Firefox , but not working in Safari?

I finally figured out how to implement the callExternalInterface code. All works perfect in Firefox, but when I test in Safari, I get nothing. Any ideas at all would be helpful. Below is the code...
callExternalInterface(movieVars)
//appended url might be something like....
//index.htm?movieVars=deepLink&movieVars1=residential&movieVars2=theRest&movieVars3=anders on"
function callExternalInterface(movieVars, movieVars1, movieVars2, movieVars3) {
    getMovieName("myMovie").callPlayBall(movieVars, movieVars1, movieVars2, movieVars3);
function getMovieName(movieName) {
    if (navigator.appName.indexOf("Microsoft") != -1) {
        return window[movieName]
   else {
       return document[movieName]
</script>
<script>
    function getQueryVariable(foo, foo1, foo2, foo3) {
      var query = window.location.search.substring(1);
      var arrayHere = query.split("&");
      var param0 = ""
      var param1 = ""
      var param2 = ""
      var param3 = ""
      for (var i=0;i<arrayHere.length;i++) {
        var pair = arrayHere[i].split("=");
        if (pair[0] == foo) {         
            param0 = pair[1];     
        else if (pair[0] == foo1) {           
            param1 = pair[1];
        else if (pair[0] == foo2) {           
            param2 = pair[1];
        else if (pair[0] == foo3) {
            param3 = pair[1];
      } //-- end of for loop
    //alert("p0: " + param0 + ", p1: " + param1 + ", p2: " + param2+", p3: " + param3)
      callExternalInterface(param0, param1, param2, param3)
</script>
KIM
updated: code posted incorrectly
updated: code posted incorrectly

1.  are you starting with the html page published by flash?
2.  what do you mean by, "i get nothing"?

Similar Messages

  • I will using of firefox but not working shortcut key of website.

    I will using of firefox but not working shortcut key of website.
    It's working in chrome and I.E.

    Check the connection settings.
    *Tools > Options > Advanced : Network : Connection > Settings
    *https://support.mozilla.org/kb/Options+window+-+Advanced+panel
    If you do not need to use a proxy to connect to internet then select "No Proxy" if the default "Use the system proxy settings" setting doesn't work.
    See "Firefox connection settings":
    *https://support.mozilla.org/kb/Firefox+cannot+load+websites+but+other+programs+can

  • Images Viewable in Firefox But Not In Explorer, Safari, Chrome.

    I have a coldfusion page with images. The images are called up dynamically from my Mysql database. The image field with my database has the datatype "char(100)". All that is stored in that database field is the file path to the folder of which the image is stored which is: \photos\RSL\1.jpg.
    On my webpage, the image placeholder looks like this:
    <a href="#Unit_Info.comphoto1#"><img src="#Unit_Info.comphoto1#" alt="" name="1" width="98" height="73" /></a>
    This images display just fine on Firefox, But Not In Explorer, Safari, & Chrome. These latter three just show a broken image. Could there be something wrong with either my coldfuson or Mysql file path where each of the letter three browsers are trying to access?
    I'm running Coldfusion 9 on my local machine, using OS Window 7 Professional.

    When I hard coded the file path it worked. I checked the source code and saw no white space. I even went to each browser's options dialog box to make sure that the show image options were checked. It may be my coding. In my image folder there are categories  of other folders within folders that have images of which Coldfusion calls up whenever the browser needs it. Could that be the problem? Should I have all of my 300 images in one folder?
    - Hannibal Hasan
    On Sep 1, 2011, at 9:30 PM, Dan Bracuk <[email protected]> wrote:
    First thing I'd try would be to hard code the expected value and see if that works.  If it does, I'd look at the html source code from the problematic browsers and see if there is any unexpected white space.
    This message was sent to: College Kid
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3897548#3897548
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3897548#3897548. In the Actions box on the right, click the Stop Email Notifications link. For more information about unsubscribing from the Adobe Forums, please visit http://kb2.adobe.com/cps/522/cpsid_52211.html
    --end--

  • Java is not working with Firefox (but is working with Safari)

    My computer is showing that Java is not enabled via Firefox. When I try to go into Tools/Add-ons, I see that there is no Java plug-in on that list (though I previously had no problem with Java). When I run software update on my Mac, it tells me my software is all up to date. Not sure what else to do. Java is working in Safari, so the problem is clearly with Firefox. I've tried disabling all my plug-ins, and clearing my cache. Nothing has helped.

    Apple has removed support for the Java Plugin2 with the latest Java Update 10 for OS X 10.5 Java version, so the Java plugin is no longer available for Firefox versions and other browsers like Google Chrome that require the Java Plugin2.
    There will be fix for this in Firefox 6 or in Firefox 5.0.1 if that version will be released, so that Firefox will find the plugin again.
    I don't know if all Java applets will still be working on OS X 10.5 with this fix (Apple recommends updating to OS X 10.6).
    * [/questions/844734]
    * [/forums/contributors/707078]

  • I can't attach a file in Gmail using firefox, but its working in Safari and Chrome.

    I can't attach a file in Gmail using Firefox, I can attach files when using Chrome and Safari, so it must be Firefox.
    I've tried all the other suggestions for making things work, but nothing works so far, and it started yesterday afternoon
    (Aug 6th, 2014)
    Any suggestions would be usefule

    Try allowing pop up windows
    Open Menu
    Options
    Content (on the top)
    Click Exceptions...
    Type mail.google.com in address of website area
    Click Allow
    Try to open attachment window now.
    Restart FireFox and try adding attachment again.

  • Cannot play videos using FireFox, but they work in Safari?

    I am attempting to play some videos from my schools student extranet. The videos play with no problem on Safari, but not on FireFox. Anyone think they can walk me through a solution? I would greatly appreciate any assistance!

    I am attempting to play some videos from my schools student extranet. The videos play with no problem on Safari, but not on FireFox. Anyone think they can walk me through a solution? I would greatly appreciate any assistance!

  • Airport connected to internet, but not working in Safari or Firefox?

    I had an airport network in my last apt. We just moved, and I can't set it up in our new apt! Our internet connect def works, and I get a green light on the airport. It says: <Airport is connected to the network "xxx". You are connected to the Internet via Airport/>
    But then both Safari and Firefox say "server not found"!
    what am I doing wrong?
      Mac OS X (10.3.9)  

    I have other info on the modem I'm trying to connect to.
    It is of a sensitive nature so I don't want to post it here.
    HELP PLEASE!
    2WIRE Modem is having a problem connecting the browser. the modem says I'm connected but my browser can't surf.
    I do have the network name as well as the encryption key.

  • Page is working ok in chrome and IE but not working in firefox. jquery problem i guess

    http://184.170.251.149/raschet-shkafa-kupe
    this page is working correctly in chrome and IE but not working in firefox, i cant click and of the dropdown menus(ДСП, доличество дверей). it was working perfectly prior firefox 18. can you please fix the compatibility problem ?

    I was referring to the second page in my above post.
    I disabled JavaScript as a test after loading the page with JavaScript enabled and that worked.<br />
    I also get the selects to open if I right-click instead of left-click the select.<br />
    That way the select get selected (shows a focus ring) and after that left-clicking works as well .
    This assumes that JavaScript is monitoring the left-click, but that script no longer works properly.
    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Flash Player 10 ActiveX, installed perfectly on FireFox but does not want to install on IE8

    I tried to install Flash Player 10 ActiveX but no luck
    operating system VISTA 32bit
    web browser and version IE8 32bit
    Flash Player version WIN 10,1,82,76
    is there anything in the security needs to be adjusted?
    It was running perfect before I do the latest upgrade
    It is running perfect on Fire Fox
    It is just not working on IE8
    Flash Player 10 ActiveX, installed perfectly on FireFox but does not want to install on IE8

    Hi, You might want to review the Troubleshooting Guide as it has been updated and a lot of new information is now included. If you prefer you can use the Manual Installer for IE which you'll see there. A lot of the questions that I would ask are listed also.
    http://kb2.adobe.com/cps/191/tn_19166.html
    Hope this is helpful for you.
    Thanks,
    eidnolb

  • My youtube does not work on safari only when i try to play a video it says "This video is not available on mobile add to playlist" But i am using a mac air 11 inch it is not a mobile. Please Help. i have to use the youtube on firefox or chrome

    my youtube does not work on safari only when i try to play a video it says "This video is not available on mobile add to playlist" But i am using a mac air 11 inch it is not a mobile. Please Help. i have to use the youtube on firefox or chrome. At times it also say QuickTime Player can't open "video.3gp". and
    The file may be damaged or may not be a movie file that is compatible with QuickTime Player. when i try to open a video on youtube on safari

    I too am having the same issue as the OP.
    Your USER AGENT information is Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18
    Every webserver that receives a request from your browser is able to determine the HTTP USER AGENT information unless it has been removed by some software (e.g. firewall) before the request was trasmitted.

  • Dataset works in FireFox but not IE

    I have a simple XMLDataSet that I have bound to a
    <select> inside a <td>. It works perfectly in Firefox,
    but in IE the select doesn't get loaded with the elements from the
    dataset and no errors are generated. Below is the simplified HTML
    that demonstrates the problem.
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <script type="text/javascript"
    src="../Spry/includes/xpath.js"></script>
    <script type="text/javascript"
    src="../Spry/includes/SpryData.js"></script>
    <script type="text/javascript">
    var dsMyDataSet = new Spry.Data.XMLDataSet( "myData.xml",
    "/collection/item", { useCache: false } );
    </script>
    </head>
    <body>
    <table>
    <tr><th>Select one</th></tr>
    <tr><td><select spry:region="dsMyDataSet">
    <option value="0">Please Select One</option>
    <option spry:repeat="dsMyDataSet"
    value="{@id}">{name}</option>
    </select>
    </td>
    </tr></table>
    </body>
    </html>
    and myData.xml is as follows:
    <?xml version="1.0" encoding="utf-8"?>
    <collection>
    <item id="1"><name>Name
    1</name></item>
    <item id="2"><name>Name
    2</name></item>
    </collection>
    I've found some undesirable work-arounds to the problem, like
    wrapping the select in a span and binding the span to the region,
    but the page presentation in FireFox generates quite a bit of
    flicker - IE paints okay.
    Any help on this would be great.
    Thanks,
    Griffin

    I have a similar problem with Safari (Displays fine with
    FireFox). This is just testing code to see how it works:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry">
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <script type="text/javascript"
    src="/js/xpath.js"></script>
    <script type="text/javascript"
    src="/js/SpryData.js"></script>
    <script type="text/javascript">
    var dsfavorites = new
    Spry.Data.XMLDataSet("classroom.xml","classroom/favorite");
    </script>
    </head>
    <body>
    <div spry:region="dsfavorites">
    <p>ID: {dsfavorites::@id}</p>
    <p>Title: {dsfavorites::title}</p>
    <p>Category: {dsfavorites::category}</p>
    <p>Grade: {dsfavorites::grade}</p>
    <p>Description: {dsfavorites::description}</p>
    </div>
    </body>
    </html>

  • After uninstalling and downloading the latest Abobe Flash player, I can no lnger play youtube videos. I get the message "blocked plug-in". It works in Firefox, but not Safari.

    After uninstalling and downloading the latest Abobe Flash player, I can no lnger play youtube videos. I get the message "blocked plug-in". It works in Firefox, but not Safari?

    Frostbitblue,
    in Safari’s Preferences, select its Security tab, and make sure that its “Internet plug-ins: Allow Plug-ins” checkbox is checked.

  • Flash buttons work in FireFox but not IE

    Please can someone please take a look and see if they can
    figure it out cos i can't!
    roundshaw (dot) co (dot) uk
    The increase and decrease flash buttons at the top of the
    page works ok in FireFox but not in Internet Explorer.
    Can anyone see what i have missed that stops it working in
    IE?
    thanks in advance for your help.
    Jason

    Hello again,
    Yep, sounds like you've got the general idea.
    hries22 wrote:
    I'm going to start from scratch and give it another go...would you reccomend converting every button to a symbol? Then give the symbols  a mouseover, click, and mouseout?
    I'd take all the elements that make up the button, and convert that into a symbol. Then you can go to labels with your code without worrying about the main timeline. Put all your code on the elements themselves, and not on the symbol instance.
    hries22 wrote:
    Also - and this minor - but is there a way to get a button's mouseover area to recognize transparency? For instance - I'll use a .png with transparency for a button...let's say the T-shirt. I want the mouseover to activate only when the mouse is over the t-shirt, and not over the transparent area around the t-shirt...any thoughts?
    By default, the hit area of a div in HTML is its bounding box. Right off the top of my head, I'm not sure there's a way to change it...maybe someone else can chip in?
    EDIT: here's an old-school way...could be a lot of work: http://www.svennerberg.com/2008/09/imagemap-rollover/
    hth,
    Joe

  • Rollovers & actions work in Firefox but not IE

    Hello,
    The site www.lamps-on-line.com has rollovers and actions created a few years ago in GoLive and now these effects only work in Firefox, but not in Interenet Explorer (IE7), which displays page errors.  Is there a way to fix this? I acknowledge that the site needs replacing but while it's still running my client wants it fixed.
    I set up a test page at www.lamps-on-line-com/test.html in which I took off all rollovers and actions, and this loads OK but I really don't want to have to resort to doing this on every page.
    I wondered if it is somrthing to do with 'Doctype'?
    Hope someone can help.
    Stephen

    Hytrical wrote:
    The site www.lamps-on-line.com has rollovers and actions created a few years ago in GoLive and now these effects only work in Firefox, but not in Interenet Explorer (IE7) which displays page errors.
    I didn't see any errors when I looked at yourhome page in IE7 (on Vista). So which page elements were producing an error and what was the error you were seeing? Did you delete the cache in IE7 to check whether it was a caching problem? Tools > Internet Options > Browsing history (choose to delete)?
    John

  • Customized selectBooleanCheckbox works fine on Firefox but not IE, Opera?

    I'm using a customized selectBooleanCheckbox solution to give me a 'select all' like feature:
    <h:form>
    <h:dataTable binding="#{DialogManager.bean.nodeTable}" value="#{DialogManager.bean.nodeList}" var="nodeItem" border="1" cellpadding="10" cellspacing="1" >
        <h:column>
            <f:facet name="header">
               <h:selectBooleanCheckbox value="#{DialogManager.bean.selectAll}" valueChangeListener="#{MultipleSelectionDialog.allSelected}" immediate="true" onchange="this.form.submit();" />       
            </f:facet>
            <h:selectBooleanCheckbox value="#{nodeItem.selected}" />       
        </h:column>
    </h:dataTable>
    </h:form>When a user clicks on the selectBooleanCheckbox in the header, the other selectBooleanCheckboxs should also be selected. This works on Firefox, but not on IE or Opera. On IE, the checkbox in the header is selected and none of the checkboxs beneath it are selected. On Opera, the checkbox in the header is only selected for a moment before it is deselected.
    Why would this happen? How can I fix it for IE and Opera?

    tried onclick instead of onchange, no difference.
    The IE browser produces browser failure messages:
    'elements' is Null or not an object
    container.jsp row 325
    'elements.dialog:act' is Null or not an object
    container.jsp row 381
    Code: 0 Character 3I checked in the corresponding files and cannot make sense of the error messages.

Maybe you are looking for