navigateToURL doesn't work in .html

Hello!

I have a button in my flash which leads to another .html page. Here is my as3 code:

formations.addEventListener (MouseEvent.CLICK, myBtnClicked);

function myBtnClicked(e:MouseEvent):void {}

navigateToURL (new URLRequest (www.thelink.com));

}

When I saw Flash, it works fine. When I look at the single .swf file, it works fine also. But when I open it in my .html file, nothing happens!

I looked in different forums looking for a possible solution: someone said to change all the settings for allowScriptAccess to "always" in the .html code, which I did and it still doesn't work. Another person said to change all the parameters allowFullScreen to "true" (I made too, although I'm not sure of how this might solve my problem).

In the Adobe help pages I found that if I added a parameter to my navigateToURL as _blank, security would be higher, so I removed it: still does not work.

In Chrome, I get an alert message that tells me to change my flash player settings: but I can't really expect people to do.

So, I'm out of ideas here... Any help would be most appreciated. Thank you very much!

Have you tried to test on a server?

Tags: Adobe Animate

Similar Questions

  • navigateToUrl doesn't work anymore in 0.9.4

    It seems that 'navigateToUrl' no longer works in 0.9.4 Simulator. Is there another way to open the external browser with a url?

    Here is my code (really nice works in 0.9.3 but not in 0.9.4):

    package
    {
        import flash.display.Sprite;
        import flash.events.MouseEvent;
        import flash.net.*;
        import qnx.ui.buttons.LabelButton;
        import qnx.ui.core.Container;
        import qnx.ui.text.TextInput;
    
        /**
         * ...
         * @author Siron
         */
    
        // The following metadata specifies the size and properties of the canvas that
        // this application should occupy on the BlackBerry PlayBook screen.
        [SWF(width="1024", height="600", backgroundColor="#cccccc", frameRate="30")]
    
        public class Main extends Sprite
        {
            private var main:Container;
            private var browse:LabelButton;
            private var url:TextInput;
    
            /**
             * constructor
             */
            public function Main():void
            {
                main = new Container();
    
                // feld für url erstellen
                url = new TextInput();
                url.width = 250;
                url.y = 3;
                url.text = "http://devbar.de";
                main.addChild(url);
    
                // button zum browsen
                browse = new LabelButton();
                browse.setPosition(255, 1);
                browse.label = "Go";
                browse.addEventListener(MouseEvent.CLICK, btUrlClicked);
                main.addChild(browse);
    
                // container auf die stage stellen
                main.setSize(stage.stageWidth, stage.stageHeight);
                addChild(main);
            }
    
            /**
             * zu url browsen, wenn button geklickt wurde
             * @param   event
             */
            private function btUrlClicked(event:MouseEvent):void {
                navigateToURL(new URLRequest(url.text));
            }
    
        }
    
    }
    

    It is a known problem in 0.9.4 and the only thing you can do is to wait for 1.0 (scheduled daily now) or return to 0.9.3 to test.

    Note that you can use the 0.9.3 sim for many (most? all?) tests of the things built with 0.9.4 aside things that are ground in 0.9.3 (such as noise).

    NavigateToURL() is broken is mentioned, indirectly, on the WebWorks known issues page, although I don't remember see the equivalent of Tablet OS.

  • navigateToURL doesn't work not once online

    I'm having a problem with multiple in one document navigateToURL actions, file works fine test it offline, but once online, the links do not work, I was wondering if someone could advise me on the problem, please see the code below, thanks for reading.

    bagsButton.addEventListener (MouseEvent.CLICK, clickHandler);

    function clickHandler(event:MouseEvent):void {}

    navigateToURL (new URLRequest ("http://www.---.com"), '_self');

    }

    walletsButton.addEventListener (MouseEvent.CLICK, clickHandler2);

    function clickHandler2(event:MouseEvent):void {}

    navigateToURL (new URLRequest ("www.---.com"), "_self");

    }

    pursesButton.addEventListener (MouseEvent.CLICK, clickHandler3);

    function clickHandler3(event:MouseEvent):void {}

    navigateToURL (new URLRequest ("www.---.com"), "_self");

    }

    I used this code of lynda.com, and it worked perfectly for me. I hope this works. (* Note: it's ActionScript 3)

    lynda_btn.addEventListener (MouseEvent.Click, gotoLynda);

    function gotoLynda(evtObj:Event):void {}

    var theSite:URLRequest = new URLRequest ("http://www...com");

    navigateToURL (theSite, "_self");

    }

  • navigateToURL doesn't work in the browser after publish

    Hi all

    I have another problem with my flash project.

    I developed and finished my flash project and then put to the test. It works fine and everything is OK. But web links does not work and do not send any exception.

    I used navigateToUrl command thousands of times before, and it's a very simple code to use. But for now, it does not work when I publish it and preview in the browser page.

    PS: I checked if it is related to the type of browser and verified in 5-6 different browsers and versions but still the same.

    Here are the 3 lines of simple code that I use (I use always my every project as well)

    myweblink1.addEventListener (MouseEvent.MOUSE_DOWN, MCG);

    function mcg(e:MouseEvent):void

    {

    var targetURL:URLRequest = new URLRequest ("http://www.anysite.com");   or address may be just: 'loginpage.aspx'

    navigateToURL (targetURL, "_blank");

    }

    could you please help with this problem?

    Thanks and greetings

    Have you tried to test on a server?

    When you test in Flash, see if you get the trace when you click on these buttons.

  • navigateToURL doesn't work do not publish an excerpt

    Hi all
    IM using the code below to open a URL from a swf file. It works very well tested in the IDE, but when I do a preview of publish and display in IE7, the link does nothing more.

    The code of the clicked function is called still.

    Am I missing a quirk of security here? Anyone can shed some light?

    Thank you

    Its the security sandbox. Urgh

  • IE browser OK on my Web site (MS Expression Web)... of the internal hyperlinks OK... but using the links in firefox on only the first page (default.htm) key doesn't work.

    Doesn't work on the url below the single page, in part, is not on the website... buttons on top. Internal hyperlinks do not work in Firefox, so that they do it in IE. There are other hypertext links on this page, not attached to a button, which works. (Buttons on other pages in the Web site are work.) It is just this defualt.htm a page presenting the problem.) The program used for the Web site is Microsoft Expression Web first version upgrade of MS FrontPage.

    The row of blue buttons? For some strange reason, MS Expression Web is superimposing an empty table in front of the table that contains the buttons. IE allows you to click on a transparent element but Firefox does not work, if you find yourself clicking on the useless empty table.

    In your editor, place in the HTML mode and search for layer47. This is a < div > element that contains an image. It is followed by a < table > that has the same number of cells as the table with buttons, but in this table all the white cells. Delete this table, record and retest.

  • subscription to adobe illustrator. With my money withdrawn credit card, but subscription does not work (and it doesn't work all day). What do I do?

    I made an annual subscription to adobe illustrator. With my money withdrawn credit card, but subscription does not work (and it doesn't work all day). What do I do?

    I read that it will take as much as 24 hours for a purchase to show your Adobe account

    Your subscription to cloud shows correctly on your account page?

    If you have more than one email, you will be sure that you use the right Adobe ID?

    https://www.adobe.com/account.html for subscriptions on your page from Adobe

    .

    If Yes

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp

    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html

    .

    If no

    This is an open forum, Adobe support... you need Adobe personnel to help

    Adobe contact information - http://helpx.adobe.com/contact.html

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    -Select your product and what you need help with

    -Click on the blue box "still need help? Contact us. "

  • I have adobe photoshop elements 9. I changed Windows 8.1 for windows 10. Now it doesn't work. When I trty to reinstall the software, windows will uninstall it. I habe no icon on the desktop to start the program. For this purpose I can't use it. What I hav

    I have adobe photoshop elements 9. I changed Windows 8.1 for windows 10. Now it doesn't work. When I trty to reinstall the software, windows will uninstall it. I habe no icon on the desktop to start the program. For this purpose I can't use it. What should I do? Thanks for your help. Wolf-Eberhard

    Check your installed programs and so PES 9 is listed, uninstall it by using uninstall.

    Then clean by http://www.adobe.com/support/contact/cscleanertool.html

    Restart your computer, and then reinstall pse 9.

  • Downloaded cloud of CS of the trial, the trial has expired but did not continue, the time to be happy with CS5.5. Now my Acrobat doesn't work, decided to reload all the software, while downloading, an error appears: exit all applications: SafariCloudHisto

    Downloaded cloud of CS of the trial, the trial has expired but did not continue, the time to be happy with CS5.5. Now my Acrobat doesn't work, decided to reload all the software, while downloading, an error appears: exit all applications: SafariCloudHisto, why can I not proceed with the download, quit all programs that are restarted, everything always the same message. Any thoughts there?

    See the link below:

    https://helpx.Adobe.com/Acrobat/KB/install-prompt-close-safarinotificati.html

  • I have Adobe ID (* E-mail address Removed *) I want to buy Adobe Illustrator and Adobe Indesign for a year, but when I try it doesn't work. I see only the loading...

    I have Adobe ID (*deleted Email address *) I want to buy Adobe Illustrator and Adobe Indesign for a year, but when I try it doesn't work. I only see loading...

    Borisp40653041 it is likely that the difficulties to install the Adobe Creative application and the inability to communicate with our support team are both affected by your current web browsers security settings or modules.  Please try the links offered by Mary in another web browser.

    I recommend also to install and update applications - https://helpx.adobe.com/creative-cloud/help/install-apps.html , which deals with the installation procedure of applications Adobe Creative, included with your membership, using creative Cloud Desktop.

  • Why PDF doesn't work, when the table of contents are enabled?

    Hello

    When I activate the TOC function in the skin editor and publish my project in PDF format, the file does not work and contains only quads and strange traits.
    What is the reason for this?

    I used 4 before Captivate and everything worked fine. Now, with Captivate 6, I had this problem or a bug.

    Thank you very much for the help!

    Concerning

    Martin

    Hello, welcome,

    It is a known problem. There is a fix (see link), but if you have used an image of the poster will not visible:

    http://helpx.Adobe.com/Captivate/KB/Captivate-SWF-doesn ' t-play - acrobat.html

    Lilybiri

  • bought iphone7 pluse Qatar facetime doesn't work for the sim card of the India

    Hello Sir,

    I bought iphone7 pluse in qatar that the facetime doesn't work for the sim card of the India. and also before 2 years I bought the iphone 6, as well as in the same countries qatar, but that works perfectly and facetime works for me. the difference what I unbox my 6plus in indai, I unbox my 7plus in qatar and I put the sim card of sri lanka first and tried to India sim then and facetime disappear from the home screen. at the point where I insert my card sim of qatar is worrking. Please I need help. If I buy another piece of 7plus and bring it in sri lanka or India my facetime work? or what? I'm totally confused plese answer me as fast as you can

    FaceTime is forbidden by the law in Saudi Arabia and the UNITED Arab Emirates and is removed from iPhones sold in other countries of the Middle East, if they are used outside the country where they were originally sold. If you plan to use an iPhone outside the Middle East, then don't buy it in the Middle East. The one you bought there FaceTime was illegally imported from another region and sold it.

  • Since macos sierra my isight FireWire doesn´t work with Facetime

    Until El Capitan works my FireWire iSight without problem with Facetime. After the upgrade to sierra, my iSight FireWire doesn´t work with Facetime, only with Photobooth!

    Fact the iSight camera please about this Mac-> System Report-> Firewire? What is the year/model of your Mac?

  • WiFi doesn't work do not

    A year and half ago we bought a new Mac and the Time Capsule (TC) to go with it. I tried to set up at the start and think about this topic, I do not think that it has never worked properly. I say this because we got a new modem without router because time Capsule has an inside, and we are unable to connect to wifi. I have a TB Ethernet connection and if I can get online in this way, but the WiFi does not work. Last night, I went through and set up and the WiFi worked, but today it no longer works and I can't seem to do it again.

    The indication of WiFi signal says I'm connected, on my Mac and on our phones, but when you disconnect from data it no longer works. It's very frustrating because I don't want to have to go back to a modem/router of the rental of our cable company.

    We have just upgraded to OS X El Capitan 10.11.6

    When it worked last night I created everything from scratch. But I do not think that I would have to do every time I need to use the internet. I also tried to create a WiFi with a custom DNS but that doesn't work anymore.

    Any help would be appreciated.

    Thank you.

    Amazing!

    I am so embarrassed but understand that I would update in the case where everyone does the same thing.

    When I put in 1.5 years ago I went from ethernet cables. The Ethernet cable from the modem was connected to the LAN port and the Ethernet cable from the Mac was connected to the WAN. Once I put the cable from the modem to the WAN everything has worked.

    Sometimes, just come back to square one.

  • with firefox 43 yahoo and yahoo mail doesn't work does not correctly

    With the help of win 7 and firefox 43.0.1, I have 4 computers and now all have problems with yahoo and yahoo mail doesn't work does not correctly. Loading sites, but most of the features are missing and clicking on what whether changes to the lists of text. I have disabled flash / anti-spam etc., cleared cookies and cache and even firefox loaded down once again and have upgraded, no help. I'm forced to use IE now.

    I tried Yahoo support, they said try Firefox... In any case, it's Firefox and I found a solution using the 'Refresh Firefox' button. Whatever the problem was fixed on two of my computers so far. Got to update my setting again but it's 10 m, compared to the 10 hours I spent trying all that is nothing.

    Thanks for the help!

Maybe you are looking for

  • Whenever I'm opening a new tab this message arrives

    THA is the message I get: www.My-Online-Search.com/?babsrc=NT_ofln & mntrId = CA7A54EFA3B81484 & cat = Dale & offer = Optimizer & dlb = 1 & Mntrid = 12 Two antivirus and antimalware three programs cannot find something, and whenever I try to open a n

  • MacBook pro keeps freezing. No indication as to why.

    Hello My MacBook Pro 1 year has, in the last month or so started freezing more often. They are like old-school crashes. The machine freeze, no sign of kernel panic, do not seem to get a log of crash for half of them, those I do not seem much differen

  • where can I find this file base07a.vhd?

    Hello I want to know where I can download this base07a.vhd file? I want to have lunch a SQL Server Integration services. Thank you

  • HP4620 black cartridge does not print

    My HP4620 all in one - the black cartridge will not print.  I encountered this problem in the past, but it has been resolved with an ink cartridge.  However, this time I replaced the new cartridge and still the black will not print.  I did all the di

  • POWER OUTAGE FOR THE CMOS RTC

    Original title: startup problem When I plug the switch on my laptop, my laptop start automatically without pressing the Start button and a message is displayed as the CMOS RTC POWER FAILURE. Press F1 to continue and press F2 to setup.when I press F1,