AS3 Code Snippet (url button) not working in firefox

Hi,
This code works fine for my flash site:
ovbutton.addEventListener(MouseEvent.CLICK, fl_ClickToGoToWebPage_5);
function fl_ClickToGoToWebPage_5(event:MouseEvent):void
          navigateToURL(new URLRequest("http://www.starnavigation.ca/vision.html"), "_self");
However, within firefox (7.0.1), once the back button is pressed the button does nothing. Works great with every other browser. It basically only works once, until I reload the page. Any ideas???

Check if you have set "allowScriptAccess" to "allways".
If you embed flash like this,
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″
codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0″ width=”700″
height=”322″>
<param name=”movie” value=”intro.htm”>
<param name=”quality” value=”high”>
<embed src=”intro.htm” quality=”high”
pluginspage=”http://www.macromedia.com/go/getflashplayer” type=”application/x-shockwave-flash” width=”700″
height=”322″></embed>
</object>
you have to add it in two places: one is for IE and other for FF, Opera, chrome..
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″
codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0″ width=”700″ allowscriptaccess="true"
height=”322″>
<param name=”movie” value=”intro.htm”>
<param name=”quality” value=”high”>
<param name="allowscriptaccess" value="true">
<embed src=”intro.htm” quality=”high”
pluginspage=”http://www.macromedia.com/go/getflashplayer” type=”application/x-shockwave-flash” width=”700″
height=”322″></embed>
</object>

