Button doesn't execute a simple ActionScript

I've created a new symbol - button type. Then created a single frame in a time-line, put my button there  and put a simple code into frame:
mybutt.onRelease = function() {
getURL("www.google.ru");
So I would like to open the url by pressing the button. But it doesn't work. Any ideas?
Thanks in advance!

in the timeline that contains your button, click on an empty part of the stage (or off-stage) and click on your button.  on the left side of the properties panel enter:
mybutt
to give your button an instance name that matches your code.
if you've done that and your button still fails, you probably have mouse handler code attached to a parent of mybutt.

Similar Messages

  • How to disable safe mode on xperia z1,power and volume button doesn't work

    How to disable safe mode on xperia z1,power and volume button doesn't work

    Hi rafharum,
    Welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    A simple restart to the device would generally resolve this issue, however if the power key and Volume key are not working they may very well be causing the handset to execute safemode when ever you power the device on.
    If this is the case, you will need to get the handset to a service agent for assessment. Please use the link below to contact Sony Mobile Customer Care directly.
    http://support.sonymobile.com/global-en/contactUs/
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Action doesn't execute in player

    In the app I'm working on (AS 2.0) I have several buttons. I've added an action to each of those buttons:
    on (release)
        gotoAndPlay("fr_test");
    When in Flash, if I enable (Control) Simple Buttons and Simple Actions, this action works like it should. If I test the movie or publish it, the action doesn't execute.
    I've tried another approach with one button. I added an empty layer for actions only, and added the following code:
    this.test_btn.onRelease=function()
        gotoAndPlay("fr_test");
    This doesn't work at all, nor in Flash nor in the player. I wonder what I'm doing wrong here. Changing fr_test to the frame number does not change anything.

    I solved this by starting over with a new flash app. I created buttons and actions, and they worked like I wanted. Then I tried to apply this on the old movie, but that didn't work. So I recreated the movie in the new app. I'm using some very complex drawings, and I messed around quite a bit. I don't know where it went wrong, but it works now for me.

  • Can't lower voice memo volume. My decrease button doesn't work anymore. Any other way i can lower it without disabling speaker

    Own an iphone 5. Can't control voice memo volume from anywhere that deals with volume on my phone. My decrease button doesn't work. I have to listen to my voice memos on full blown volume. Can't lower it from settings or from music. Help please!

    Hi,
    thanks for your answer. 
    The Size of all disks is: 6 x 4 TB.
    In the Pool are 5 x 4 TB plus 1 x Hot Spare. 
    It comes up to about 14,6 TB of Data formatable.
    But tried it also with just 3 x 4 TB to see if it works. 
    I just made a Raid5EE on the controller and then used Storage Spaces with simple, all worked fine. 
    Here the results of my tests: 
    1) your command had to be modified (typoe in usemaximumsize, and had to add -ResiliencySettingName Parity. 
    new-virtualdisk -friendlyname testpsh -storagepoolfriendlyname test -ResiliencySettingName Parity -usemaximumsize
    But anyway, my problem is not creating the virtual disk, but formatting the partition if it's parity only. 
    I added a screenshot: 
    Here you see my storage pool, and I added 3 virtual disk. 
    1 simple, 1 mirror, 1 parity. Only the parity cannot be formatted. The others can. No mather which size I do. 
    About a testserver, I added 4 x 4 TB to a VM (VHDX-files) and could do parity without problems. So it seems it is this server specific.
    As it worked with another controller, I really wonder if the controller could break parity of Storage Pools?
    The other weird part is, it sais "Raid" as BUS, but it's set to pass through, in details I see the serial of the attached HDD. 
    This is what properties shows on this volume. Always RAW. 
    I also tried Software Raid5 within the server. 
    This also worked fine. So really only parity. 
    Thanks
    Patrick

  • When I am on a call and I come to hang up, the phone which when to my ear has a black screen, starts to light up then blacks out intermittently and in the brief moments it is lit up, the hang up button doesn't work unless I press home or lock buttons firs

    When I am on a call and I come to hang up, the phone which when to my ear has a black screen, starts to light up so I can see and click the hang up button, but it then blacks out intermittently and in the brief moments it is lit up, the hang up button doesn't work unless I press the home or lock buttons first

    Wow- thanks Jim! I removed the case and voila... it worked. Knock on wood that you solved my problem with such an incredibly simple solution. I'll find out where this proximity sensor is and make sure my case does not interfere with it.
    Thanks so much.
    Annick

  • Device Manager ! FN button doesn't work

    Portege R835-P56X Bios updated to Version 3 The laptop came with 64 Bit but I did a clean install with Windows 7 32 Bit because many of my programs and games didn't work with 64 Bit.
    I can't install Toshiba Value Added Package,Toshiba PC Health Monitor and Toshiba eco Utility because they are 64 Bit.Pressing the FN button doesn't work,it does nothing at all using 32 Bit.With 64 Bit it worked fine with screen icons coming up when I pressed it.I wonder if the FN button only work in 64 Bit or maybe Toshiba Value Added Package contains the FN button driver?If anyone knows where to get Toshiba Value Added Package 32 Bit that may fix this problem,please let me know thanks.
    I have a problem in Device Manager where it's showing ! Other Devices PCI Simple Communications Controller.I took a screen shot of Device Manager with 64 Bit installed just incase I ran into problems.Looking at the 2 Device managers side by side 32 vs 64 it looks like Microsoft Virtual WiFi Miniport Adapter is missing from the 32 Bit Device Manager.
    I'm assuming this is Intel Wireless Display but I'm not 100% sure.Because every time I run Intel Wireless Display I get this error message.Unable to load the Intel My WiFi Technology Dll file
    Anyway there is no Intel Display driver for 32 Bit so I had to download that from Intel website.There is however Intel Wireless Display for 32 Bit which I have installed but the ! in device manager remains.So I uninstalled Intel Wireless Display and downloaded the Wireless Display driver 32 Bit from Intel website hoping that might fix the problem.But the ! in device manager remains.
    I have also tried windows update but it can't find any driver for Hardware.I have added 2 screen shots in Attachments
    Attachments:
    2.jpg ‏39 KB
    1.jpg ‏167 KB

    Well after alot of searching on Google I have finally found out what this PCI Simple Communications Controller is.
    It's the Intel Management Engine Interface and lucky for me there is a 32 Bit driver.Now I have no more ! in Device Manager and I have uploaded an updated screen shot.
    But now there are 3 questions.
    1 What happened to the Microsoft Virtual WiFi Miniport Adapter?It was listed twice in 64 Bit but doesn't show up in 32 Bit Device Manager.
    2 Why do I still get the error message when starting Intel Wireless Display?Unable to load the Intel My WiFi Technology Dll file even though I have found the driver for ! in Device Manager
    3 Why doesn't the FN button work?It worked fine in 64 Bit but in 32 Bit it does absolutely nothing.The same goes for the touchpad on/off button which worked fine before in 64 Bit.But now with 32 Bit presing it doesn't turn the touchpad on or off,It does nothing.I hope Toshiba releases drivers for both of these features.
    Attachments:
    Updated Screenshot.jpg ‏49 KB

  • Install of 9idatabase on Linux...NEXT button doesn't work...

    Hello,
    I'm fairly new to the linux world and I'm trying to install Oracle for my new Linux box running the latest Mandrake. I'm pretty sure I've followed all the preparatory steps before installing oracle9i. The problem is, when I start the runInstaller, it appears that the Initializer hangs or something, and the Welcome menu appears...but the NEXT button doesn't function to take me to the next screen. I tried last week to install an older 8.1.6 version for Linux and it did the same thing. The exit button won't work, but the close button on the top right functions. Some of the other buttons work as well, like the About button and the Installed components button, but never the NEXT button.
    If anyone has any clue why this is happening, PLEASE help! It's rather frustrating to run through all those preperatory steps just for a simple next button to function improperly.
    Thanks in advance!
    Tom

    Wow...pretty silly indeed. Unbelievable. I've never seen something like that actually, rather frustrating to sit on a problem all day and the problem turn out to be that your num lock key is depressed...duh! Joseph, thank you for the help, I actually have the documentation from your website installing 9i for Mandrake 8.1. So far it's been very helpful, if I have any troubles you may be hearing from me today. Thanks again!
    Tom

  • A pop-up message is frozen on my settings page. I was trying to set up an apple id for iTunes when I got a message "required fields have been left blank. The missing information is highlighted in red." the ok button doesn't work. 1st gen iPad.

    A pop-up message is frozen on my settings page. I was trying to set up an apple id for iTunes when I got a message "required fields have been left blank. The missing information is highlighted in red." the ok button doesn't work. The message is now fixed & I cannot get rid of it. Ironically, when I found this forum I was able to set up an apple Id. Please advise how to get rid of the pop-up box. Thanks!

    I'm having this same problem as well and cannot advance--very irritating. All of the information is filled out correctly and I've editted my AppleID information online separately as well to get around this issue, but no luck...

  • My screen if frozen and I can't shut off my phone. I already have my assistiave touch button on my screen but it still own't let me shut off my phone. And my lock button doesn't work either

    My screen is frozen on the camera and my phone won't let me shut it off. My lock button doesn't work and my assistance touch button won't let me shut it down either. My phone also takes hours to die and my battery if fully charged so i can't wait for it to die i need to get it back to normal asap! How do I get it to unfreeze?

    A reset is when you press and hold both the home and sleep buttons for 10 seconds or so until the Apple logo appears. You won't lose any data. Give it a try.

  • Volume and Power button doesn't work..how do I fix?

    My son's volume buttons or the power button doesn't work.  Is there something I can do to fix these issues?

    Try the following to rule out a software problem.
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar                                                              

  • "Submit to SAP" Button doesn't work

    Hi to all,
    I'm trying to develop an interactive form using NW04 SP22. My problem is that the submit to sap button doesn't work. I think I have not properly installed active component framework (ACF) on my client pc but I can't find the right ACF to install. I found a note 766191 in which I can download ACF for SP22 but  the link [url]https://sapmats-de.sap-ag.de/download/download.cgi?id=OZOHD0204MQQADJPWOZSGFDNCP39PBJ6TFA2CANJKUPYIGJF16[url]  seems not to work. Where can I find it?
    Thank you very mich,
    Enrico

    Hi Enrico,
    You can download it from the below link:
    http://www.esnips.com/web/arafatfNewFolder/
    Let me know once you are done so that I will delete the link.
    Regards,
    Arafat

  • Can't Add Credit Card (submit button doesn't work)

    Hey. Recently come across a problem trying to add my credit card so I could buy a Twitter app that works with Twitters new authorization.
    The submit button doesn't work. It is still there, but it is unclickable, it doesn't load up anything, or do anything. It doesn't change to being clickable at any time.
    If it helps, I have the Palm Pre, I'm with O2 (UK).
    Can anyone help?
    Post relates to: Pre p100ueu (O2)

    This sounds like a credit card related issue. Has anything about your credit card changed, like a new expiration data? You can go to App Catalog, tap the drop-down menu, select Preferences and Accounts, then choose the account name, enter your profile password, tap continue, When the Edit Credit Card screen appears, re-enter the credit card number and confirm that the remaining info is valid or enter any new information, then submit.

  • "open in ibooks" button doesn't open pdf on iPhone 6, click it several times and nothing happens

    The "open in ibooks" button doesn't open pdf on new iPhone 6. I'll click it several times and nothing happens. Is there a way to uninstall ibooks and reinstall?

    there is no share button in preview
    I am seeing a Share button in Preview's toolbar, Larry:  Can you see the screenshot?
    The content of the Share menu will depend on the file format. For PDFs the menu will be nearly empty and iPhoto and aperture are missing.
    MacBook Pro (17-inch Late 2011), OS X Yosemite (10.10), 2.4 GHz i7, 16GB, 500GB SSD,1TB HD

  • My iPod touch 4th gen white's home button doesn't work the first time I press it, but the second time.

    My home button doesn't work the first time I press it, but the second time.  This is very annoying.  Why is it doing this?

    - Try a reset. It cures many ills and nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    -If a hardware problem see:
    fix for Home button

  • After upgrading to IOS 5, the edit button doesn't appear in the CONTACTS

    After upgrading to IOS 5, the edit button doesn't appear in the CONTACTS. Any idea, why?

    If you have a gmail, yahoo, or even icloud etc. account go into settings>mail, contacts and make sure you're not syncing through yahoo for example.. Turn that off, if that still doesn't work delete the yahoo account and simply set up the account again..will add the + & edit functions again..

Maybe you are looking for