My AS3 in Flash buttons do not work in HTML.

Hey there,

I created a SWF with 5 buttons. I used the following code:

myButton1.addEventListener (MouseEvent.Click, f);

function f (e: Event) {}

navigateToURL (new URLRequest ("http://www.myurl1.com"));

}

MyButton 2.addEventListener (MouseEvent.Click, F2);

function f2(e:Event) {}

navigateToURL (new URLRequest ("http://www.myurl2.com"));

}

MyButton 3.addEventListener (MouseEvent.Click, F3);

function f3(e:Event) {}

navigateToURL (new URLRequest ("http://www.myurl3.com"));

}

MyButton 4.addEventListener (MouseEvent.Click, F4);

function f4(e:Event) {}

navigateToURL (new URLRequest ("http://www.myurl4.com"));

}

MyButton 5.addEventListener (MouseEvent.Click, F5);

function f5(e:Event) {}

navigateToURL (new URLRequest ("http://www.myurl5.com"));

}

It works perfectly fine when I export the SWF of Flash file.

When embedding the SWF in a HTML file, that nothing is happening. The buttons do not work, no error message, nothing.

Help someone?

Thank you!

The code looks perfect isn't the problem.  It could be your embed code for the web page.  Have you tried to let the Flash to publish an html page and then tested this page, or you rely on something else to create the embed code?

Tags: Adobe Animate