Similar Messages

  • URL Does Not Work in Firefox, but DOES Work in Other Browsers

    The following URL does NOT work in Firefox. However, it DOES work in Internet Explorer and Google Chrome:
    https://www.ascap.com/ace/
    The main ASCAP URL works just fine. The problem seems to be confined to this link alone. Please fix; thank you!

    There is a server redirect on this URL.
    <pre><nowiki>
    https://www.ascap.com/ace/
    GET /ace/ HTTP/1.1
    Host: www.ascap.com
    HTTP/1.1 302 Found
    Location: https://www.ascap.com/Home/ace-title-search/index.aspx</nowiki></pre>
    If you use a bookmark then try to navigate to the want page starting with the main (home) page.
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"

  • Back Button not working in FireFox 4

    Is anyone else having trouble with the back and forward buttons not working in FireFox 4? I installed 4 on an XP desktop and a Vista 64 laptop, and the forward and back buttons don't work on either installation. Does anyone know a fix for this? I tried deleting the "places" files in the profile and that does not help.

    I am having a problem with the back button also in Firefox 4. Firefox forgets the 1st page in any new session or tab. If I open a tab to say bbc.com and navigate to guardian.com I can't click the back button to get back to bbc.com.

  • Javascript "Play Video" button not working in Firefox

    When clicking on "play video" (java), QuickTime will not open while using firefox. It does work in Google Chrome and IE. I have tried using a clean user profile & allowing popups, and I made sure the Java and QuickTime addons were working and up to date.
    The problem is with twit.tv/twit. Clicking the "Live" link on google.com does play the live stream, but the actual Java buttons are not working in Firefox.
    == URL of affected sites ==
    http://twit.tv/twit

    Make sure that you do not block [[JavaScript]]
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • Help button not working on firefox.How to fix?

    help button not working.

    Hello,
    Lets give Firefox some Tuneup.
    The Refresh feature (called "Reset" in older Firefox versions) can fix many issues by restoring Firefox to its factory default state while saving your bookmarks, history, passwords, cookies, and other essential information.
    '''''Note:''' When you use this feature, you will lose any extensions, toolbar customizations, and some preferences.'' See the [[Refresh Firefox - reset add-ons and settings]] article for more information.
    To Refresh Firefox:
    # Open the Troubleshooting Information page using one of these methods:
    #*Click the menu button [[Image:New Fx Menu]], click help [[Image:Help-29]] and select ''Troubleshooting Information''. A new tab containing your troubleshooting information should open.
    #*If you're unable to access the Help menu, type '''about:support''' in your address bar to bring up the Troubleshooting Information page.
    #At the top right corner of the page, you should see a button that says "Refresh Firefox" ("Reset Firefox" in older Firefox versions). Click on it.
    #Firefox will close. After the refresh process is completed, Firefox will show a window with the information that is imported.
    #Click Finish and Firefox will reopen.
    Did this fix the problem? Please report back to us!
    Thank you.

  • URL buttons not working in Powerpoint

    Hi
    I have just created an Xcelsuis report and exported this to Powerpoint. 
    Now it opens up fine in Powerpoint, but my URL buttons do not work (they do not open the excel files i want, i.e. My button is URL: C:\Test\Test.xls)
    When exporting to a pdf format this URL button works fine.
    Please can you advise how I can get this working for my Powerpoint.
    Thanks!

    When you export the SWF to your desktop or into a PPT it will not have permission to access external data by default (or call a URL).
    You need to add C:\Program Files\...\PowerPoint.exe as to the list of trusted items using the Adobe Global Security Settings Manager, see the Xcelsius Release notes for more information about the Flash Player Security...
    Regards
    Matt

  • Open URL button not working on MAC CP 5.5

    ok I have so far worked on captivate 5 for PC published
    all my software and made a distributable cd version all works fine.
    now I downloaded the free trial version 5.5 for Mac and I was able to keep the open another project working fine by publishing as SWF but for some reason the open URL button which opens a web page seems to do nothing I can hear the click but nothing opens. Any idea why?

    Go to the Apple store it has a warranty which they fix or give you a new iphone. You could up to a certain time buy the $99 Apple Care Plan. Much better than going to Verizon and getting a refurbished iphone. Never use Verizon for your iphone.
    Go to the Apple Store and you will be much happier that you did.
    They repair the phone and your not getting someones elses problem phone in its place.
    Even if Apple charged me I would rather pay them then go through Verizons jump through hoops.
    The Apple Store can tell you via calling them or going to the store. You have a one year manafactures warranty from Apple go to them.
    Good Luck

  • Soical buttons not working in firefox & Chrome but OK in Safari

    My webiste has been up and running for a month now but I've now noticed (among an array of other Muse bugs... aaaggghhh) that the 'Facebook Recommend and the 'Pin it' social widget buttons don't work in Firefox and Chrome but they do in Safari?
    http://www.thinksmartresumes.com.au/parthorus-resumes-design.html (freebie tab)
    Also on this page, the 'LinkedIn share' button works fine in Safari and Chrome but not in Firefox? See screen shots...
    The Muse Team (ie Danni Beaumont) clearly state in all the tutorial videos that they guarantee multi-platform user friendly code.... I spend half my day finding bugs between different browsers? Not happy.

    I am having similar issues - the URL that the plugin insists it wants to have complete (with http:// at the front) is being concatenated with another "http://" when it is rendered on the page.
    This is the URL I have in the properties for the button:
    But this is the URL that shows up in the Share dialog:
    If I take the http:// OFF the property for the button (so, I start with "www...."), the widget doesn't render.  I get an error that the thumbnail can't draw. 
    Yes, annoying. 

  • The Downloads Clear List Button Not Working In Firefox 19.0

    Hello,
    After upgrading Firefox to version 19.0 today, I noticed that the Downloads Clear List Button does not work & is always grayed/greyed out, and so you can not clear all downloads; and so you have to remove them each one-at-a-time.
    I did not have this problem until upgrading to version 19.0
    Screenshot:
    http://www.use.com/showoriginal.pl?set=1c0659d1946249dc69dc&p=1
    Thank you,
    -John Jr

    I made a bug report:
    https://bugzilla.mozilla.org/show_bug.cgi?id=845450

  • AS3 sound pause/play buttons not working

    I have three buttons:play_btn, pause_btn; and stop_btn within a movie clip labeled controller.
    I can't make the play button start where the pause button is left. Everytime, the sounds starts from the beginning.
    Please help!
    var mySoundReq65:URLRequest = new URLRequest("sounds/pronouns.mp3");
    var mySound65:Sound = new Sound();
    var mySoundChannel65:SoundChannel = new SoundChannel();
    var lastPosition:uint= 0;
    var isPlaying:Boolean = new Boolean();
    var isPaused:Boolean= new Boolean();
    mySound65.load(mySoundReq65);
    controller.play_btn.addEventListener(MouseEvent. CLICK, playSound);
    controller.pause_btn.addEventListener(MouseEvent. CLICK, pauseSound);
    controller.stop_btn.addEventListener(MouseEvent. CLICK, stopSound);
    // play sound
    function playSound(event:MouseEvent): void{
    if(!isPlaying){
    mySoundChannel65 = mySound65.play();
    if(isPaused) {
    lastPosition=Math.floor(mySoundChannel65.position);
    mySoundChannel65 = mySound65.play(lastPosition);
    isPlaying=true;
    // pause sound
    function pauseSound(event:MouseEvent): void{
    if(isPlaying)
    lastPosition=Math.floor(mySoundChannel65.position);
    mySoundChannel65.stop();
    isPlaying=false;
    isPaused=false;
    else if (isPaused){
    mySoundChannel65=mySound65.play();
    isPlaying=true;
    isPaused=false;
    // stop sound
    function stopSound(event:MouseEvent): void{
    SoundMixer.stopAll();
    lastPosition=0;
    mySoundChannel65.stop();
    isPlaying=false;
    Thanks in advance for any help.

    Kglad:
    Thanks for replying again. I fixed my script and it's working fine now. The final script is as follows:
    var mySound65:Sound = new Sound();
    var mySoundChannel65:SoundChannel = new SoundChannel();
    var lastPosition:Number= 0;
    mySound65.load(new URLRequest("sounds/pronouns.mp3"));
    var isPlaying:Boolean = new Boolean();
    controller.play_btn.addEventListener(MouseEvent. CLICK, playSound);
    controller.pause_btn.addEventListener(MouseEvent. CLICK, pauseSound);
    controller.stop_btn.addEventListener(MouseEvent. CLICK, stopSound);
    // play sound
    function playSound(event:MouseEvent): void{
    if(!isPlaying){
    mySoundChannel65 = mySound65.play();
    isPlaying=true;
    if(lastPosition>0) {
    mySoundChannel65 = mySound65.play(lastPosition);
    controller.play_btn.visible=false;
    controller.pause_btn.visible=true;
    // pause sound
    function pauseSound(event:MouseEvent): void{
    lastPosition = mySoundChannel65.position;
    mySoundChannel65.stop();
    controller.play_btn.visible=true;
    controller.pause_btn.visible=false;
    // stop sound
    function stopSound(event:MouseEvent): void{
    SoundMixer.stopAll();
    lastPosition=0;
    mySoundChannel65.stop();
    isPlaying=false;
    controller.play_btn.visible=true;
    I added a couple of things:
    a) To avoid clicking the same button more than once, I made either pause or play button invisible.
    b) The solution was to include the following conditional in the play button:
    if(lastPosition>0) {
    mySoundChannel65 = mySound65.play(lastPosition);
    Thanks again!

  • Submit By Email button not working in FireFox 25.0.1

    If the form is saved to desktop or opened in IE, we are not seeing any issues. However, when clicking on the submit by email button in in FireFox 25.0.1, a pop-up appears to choose the default email program or a web email program. We use Outlook and it is set by default. After checking the Outlook option, the form freezes for about a minute and the email window with the PDF attached never appears.
    I'm using the built-in Submit By Email button in Livecycle Designer 9.
    <event name="event__click" activity="click">
    <submit format="pdf" textEncoding="UTF-8" target="mailto:[email protected]?subject=EBSS User Renewal Request- Approval Needed Request"/>
    </event>

    If the PDF submits to a server-side script URL it can bypass client-side email software.
    Try the online PDF submission examples and see if it works for you in Mozilla FireFox:
    http://www.pdfemail.net/examples/
    You should also make sure the browser is using the Adobe Reader plugin as the default PDF reader.
    http://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html

  • Autoproxy URL is not working in firefox but same is working for IE after connecting to VPN

    Seems like different issue.
    When I connect to office VPN,it automatically use autoconfiguration script in IE and I am able to access websites in IE but when I try the same in mozilla & enter autoconfiguration URL in mozilla firefox, it didnt work.Kindly help me out with this to fix the issue.

    manual proxy works ...problem is when i enter automatic proxy configuration URL it didn't work and also reload button besides it is also disabled.

  • Navigation (Back/Forward) buttons not working in Firefox

    I'm tring to put together a Browser Based help guide, and for the most part it's working as intended... except for the navigation buttons within the help guide themselves. By that I mean...
    Those guys. The way I would assume they work is that they provide back/forward navigation between topics as you move through the guide, but they don't seem to be functional. As in, they do nothing, ever. They don't even act clickable.
    (The forward and back buttons provided by my browser do seem to work, but I'd like to get these working, as well.)
    We're testing mostly in Firefox 13; we've also tried IE 9, and the buttons work correctly. Any ideas?
    (output is from RH9, for the record)

    Hi there
    It's odd that these would work fine in IE. To my knowledge, they aren't there to navigate from visited topic to visited topic and back. Unless I'm mistaken, they are there to traverse one or more Browse Sequences that have been defined.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Raido buttons not working in fox

    Radio buttons not working in firefox. This is the link. http://www.richardarobinson.com/newSite/html/getaquote.html
    Can someone show me or tell me what i can do.
    Thanks

    A couple minor errors.  First, you have the ID "radio" used twice on your second group of radio buttons.  IDs can never be used more than once on a page.  Adding a number at the end can solve this.
    Also, you are using XHTML so your <input> tags should end with "/>" instead of ">". 

  • PrevFrame() buttons in a swf file inserted in html not working in Firefox

    Hi!
    I have a very weird problem.
    I have created a photo gallery using AS3 in Flash CS5. I have used prevFrame() and nextFrame() actions for "previous photo" and "next photo" buttons as well as for "previous thumbnails" and "next thumbnails" buttons.
    All the buttons work fine when i run the swf files as well as when i run the swf files in Firefox 8.0 and IE9. However, once I insert this swf file into my html file using Dreamweaver CS5->Insert->Media->swf, the "previous" buttons dont work in Firefox 8.0! the previous image button works sometimes whereas the previous thumbnails button does not work at all!  They work fine in IE9. The next buttons also work fine in every browser. Heres my code:
    stop();
    thumbprev_btn.visible=false;
    next_btn.addEventListener(MouseEvent.CLICK, nextimage);
    prev_btn.addEventListener(MouseEvent.CLICK, previmage);
    thumbprev_btn.addEventListener(MouseEvent.CLICK, prevthumbs);
    thumbnext_btn.addEventListener(MouseEvent.CLICK, nextthumbs);
    function nextimage(event:MouseEvent):void
    if(mc_content.currentFrame==mc_content.totalFrames)
    mc_content.gotoAndStop(1);
    else
    mc_content.nextFrame();
    function previmage(event:MouseEvent):void
    if(mc_content.currentFrame==1)
    mc_content.gotoAndStop(mc_content.totalFrames);
    else
    mc_content.prevFrame();
    function nextthumbs(event:MouseEvent):void
    thumbprev_btn.visible=true;
    nextFrame();
    if(currentFrame==3)
    thumbnext_btn.visible=false;
    function prevthumbs(event:MouseEvent):void
    thumbnext_btn.visible=true;
    prevFrame();
    if(currentFrame==1)
    thumbprev_btn.visible=false;
    Please help.

    Thankyou Ned. The html file published by flash worked perfectly however the problem persisted even if i used this html file's code. But strangely, the problem disappeared after a few days! Now the original dreamweaver code is also working fine.

Maybe you are looking for

  • How do I sync 'on my mac' calendar in ical with icloud or an alternative for my iphone?

    I'm using Outlook 2011  with 2 IMAP email addresses, a business email and a gmail address.  The only reason I'm using Outlook instead of Mail, Address Book and iCal is because there were issues with me receiving meeting invites from business colleagu

  • Annual consumption/ periodic invoice is posting cleared items of BBP plan.

    Hi Experts, For a CA with BBP plan whose slices have been paid, I have a situation where the anual consumption invoice is posting the paid/cleared slices of the BBP as well. This is a little strange as we have not made any changes to the configuratio

  • How to convert a JSP page into a PDF file?

    I am calculating and generating a bill in JSP? I want the output JSP page from the server to get converted to a PDF file. How to do this? Please help me doing this!

  • Subtotaling in ALV(urgent)

    Hi experts, can anyone tell how to achieve the subtotaling in ALV'S.any pseudo code .points will be awarded. Regards, nagaraj

  • MRP Forecast Template

    HI, Im currently forecasting alot of products to put through the MRP process (around 100). This needs to be done around 8 times a week. My question is that, is there anyway of creating a forecast template I could open with all products listed and I c