Buttons doesn't gotoAndStop

Ok I have this code inside a symbol called Gallery:
stop();
////Event Listener/////
img1_btn.addEventListener(MouseEvent.CLICK, play1);
closeimg_btn.addEventListener(MouseEvent.CLICK, closeIMG);
////Functions/////
function play1(event:MouseEvent):void{
gotoAndStop("csfairplay_frm");
function closeIMG(event:MouseEvent):void{
gotoAndStop("noimg");
But when I click the "closeimg_btn" button, nothing happens, no errors but output says:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at tpr_fla::Gallery_13/frame1()
at flash.display::MovieClip/gotoAndPlay()
at tpr_fla::MainTimeline/navigationClicked()

The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....
- is not in the display list
- doesn't have an instance name (or the instance name is mispelled)
- does not exist in the frame where that code is trying to talk to it
- is animated into place but is not assigned instance names in every keyframe for it
- is one of two or more consecutive keyframes of the same objects with no name assigned in the preceding frame(s).
If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.

Similar Messages

  • 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...

  • 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

  • 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..

  • HT4527 I want to move all my iTunes from old PC to new PC but Home Sharing on both and it works.  At Step 11, I clicked Home Sharing Import button doesn't work.

    Help!  I want to move all my iTunes music, podcasts, etc. from an old PC to a new PC. I set up Home Sharing on both and it works.  I followed the steps in http://support.apple.com/kb/HT4527 to the letter.  At Step 11, I clicked on Home Sharing on my new PC, then Edit > Select All so I could then import everything to the new computer.  No matter what I try, the Import button doesn't work.  There are two buttons on the lower right hand side of the iTunes screen - one for Settings and one for Import.  The Settings button is clickable but the Import button isn't even live.  In other words, I can see it but not click on it.  I have double-checked my firewall and it is not the problem.  How can I get the Import button to work? 

    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd recommend method 1 since it establishes an ongoing backup for your library.
    Note if you have failed to move contacts and calendar items across you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • My ipod touch 5th generation will not turn on and the home button doesn't work. what do i do?

    Hello my name is Leslie and i would like to ask you guys a question on how to fix my ipod or what is wrong with it. My ipod touch 5th generation will not turn on and the home button doesn't work. what can i do to fix it ?

    Has the home button worked in the past, or is this been something that hasn't worked for some time? The only way to reset the device is with the sleep/wake (power) and home buttons together. Without it, you would have to wait until the battery dies and then plug it in to try and reset it. The Home button is used for several user troubleshooting steps. Without it, you cannot perform a reset, put the device into recovery mode, or place it in DFU mode. You need to get the home button repaired.

  • SAVE button doesn't appear in Toolbar of Text Edit Control

    Hai All,
    I need to save the changes made to the text in my Text Edit Control, i know how to handle the Save command but my problem is the SAVE button doesn't appear in the Toolbar of the Text Editor. I have searched through the SDN but in all of those threads they already have the SAVE button and hence only the logic was discussed. But i need the SAVE button to appear in my Text Edit Control. Looking forward  for your helpful answers.
    Thanks in Advance,
    rama

    Hi,
    Check the demo program  SAPSCRIPT_DEMO_NOTE_EDITOR what ever you enter in the editor you get the text using method
    call method note_editor->get_text_as_stream
           importing text = notetab.

  • I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. Some contacts have problems opening files sent by me using Mail too. This was never a problem on pre-Intel. A real Mac **** up !

    I'm using OS 10.6.8 and Mail 4.5. When I receive mails with attachments which are visible the save button doesn't work. And some contacts occasionally have problems opening files sent by me using Mail too. This was never a problem on pre-Intel Mac. A real Mac **** up ! Any ideas ?

    Can you drag and drop the attachments visible in the email to the Desktop OK or does that fail ?
    Re the sending: Are these recipients on Mac's or PC's as the file type could be an issue, if on Mac's then try setting the Mail Preferences Composing setting to Plain Text not Rich Text and see if that improves things.

  • USB mouse button doesn't work on MacBook Unibody

    Since the trackpad was not working, we have to use a USB mouse to navigate. After a few minutes, the mouse left and right button doesn't work. I can move the pointer around the screen and use the keyboard.
    Thoughts

    The same problem happens with a Bluetooth apple mouse. You can scroll up, down and use the secondary (the right click) The problem normally developes after the MacBook has been running for a while and gets hot underneath.

Maybe you are looking for

  • Not so Smart app

    Having a nightmare with the BT SmartTalk app. It works great until you need to change or remove a user and then you end up tearing your hair out. I have the app on my iphone and it works fine. I added my son as a household member so that he could hav

  • Back ground scheduling

    hi friends, i got a issue like this.. i want to make back ground scheulding daily expect saturday.. i saw the option in process chain restriction in its shows only sunday or holiday.. i want to schdeule the chain daily except saturday.. please  anyon

  • Help to map Down Payment - Urgent

    My client requires a single excise invoice to be created once the 100% billing is done. This is an engineering company and advances are paid at various stages as 1. 30% as down payment 2. 40 % before despatch 3. 30% final delivery When payment done a

  • Network bonding

    Hello, I have two connections. One wireless (wlan0) and one wired (eth0). They are a bit slow, so I thought that I could use both to have a faster internet connection (this is load-balancing, isn't it?). Is mode balance-tlb right for me? Also a probl

  • Accessibility Global Link Fuctional Pattern

    Problem Description Optimally, the application should allow the individual user to set the accessibility level. The thorny UI question is how -- particularly for users of screen readers? Setting the ADF default to screenReader would degrade the outpu