Similar Questions

  • Radio flash buttons do not work in Internet Explorer, they do not work in FF

    I read a recent post of amillionpiece re problems IE with Flash and follow his advice to remove the loop and Autoplay in DW Properties, but it effectively prevented this film to run at all
    I designed an interactive guide (parametric calculator) that requires pushing the buttons in Flash swf video. IE does not work and prevents the film to run. It works fine in FF.
    You must click on the 'PRICE' button on the middle of this page: http://www.mundi.com/auto.html to go to the swf. IE sometimes allows only 1 button to push. You must push each of them in a row to be able to view prices via the button "Check price" at the bottom right.
    Wonder what is the solution. Thank you.

    They actually sell you a car with tires already fixed...

    http://www.Adobe.com/support/Flash/downloads.html#flash8

  • Submit buttons do not work in HTML mode.

    I have a form with send by email button. If it is saved as a PDF file everything works fine.

    Via the Internet (whether in HTML or PDF profile) no e-mails are sent but also it redirects me to this url:

    http://192.168.1.82:8080 / lc/xfaforms/bin/submitaction that contains the XML code with form data.

    Here is the URL to use to open my form:

    Template = Buttons .XDP & http://192.168.1.82:8080/lc/content/xfaforms/profiles/default.html?contentRoot=repository% 3A%2F%2F%2FApplications%2FTest%2F1.0

    In addition, there are a few errors in server.log:

    2014-01-27 15:05:29, 463 WARN [com.adobe.service.J2EEConnectionFactoryManagerPeerImpl] (192.168.1.82 [1391079927332] GET /lc/content/xfaforms/profiles/default.html HTTP/1.1) Service: resources XMLFormService: ProcessResource@201d2a6 (name = XMLForm.exe, pid = 2596) could not predict an interruption to the transaction: TransactionImple < ac, BasicAction:-3f57fe65:f5f7:52ea2baa:4233 status: ActionStatus.RUNNING > because too much time has been spent waiting in the queue. Supplied timeout: 0 s, setting of waiting: 0 s, effective timeout: 0 s.

    2014-01-27 15:06:10, 329 WARN [com.adobe.service.J2EEConnectionFactoryManagerPeerImpl] (192.168.1.82 [1391079970221] POST/lc/bin/xfaforms/submitaction HTTP/1.1) Service: resources XMLFormService: ProcessResource@201d2a6 (name = XMLForm.exe, pid = 2596) could not predict an interruption to the transaction: TransactionImple < ac, BasicAction:-3f57fe65:f5f7:52ea2baa:4336 status: ActionStatus.RUNNING > because too much time has been spent waiting in the queue. Supplied timeout: 0 s, setting of waiting: 0 s, effective timeout: 0 s.

    As of today, form Mobile can't quote by e-mail out of the box. But you can use proxy service to submit to email instead of normal HTTP POST. You can browse through my blog post for details on how to configure this.

  • "Search" on yp.ca button does not work

    The 'SEARCH' button will not work on the page web http://www.yellowpages.ca/ in the Firefox browser. It works in the browser explore.

    If you use extensions (Firefox/tools > Modules > Extensions) which can block content (e.g., Adblock Plus, NoScript, Flash Block, Ghostery) then make sure that these extensions are not blocking content.

    You can try the following steps in case of problems with web pages:

    Reload Web pages and ignore the cache to refresh potentially stale or corrupt.

    • Hold down the SHIFT key and click the Reload button
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (Mac)

    Clear the cache and cookies only from Web sites that are causing problems.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > Cookies: "show the Cookies".

    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 startup window Mode without failure.
  • Satellite A660 - touch pad / stop and other buttons do not work

    Dear people on this forum,

    Recently, about 3 weeks ago, I turned on my computer and I cleaned out the dust because it was overheating.

    about 2 weeks before, I noticed that my touchpad is not working and the buttons at the top of the page do not work, there is no light (multimedia audio buttons wireless) I can't activate/deactivate or either, I don't know how. I don't know if the problem because I cleaned my laptop and has not logged a few threads back but I included this detail because I do not use these buttons if I haven't noticed if they were on. but he said: 2 days ago, I don't know how my wireless exploded Ant when I press fn + f8 (wireless) wireless communication switch is turned off, which is one of the buttons is not working (upstairs next to / switch even with my touch pad)

    I tried the following:

    Windows Update
    turn off the computer, remove all cables and battery and wait for about 30 minutes. Then then hold down the button for 30 seconds
    Reinstall the support flash cards, hw Setup utility / value pack
    and finally a Toshiba out of the recovery of the box using the recovery of 2 cd product

    I don't know what to do next. It's either:

    try something else
    or is there a wire is connected both touchpad and the buttons at the top and I have to open my laptop and connect them.

    Please answer as to my next step to get my wireless.

    Your dear member of the forums, kaujis

    Post edited by: kaujis

    Please don t get me wrong, but I don t know how to help you now. Disassembly of the laptop is to only authorized persons and if you do it on your own there is always a risk that something may be hurt or may be damaged.

    OK, I must also say that I also removed my machine too but I got lucky and everything is OK as before.
    I put t know how A660 looks inside, but the principle is still the same and I can't imagine you have whatever it is damaged.
    You know very well that we cannot say much about your problem. What you need to do now is the final test of functionality and install original recovery image that you got with your laptop. Test the functionality with the factory settings. If the problem is still there, I m afraid you must open for new laptop and check if everything is connected correctly.

    Last option is to contact the service and ask for help.

  • Re: Satellite C660 - 1 CL-wireless button do not work running 8.1 Win

    Hello

    my wireless button does not work. I have windows installed 8.1,
    I have vap and installed flash cards and still does not.

    Any suggestion?

    As much as I know the Satellite C660 can't win 8.1
    This means that the drivers and Toshiba tools are not released to win 8.1.
    I think you can use Win 8.1 but be aware that there is no guarantee that you can use all the features of the special specifications.

    > I have vap and installed flash cards and still does not.
    I doubt that this is correct since VAP don t exist to win 8.1
    Toshiba system driver is the successor of the VAP in case you use Win 8.1

    However, try to install the driver of Toshiba and Toshiba function Key Utility system to win 8.1
    You can download this software that has been released for other series like Sat C870 for example.

  • Satellite A660: FN and ECO and Illumination of the buttons do not work

    Hello!

    I don't know why but my buttons next to the power button does not work properly.
    For example, the light and the eco button does not...

    And the fn keys doesn't work too well. I remember that before, when I press the fn a menu appears at the top of the screen but now it doesn't. And some fn keys does not work too...

    What can I do? any help?

    Thanks in advance!

    Hello
    VAP (value added package) and the utility command buttons Toshiba Flash card supported.
    Support of flash memory card utility is required for the functionality of the FN button!

    + My recommendation is: +.

    Uninstall both tools initially
    Install CCLeaner (it s freeware) and reboot the laptop
    Clean and repair the registry by using the CCLeaner.
    (Reboot once more, download and install the utility VAP) 1 and 2) supported Flash memory card
    Restart and run tests!

    Good luck

  • Satellite M70 - media buttons do not work

    Hi all

    I have been using the Satellite M70 for 2 years now. My OS is XP SP2. The laptop comes with preinstalled express media player. And I still have the Express Media Player recovery CD.

    For the reasons that I just formatted the C drive. This is not the first time that I did. But the last time after reformatting drive C Media buttons are still working fine. This time beside the reformatting, I have updated BIOS (from site Web from Toshiba) to version 1.50.

    Now media buttons do not work. And not more than (browser and CD/DVD buttons) shortcut keys. I tried to reinstall the express media player by booting from the recovery CD and reinstall chose. But the problem persists.

    Are there ways to get the media buttons still work?

    Help would be very appreciated.

    P/S: in case it is because of the update of the BIOS, is there way I can flash back to its original version?

    Hello

    I have the Satellite M70-159 with BIOS V 1.3. I'll try to update BIOS to version 1.5 to see if the same happen on my M70 laptop. I did not Express Media Player, but I will test it with running Windows XP Home edition.

    So. Windows XP Home edition, I can use all the keys with Windows media player. Browser and all media buttons work well. With WinDVD too much work.

    I don't really know why this does not work on your M70. Maybe you should remove all the stuff your laptop and do a clean install EMC and operating system itself.

  • iPhone 5 home button does not work after ios 10

    My 5 Iphone Home button does not work after update final IOS version of 10.

    The home button works on the first push to wake the phone but it will not open the phone the second button.

    I activated the assist button, which does not work either. But what I discover is if I open device for assistance then touch and lock screen click on the button home will work once to open the phone. If I open any app I can't close it unless I go through the same routine.

    You attempted to restart your phone?

    You can do so by holding the sleep/wake button and the Home button simultaneously until the Apple logo appears

  • I'm locked out of my iphone5 not connected to my wifi at home and my home button does not work, any ideas on how to fix?

    I'm locked out of my iphone5 not connected to my wifi at home and my home button does not work, any ideas on how to fix?

    < re-titled by host >

    Take it to an Apple Store for repair or replacement.

  • My mute button does not work

    The button does not work everytime I try to put my phone on silent. I turn it down and it will automatically return to the sound, it activates again upward. What can I do?

    Hello Jackie101foever,

    Thank you for using communities Support from Apple!

    As I understand it, you can't silence your iPhone.  I have a suggestion that should help you with this.

    The first thing we want to do is to make sure that you have a current backup of everything on your iPhone.  If you follow this link, you will find instructions on how to make a backup:

    The backup of your iPhone, iPad and iPod touch

    If the silent button moves upward on its own, so you must do this checked by a service representative.  You can find the nearest one by looking here:

    Find locations

    If the button is stay down, but do not silence the iPhone then we want to restore all settings.

    Reset preference files resets all parameters that may be problems. This step will not delete your contacts, photos or personal information. It deletes all your preferences for Wi - Fi, Bluetooth, do not disturb, Notifications, general, sounds, brightness & wallpaper and privacy and removes your Touch ID & password.

    Do you this by clicking on settings > general > reset > reset all settings.

    Once you have done this, restart the iPhone and see if you are able to turn off the sound.

    Have a great day!

  • Delete buttons do not work after the update of 10.11.16.

    Delete buttons do not work after the update of 10.11.16.  The delete button works if I pointed out and then delete, but not if I use the "back" button or try a removal of uniqueness.  It is a problem in all applications.  I tried it in textedit, search google chrome, safari search and find finder engine.  There seems to be a 'problem' of the keyboard' as far as I know nothing happened to my keyboard, IE the spilt coffee, that recent warming has been updated to 10.11.16.  I use an iMac (27-inch, late 2009) with i5 clocked at 2.66 GHz, running OS X El Capitan.

    Any suggestion would be appreciated.

    Greetings, r.fromstouffville!

    It seems that the 'Delete' on your iMac keyboard key works as it is supposed to be after update to OS X 10.11.6. I'll be happy to help you get these keys working again.

    Reset of the controller management system (SCM) on your Mac - sometimes it's a matter of simply resetting your iMac SMC. Open this article and scroll down to "Reset the SMC on Mac desktop" section and follow the steps there.

    Try safe mode if your Mac does not start -even if your iMac, safe mode startup make sure it starts successfully.

    How to test one question in another user on your Mac account - use this article if restarting in safe mode did not help.

    Use Time Machine to back up or restore your Mac - if your keyboard does not always work as it should, I recommend you save your iMac to ensure that your personal data are safe. It is always better "to have" a backup for a backup "need."

    On OS X Recovery - if you have reached this point, you encounter the same problem in a test user account, that would mean it is a system-w. Start your iMac into Recovery Mode and reinstall the operating system.

    Thank you for the communities of Apple Support!

  • I don't remember password and my home button is not working how do I enter phone?

    I do not know my password and my home button does not work, how can I access the phone?

    Take your iPhone to an Apple Store or Service Center authorized Apple.  Let them evaluate and advise you how to proceed.

  • "Browser" button does not work

    So useful to someone, here's how I solved this problem.

    Facts: Since the FF27, I couldn't choose where to download a file, or send a file because the "browser" button would not work.

    On the update of Avast program, I stopped "Avast Secure Line" to take (thanks to my firewall Outpost) and then FF started working fine again.

    I was surprised because I had already tried all help given including FF running two Avast with Outpost arrested without success.

    I hope this can help. All the best

    Hi Phil24,

    Thanks for the tips, very useful!

  • "Back" button does not work and lost bookmarks

    I followed the instructions that Firefox has been extremely slow. He said my favorites would be saved and everything should work as usual. However, I lost all my precious Favorites, and now the back button does not work. She is pale grey all the time, and itls drives me crazy, that I can't go back to the search page. I have to type everything in full again.
    If I can't change it, I'll have to switch to another web browser, after being with Firefox for more years than I care to remember.
    I liked using Firefox and have recommended it to all my family and friends.
    I'm very angry on my favorites, because I used these regularly and had a few coordinates links and important model for my sewing and knitting, as well as time-saving links. Now, I'm completely lost without them.
    If this isn't the page said it would be saved, then I would not have changed anything.
    It's very frustrating and annoying, after spending months, where I wanted and now he lost get it all because of the wrong information. I am very anxious.
    Lesley

    You can check for problems with the database places.sqlite file in the Firefox profile folder.

    You can see if you can restore bookmarks to a JSON or a compressed backup of JSONLZ4 in the bookmarkbackups folder in the "Old data Firefox" folder on the desktop.

Maybe you are looking for

  • What is the extension of the files in the profile folder - file the emails, but not the message .msf file?

    I need to recover a lost Inbox (lost due to a failure). The file to the Inbox in the profile folder is somehow cleaned as if the record has been compacted and some new emails have been added. The size of the file is now a few hundred KB when there sh

  • (Corrupt) 12.3 without updating iTunes library

    Today when I opened my iTunes library it saids me that iTunes library was damaged and about 2500 titles and almost all of my missing playlist (it seems that iTunes uses a previous library of mine, like 6 months ago or not). I tried with the last iTun

  • Not does not update my window

    Hello When I try to update windows I get the following message... The Web page "windowsupdate.microsoft.com" is not found DNS error occurred. Server is not found. The link may be broken. Any help would be appreciated. Holly

  • My Windows Live Mail says that it is not able to connect

    I use Windows Live Mail as my client of e-mail for about 2 years and it worked fine.  All of a sudden, he is no longer sends and receives.  I get the message "cannot send or receive messages for the hotmail account (my account I can't enter here) to

  • How does the Parental controls web filter work?

    If I find a domain that contains contents unwanted and would like to block. I would like to know about how the web control Parental filter working under this situation. Does anyone have any suggestions?Thanks in advance for your suggestions