Does not work in firefox and Chrome

Hello

It's works fine under IE but does not work in firefox and Chrome browsers

What's not in this code?

var pageURL:String      = ExternalInterface.call("window.location.href.toString");

if(pageURL == null)
{
          pageMsg2.text = "Seems like javascript is disabled";
}
else
{
          pageMsg2.text = "Enabled";
}

calling window.location.href.toString directly from js (i.e. no flash) in the work of chrome or firefox?

have you tried to create a wrapper function for window.location.href.toString ?

for example in js

Function myFunction()

{

Return window.location.href.toString;

}

Flash

var pageURL:String      = ExternalInterface.call("myFunction");

if(pageURL == null)
{
          pageMsg2.text = "Seems like javascript is disabled";
}
else
{
          pageMsg2.text = "Enabled";
}

Tags: Adobe Animate

Similar Questions

  • video doesn't work does not directly in Firefox and Chrome

    Use the HTML5 video widget and got my mp4 movie to appear and work fine in Safari, but under Firefox and Chrome, it shows a film about the birds diving into the ocean fishing fish, which I suppose is a movie from Adobe. Is it because I do not understand a webm version? The link of webm isn't hot, so I can't use it. Can you just put in the format of a film? WEBM is the preferred format?

    Since I posted, I unchecked "file external webm" and was able to add a local file of the web. Then transferred again and everything works fine now. So it seems that I must download time an MP4 Player and a web file.

    I have the latest Firefox and Chrome browsers.

  • Open the URL or file not working in Firefox and Chrome (_blank)

    In Captivate 8, I created an advanced where action if the student clicks on an exit button, we present a web page pop - up in a new tab with an investigation into the matter to our company Web site and also to leave the window that was running the online course.  The problem is that it seems only to create this pop-up window when the student uses MS Internet Explorer.

    We ensured that pop-up blockers are disabled when we tested Firefox and Chrome, but it does not solve the problem.  The PC used to test this did Flash Player loaded on them for Firefox and Chrome.

    I initially had my command output on the same page of action after a number of breaks, so I tried to move later on a different page and added more than action breaks, in which case it was a timing problem.

    Someone there to meet other this problem where to open a URL or a file doesn't seem to work Firefox and Chrome even when no pop up blockers were?

    advancedact.jpg

    I want to Captivate 9, but I can't use this version because they have made some internal changes and now my Javascript does not work properly.  Therefore, I must stay with Captivate 8 until they fix their code base.

    Thank you

    Randy

    These breaks don't do anything. They break just the timeline.

    Your JavaScript does nothing no more. You try to set a Captivate variable called 'cmi.exit' that does not exist. You must use:

    SCORM2004_CallSetValue ("cmi.exit", "suspend");

    You must also set the request of nav:

    SCORM2004_CallSetValue ("adl.nav_request", "suspend");

    If there is a problem with a popup being opened in Flash, I would put everything inside an external function. You can put it in the standard.js

    function myExit()

    {

    SCORM2004_CallSetValue ("cmi.exit", "suspend");

    SCORM2004_CallSetValue ("adl.nav_request", "suspend");

    Window.Open ("url to your survey")

    }

  • XP/Vista: Plugin Flash PPAPI 23.0.0.162 does not work in Opera and chrome

    After flash updated to version 23.0.0.162 PPAPI plugin stop working in all browsers based on Chromium (except Chrome, because help Chrome integrated PPAPI version 22.0.0.209). Browser based on Chromium (49 chrome, Opera 36) on the flash content display message "could not load plugin."

    In IE and Firefox Flash plugin works fine (and too much Chrome because use 22 ppapi plugin version).

    I have replace pepflashplayer32_23_0_0_162.dll ppapi dll version 22.0.0.209 of Chrome, browser based on Chromium restart display of flash content.

    Correct the dll PPAPI. This disorder stole 3 hours of my time.

    OS: Windows XP SP3 32-bit

    Browsers: Opera 36, chrome 49

    < Moderator: edited the title to better reflect the issue >

    This problem is fixed in the latest version 23.0.0.185 released today.

  • Why some functions of "click on" does not work with Firefox and Ebay and my mailbox?

    When you go to my mail (especially Yahoo mail) I can't click on the boxes that allow me to delete or anything else. In addition, I can't hardly use Firefox at all with Ebay and other sites because of a similar problem. For example, the cursor will not change even a 'hand' on 'Sign In' on Ebay, or it will allow me to change the page number, if I have multiple items to sell or buy. I had to change all my Bill pay sites for IE for this same reason. You have any ideas? I am currently using Firefox 17.0.1.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do not click on the reset button on the start safe mode window or make changes.
  • Why my php export feature does not work in IE and not firefox?

    Why my php export feature does not work in IE and not Firefox? I wrote a web application that contains a SigmaGrid. Grid controls reload, add update delete, print and export to CSV all work in IE8. The export function does not work in Firefox.

    Have you tried to test your application on IE7/8/9 and FF10/Chrome/Opera?

  • update 10.9.3 Mavericks and now scrolling does not work in Firefox.

    I've updated yesterday, and now the wheel on my mouse (optical mouse Belkin) does not work in Firefox. It works everywhere else, but not in Firefox.

    Can scroll you with the keyboard?

    On Mac, scroll bars may be hidden and are showing them when you scroll down the page, so you can see the current scroll position.
    The idea is that a Tablet is used that does not need to be visible and therefore more screen real estate for the navigation area, scroll bars.
    You can make scroll bars always appear:

    • System Preferences > General > display the scroll bar > choose "always."

    Note that on Mac you can turn on or off the mode full screen with command + SHIFT + F.

  • Google does NOT WORK with Firefox 3.6.8 and you can type in search, but clicking next is a link dead; does nothing?

    Google does NOT work on Firefox 3.6.8 suddenly today. You can type in search and get the results on the first page. By clicking on the link "next" or no matter what number links is dead. Yahoo and Bing seem to work. I don't have a Google toolbar. Very frustrating. It happens all of a sudden today. Please check into it.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).

    See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problems

    Your above posted the details of the system tampon() obsolete show with known risks of security and stability.

    • Shockwave Flash 10.0 r22

    Update the Flash plugin to the latest version.

  • email does not work in firefox

    I have three emails from domain, in which one of them stopped working with firefox. All three works with internet explorer or google chrome. There is one who does not work with firefox.

    Here is what I thought happened. For Firefox. When you go to tools/options/content. Exceptions by side of block popup windows. I clicked on the exceptions and the mailbox of secureserver.net was there and blocked. I then deleted, added that send him back in and checked allows it. Bingo that was the problem. Hope this can help someone else.

  • dedicated on microsoft 4000 keyboard back button does not work with firefox

    Hello-

    I have a microsoft 4000 keyboard.

    He dedicated the buttons back and next to the navigation of the browser: http://xahlee.info/kbd/ms_keyboard/i/ms_n4000_keyboard_LED.jpg

    the back button does not work with firefox

    other info: the next button does not work with firefox. buttons next and previous works with IE, tor and chrome. the keyboard shortcut for back in firefox (alt + left arrow) does not work.

    I've tried clearing cache and cookies and start firefox in safe mode.

    advice?

    Hello

    Thanks for posting your query in Microsoft Community.

    I understand you have questions only by using the back button in the Firefox browser.

    But I would like more information on this topic in order to help you.

    (1) the back button worked before with Firefox?

    (2) don't you make changes before this problem?

    According to your description, there is no problem with the material since it works with Internet Explorer and Google Chrome. Previous key does not only work with Firefox. Therefore, I would advice you to check with Firefox and see if that helps, because they have more expertise on products here to help you better.

    Support for Firefox

    https://support.Mozilla.org/en-us/products/Firefox

    Hope this information is useful. Please write us back for assistance.

  • Flash Player 21.0.0.242 does not work on Firefox 46.0.1 after installation of Windows 10

    Flash Player 21.0.0.242 does not work on Firefox 46.0.1 after the installation of 10 Windows on a laptop of Dell XPS 17 L702X. Continuously, it crashes. It works great with IE and Chrome.

    I tried the following:

    -Disabling Add-ons on Firefox

    -Do a clean installation of Flash Player

    -Do a reinstall of Firefox

    When I use "Flash Player Help" to check if Flash Player is installed, he said that my operating system is Windows 7. It is not; It's Windows 10. I used recommend it download when I looked at the Adobe Web site.

    What should I do to get Flash Player to work on Firefox?

    Thanks in advance for your help.



    I downloaded the 64-bit version of Firefox and Flash Player works now

    fine. I left the 32-bit version on my computer at the moment.

    Thanks a lot for your help. I really appreciate it.

  • One of my style of &lt; hr &gt; does not work in firefox?

    One of my style of < hr > does not work in firefox? However, it works in safari and chrome, so that I have a different style of < hr > who does not work on firefox.

    < hr style = "color: # 2793-3;" background: #898888; Width: 100%; height: 1px; ">

    HR {height: 1px; border: none; color: # 2793 3; background-color: #000;}

    }

    (the above rule doesn't work, but this one is not any ideas why?)

    < hr style = "color: # 2793-3;" background: #898888; Width: 100%; height: 1px; ">

    Thank you!

    Try

    HR {border: Blue thin insert ;}}

  • Deduplicator bookmark does not work with Firefox 35. What should I do?

    It worked before I installed the latest version of Firefox. Now whenever I press start remove duplicates, nothing happens. Please help me understand what to do. I use Mac 10.9.5. Thank you!

    https://addons.Mozilla.org/en-us/Firefox/addon/bookmark-Deduplicator/

    The last review of the user of this extension mentions that he does not work in Firefox 35. Other than to wait that the developer of this extension realizes its extension is broken and fix it on what you can do, is looking for a replacement / extension of replacement with this feature. Unfortunately, the developer did not provide a contact email link to encounters with bugs or comments and did not provide a "home page" with the details either.

  • Flash audio does not work in Firefox 31.0

    Audio Flash works in chrome. Have tried without success the following:
    -Reset of Firefox
    -Reinstall the Flash plugin

    Thank you for taking your time to help out me.

    EDIT:
    I noticed in all: plugins list for 'FutureSplash Player '. Which maybe has something to do with the problem?

    On Linux Adobe ceased support Flash for Firefox.
    There is only security update of Flash 11.2 available.
    If web pages requires a newer version of Flash then they will not work with Firefox and you would have to use Google Chrome.

    This happens with all the pages that use the Flash plugin?
    Did you check if the player has a volume slider?

    You can see the issues with cookies and 'Delete the Cookies' from sites causing problems:

    • Edit > Preferences > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".

    You can try to erase the Flash local storage and settings.
    Adobe Flash Player preferences: storage

    Flash Website storage settings panel:

    Global storage settings panel:

  • Yahoo speaker icon Chinese big5 dictionary web to pronounce the Word does not work on firefox 26,27.

    http://tw.dictionary.search.Yahoo.com/search;_ylt=A3eg.nXHREBSxRUAzBh7rolQ?p=test & fr = SFP
    the speaker icon of web for the Word does not work on firefox 26,27. It works on firefox 24,25.

    Hello mizuc, thanks for reporting that - I can reproduce the problem and get an error in the web console:

    Media resource http://___.mp3 could not be decoded.
    

    Edit: I have filed bug 919572 for this question

Maybe you are looking for

  • TBird causes the computer stops responding.

    TBird 38.1.0 (automatic update on), Lenovo T61, Win 7 Pro (auto update on), Microsoft Security essentials (automatic update on). Problem started a couple of days after, add a calendar on (lightning?) had installed without authorization or request. TB

  • Flow: Not started correctly

    My phone ran into a cycle and does not start. He goes along and always ends the automatic repair screen with the message "your PC is not started correctly.

  • graph - hot to show additional scale programaticaly there?

    Hello I am using graph with lv 8.6. I comes with 6 channels of data and connected with graphic. I have to choose my channels and according to display him adapt each channels. This should be in a programmatic way. How to do this?

  • Some emails go directly to the box deleted instead of the Inbox

    I have Internet Explorer 8.  After several years of use, some emails go directly to my Inbox deleted instead of my Inbox.  Why and how do those little emailst o comes in my Inbox?

  • Cannot run Director error code 0 x 80070057

    I am trying to run windows movie maker and when it starts it gives me this code and stops, I reinstalled windows live because that's what he told me to do, but it still won't let me run the Director, TIME PASSES, I need an answer and a solution to my