Button no longer works when inside a Movie Clip?

Again I turn to the almighty Adobe forums for help...
So basically, I've had this problem for over a day now, and I've posted on Experts-Exchange.com... to no avail really.
So here we go:
I have a button in a Flash project I've made. It's used to jump to another place on the root timeline, labelled "Why". It used to work perfectly.
I have now placed the button inside a movie clip (it has to be in an animated sequence), but now it no longer works. It appears to work fine, the rollover state works and all. But when clicked it does nothing.
The code I use to work the buttons goes on the main timeline, the code for this button is:
mc_anim_backdrops_menu.btn_subsection1.onRelease = function() {
gotoAndStop("Why");
_global.swfloaded = "";
Why does it no longer work? and what can I do to fix it?
The question is posted here over at Experts Exchange - http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/Act ionScript/Q_24888850.html
what we've tried there is tracing the problem. The code seems to be pointing to the right place, but none of the actual function works.. as you'll be able to see if you open up the attached file (and change it's extension from .txt to .fla to get it working)
So would someone be able to open it up, have a look and tell me what's wrong? Because I'm stumped. And frustrated.

My guess is that you have a scope problem. By putting the button inside a movieclip you have made the buttons scope the same as that clip.
So if you add a trace inside the release event handler, what do you get?
trace("My current scope is: "+this);
I'm guessing it is "_level0.mc_anim_backdrops_menu," right?
So since you are using the global function of gotoAndPlay() it is looking for that label in the current timeline and not finding it.
You should probably use the MovieClip method and specifiy which timeline it should look in.
_root.gotoAndPlay("Why");
_level0.gotoAndPlay("Why")
_parent.gotoAndPlay("Why");
both would probably work. I would never use the first two, other than to make sure that there wasn't something else going on...

Similar Messages

  • Yahoo mail page sign-in button no longer works

    I suddenly can't sign into my yahoo accounts on my iPad 1.  It seems the sign-in button no longer works, when I tap it or use the "go" button, nothing happens - no error message, nothing.  I've re-set the iPad and I still can't sign in.  I can get to all of the other Yahoo web pages, just not my mail.  I can sign into other websites no problem.  Any suggestions?  Is my iPad now completely obsolete?
    I can sign in without a problem on my iMac.
    Thanks,
    Kathleen

    Reset your iPad. This will do no harm and you will not lose any data. See if that works. If not, clear Safari and then try again.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    Go to Settings>Safari>Clear History, Cookies and Data.

  • When using Firefox as my browser, my "back" button no longer works? And by the way...getting help is a real pain in the butt on this site!!!!!

    When using Firefox as my browser, my "back" button no longer works? And by the way...getting help is a real pain in the butt on this site!!!!!

    see -- http://kb.mozillazine.org/Kill_application
    which explains how to completely exit (quit) your Mozilla application
    Try closing Firefox completely
    *Close Firefox properly '''File > Exit''', not with the "X" which just closes the window.
    *Use the Windows Task Manager "Processes" tab to make sure that firefox.exe is not running and also that the plugin-container.exe is not running.
    If that does not work, try restarting the system.
    If still no luck try restoring bookmarks from last backup, or better create your own .json backup and restore from that.
    *http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox#Creating_bookmark_backups
    *''If you had to go this far, please provide feedback if restoring bookmarks alone fixed the problem. I think I may have done that once with success, but never see that suggested -- I'd try most anything to not lose history or bookmarks. But then I could restore files from my profile and restore latest bookmarks backup from current profile.''
    The following will result in complete loss of history if it comes down to deleting places.sqlite, so rename files rather than deleting. With Firefox down.
    Of course you have backups of your profile you could replace rename and
    replace those files instead.
    Locked or damaged places.sqlite - MozillaZine Knowledge Base
    :"Toolbar buttons such as Back/Forward are disabled "
    :http://kb.mozillazine.org/Locked_or_damaged_places.sqlite

  • Since bundle 2921 some of my buttons no longer work

    I updated phone to version 6 bundle 2921 over the weekend and now the following buttons no longer work, 'S,G,H,L,W' and my scroll button no longer works either. These speed dials no longer work (speed dials to other letters are fine.)
    I have not dropped it, got it wet or let the battery run out. I figure it is a software issue as I didn't have any of these issues before the update. Also, when I do a battery pull, the buttons work for a short time (1 minute) and then no longer work.
    Is there an update to the update or can I roll back to my previous version?
    thanks

    Hello,
    The simplest way is to, on a PC (you cannot do this on MAC):
    1) Uninstall, from your PC, any BB OS packages
    2) Make sure you have the BB Desktop Software already installed
    http://us.blackberry.com/apps-software/desktop/?lid=us:bboftwareesktopSoftware&lpos=us:bboftware
    3) Download and install, to your PC, the BB OS package you desire:
    http://us.blackberry.com/support/downloads/download_sites.jsp
    4) If that OS package is from a carrier other than the carrier for which your BB was originally manufactured, then delete, on your PC, all copies of VENDOR.XML (there will be at least one, perhaps 2)
    5) Launch the Desktop Software and connect your BB...the software should offer you the OS package you installed to your PC. If, during the process, your BB presents a "507" error, simply unplug the USB cord from the BB and re-insert it...don't do anything else...this should allow the install to continue.
    Don't forget to backup.
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Button inside a movie clip

    Ok, i'm new at action script so i have a problem
    I have a sound inside a movie clip (sound_MC) in the main
    timeline, and i have another movie clip with a button inside, and I
    need that button to control that sound movie clip
    on (release) {
    gotoAndStop("off_radio"); // this goes to another frame in
    the movieclip with the button (works fine)
    on (release) {
    _root.gotoAndPlay("stop_loop"); // this goes to another
    frame of the sound MC (doesn't work)
    // i have this in the stop button
    on (release) {
    gotoAndStop("on_radio");
    on (release) {
    _root.gotoAndPlay("start_loop");
    // and this for the play button
    whats the code for that ?
    what should i do?

    i solve the problem !! :-D
    but now i hold like to now how i make a fade out sound
    command when i enter a frame and a fade in when i enter in another
    frame
    here are the examples:
    http://tubo_centeno.web.simplesnet.pt/problem/problem.html
    http://tubo_centeno.web.simplesnet.pt/problem/problem.fla
    can anyone help me?

  • Problems with button inside draggable movie clip

    I am building a click through presentation that has some small text in it. To maintain the design and allow for readability, I have added a zoom feature.
    Here is the structure of the movie,
    Stage - contains pages movie clip and forward/reverse click buttons for changing pages
         pages_mc - contains 24 frames, one page per frame and buttons
    There is a button at the _root level that uses a tweener to scale the pages_mc up to 170%. When this is clicked, it allows the pages to be dragged around the screen so you can look at different sections. When you click the button again, it returns the pages back to their original size stops drag.
    My problem is, on the pages, there are buttons with links to external sites. Once startDrag has been invoked, I cannot touch the buttons inside the movie clip. Is there a way to make these buttons work?
    I need the finished quickly so any assistance is welcome.
    Code below
    magUp_btn.onRelease = function() {
    this._visible = false;
    TweenLite.to(pages_mc, .25, {_x:-250, _y:-193, _xscale:170, _yscale:170});
    TweenLite.to(magUp_mc, .75, {_alpha:0});
    TweenLite.to(magDown_mc, .75, {_alpha:25});
    magDown_btn._visible = true;
    pages_mc.onPress = function(){
    this.startDrag();
    pages_mc.onRelease = function(){
    this.stopDrag();
    pages_mc.onReleaseOutside = function(){
    this.stopDrag();
    pages_mc.useHandCursor = false;
    TweenLite.to(instr_mc, 1, {_alpha:100});
    magDown_btn.onRelease = function() {
    TweenLite.to(pages_mc, .25, {_x:0, _y:0, _xscale:100, _yscale:100});
    TweenLite.to(magUp_mc, .75, {_alpha:25});
    TweenLite.to(magDown_mc, .75, {_alpha:0});
    this._visible = false;
    magUp_btn._visible = true;
    pages_mc.onPress = function(){
    this.stopDrag();
    TweenLite.to(instr_mc, 1, {_alpha:0});
    I don't know how to turn drag off when I zoom out without using the onPress command, but I know that this is probably what is getting in the way of the button working?
    Thanks!

    One option is to make the background of the pages be the draggable parts rather than the movieclips that contain the pages and buttons.  That way, the buttons could be atop the background and not have their access blocked.
    Instead of coding the pages_mc, you would essentially have the background coded for the drag...
    pages_mc.bkgnd.onPress = function(){
        startDrag(this._parent);

  • My lock button no longer works on my ipod touch and now i have all kinds of problems with it freezing and kicking me out of apps. Is there any way to get this fixed and were would i go to get it fixed?

    Please Help!!!! I have an ipod touch 4th gen.  and since the last update the lock button no longer works, this has caused it to have a lot of problems now like freezing all the time, kicking me out of almost all my apps, some times even when if locks on its own its not locked and buttons with be pushed in my pocket, and this causes the battiery to die fast.   I really love my ipod and would like to just get it fix if possible for a reasonable about of money. Anyone know of a place I can get it fixed in Ft Lauderdale Fl area or is there something I can do?

    Have you tried:
    - Reset the iPod. Nothing will be 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.
    - 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
    - Restore to factory settings/new iPod.
    Apple will exchange your iPod for a refurbished one for this price:
    Apple - Support - iPod - Repair pricing
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Form button does not work when a program is moved from Windows 8.2 to Windows 7

    Hi,
    I have a few Excel programs which use the ODBC to get data from Access and which have macros which writes data to an external program, MYOB.
    When the macros tries to write the data to MYOB it fails if I am not running the program in administrator mode.   It seems that Windows 8.2 has a different level of security than Windows 7 and must be run in administrator mode for the ODBC to work. 
    I have had issues after running the program in administrator mode (testing) if I simply do a save (in administrator mode) and then send it to the customer.   The issue is that it just will not work on the customer's site.   I have gotten
    around this in the past by saving any changes, going back out of excel, loading the program again (not in administrator mode) and saving it - before sending it to the customer.   This worked until now.
    For some unknown reason, the last time I sent a program to the customer and carried out the above process, the program stopped working.   Originally I thought that the macro just wouldn't work on windows 7, but eventually found that it is the form button
    that will no longer work when the program is moved from 8.2 to 7.
    Does anyone know why there is an incompatibility between 8.2 and Windows 7 and what I should be doing to ensure that my programs work in my customers environment(windows7)?
    In the meanwhile, I have changed the form button to an activex button and the program works fine in both environments.
    Thanking you in advance,

    there is some OP report after Windows update Dec 2014 macro stop responding ( I cant confirm if this is also related to your issue) its because security update for Office maybe conflict with the active-x that you are installed
    try to
    Close Excel
    Start Windows Explorer.
    Select your system drive (usually C:)
    Use the Search box to search for *.exd
    Delete all the files it finds.
    Start Excel again
    Open that file and save it, and try open at Windows 7
    to get more detail about this issue, I suggest also contact Office forum
    this case also will be solve installing kb3025036
    good luck

  • Share button no longer working after updating to iOS 6.1.2

    So this morning I updated both my iphone and ipad to 6.1.2 and now the share buttons in the app store no longer works, when I use the search function. To be specific if I do a search for anything and then try and open one of the apps in the search results and push the share button it never opens up the window to select a sharing option. The loading wheel at the top of just spins endlessly, but if I go to the "featured apps" page and click an app the share feature works. Worth noting that my iPad was also updated and works regardless

    Hey I get this too does anyone else get it? Would just reinstalling fix it?
    I have an iPhone 4 with 6.1.2.
    xeni

  • Standby button no longer works after upgraded OS from 4.... to 5.0.0.484

    Hi all.  I am new to BB and have a Tour 9630.  After "upgrading" my OS yesterday the former "standby" (mute) button no longer works.  I tried to find a place to assign "standby" mode to the left or right shortcut key but no luck.  Also, I noticed my Opera browser is significantly different (and more annoying) because clicking the trackball goes back....  Any thoughts on either issue would be appreciated.  Thanks.

    Ok, so apparently I haven't looked at my phone too closely. The old Pearl model only had one button up top, which you used for both mute and standby. The new Tour apparently has two- the one on the right is the mute and the one on on the left is the lock.
    On the Pearl you could press * to lock and *+[Green talk button] to unlock. On the Tour the only option you have to unlock is to press the lock/unlock button on the top left. It's pretty clear when you look at the top of the phone. However I usually have mine in a silicone case, which does have markings but they're very hard to make out.
    So the phone locks and unlocks just fine, even after the OS 5.0 upgrade. However, I'm still wary about getting rid of standby mode if, in fact, it is a battery-saver. (Which I'm pretty sure it is)
    Bring back standby mode, Blackberry!!

  • Back button no longer works in some specific situations; also, it appears that clearing cache isn't working.

    The "back" button no longer works in certain specific situations on certain specific websites -- especially on the very website on which I need to use it very frequently. This has been going on for a couple of weeks.
    Also, I noticed today that the "clear cache now" command doesn't seem to be working. Formerly, when I cleared the cache, I had to re-login to those websites that normally "remember" my login (because clearing the cache erased that "memory") -- but today, after using the "clear cache now" command, those websites still "remember" my login, which leads me to believe the cache didn't get cleared. Is there any other way to check whether it got cleared?
    I was attempting to clear the cache in the faint hope that this might help the above "back" button problem, as no one has yet given me a solution for this that has worked. One person suggested having Firefox re-create the possibly damaged "places.sqlite" and "places.sqlite-journal" files. I tried this, but there was no change to the problem.
    I think this problem started around the time I had a few Firefox crashes while using YouTube and doing something else on the computer at the same time.
    I just today learned about the "crash signature" -- how to look it up, and to include it in a forum question. However, the crash log did not show these recent crashes, only some others from a few months ago. So, I'm unable to show the crash signature for this.
    I'm guessing there's a chance that upgrading to a newer version of Firefox might fix this problem -- but I hesitate to do that, because it occurs to me that it also may be possible that changing the program before fixing this might make it harder to fix. I don't have enough knowledge of this software to know which is more likely, and I don't like to try things at random, in ignorance of the possible results. Also, after reading today several other forum comments from people who are unhappy with their Firefox upgrades, I hesitate to upgrade for that reason, also.

    Websites remembering you and automatically log you in is stored in a cookie.<br />
    So you need to remove the cookies to make a website forget you.
    * http://kb.mozillazine.org/Cookies

  • Why does my button no longer work in Flash Player 8?

    Hi,
    I have built a site in Flash MX a while ago. Now I’d
    like to upgrade things a bit while testing the new Adobe Flash CS3.
    To be able to use a new function (“anti-alias for
    readability”) the program warns me that “this feature
    is not supported by Flash Player 6. To use this feature, you must
    target Flash player 8.”
    So I change the setting to Flash Player 8, leaving
    Actionscript to version 2.0.
    However, now one of my main menu buttons no longer works!
    When I change settings back to Flash Player 6, things are fine
    again. What am I overlooking?
    Below is the script for the button (which has an instance
    name). Does anything change with the actionscript in CS3?
    Thanks for any advise!
    on (rollOver) {
    gotoAndPlay("s1");
    on (releaseOutside, rollOut) {
    gotoAndPlay("s2");
    on (release) {
    _root.Play();

    That's it! It works fine again. Thanks a lot, you made my
    night!

  • IOS 7 is preventing my ford car sync working. The skip track buttons no longer work. Any help.

    iOS 7 problems with ford sync. Skip track button no longer works.

    Sorry, I used the wrong term in my original post. I don't mean to say "mute" my phone, but meant lower the volume!
    Should have read: "In Smart Actions, if I want to lower the notification volume on my phone to 13% when I'm in a meeting it only adjusts the volume for calls - not text or email notifications! What the heck is the point of adjusting your phone volume if it doesn't affect all the notifications!?"

  • My forward delete no longer works when searching or editing on Itunes since installing an update

    My forward delete no longer works when searching or editing on Itunes since installing an update. Anyone else have that problem? Any fixes?

    Have you tried:
    - Reset the iPod. Nothing will be 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.
    - 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
    - Restore to factory settings/new iPod.
    Apple will exchange your iPod for a refurbished one for this price:
    Apple - Support - iPod - Repair pricing
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Wet hands on clicker now menu button no longer works

    I used the clicker wheel on my ipod mini with wet hands. now thew menu button no longer functions and I cannot move backwards? Any clues

    Same thing happened to me (actually, I didn't have wet hands, but I could neither get back to the menu NOR could I shut down the mini). I did all the usual things (reset, restore, etc, etc) but nothing worked.
    SHORT TERM:
    I (and others with the same problem) found that you can 'back up' through your menus again by switching the HOLD button (to HOLD and back again, fairly quickly). Once you get used to it, it works every time. As far as turning it off, if I reset the mini, then I could turn it off. BIG HASSTLE, but it kept the mini working.
    LONG TERM:
    Mine was out of warrenty (however, my credit card is one that extends the warrenty for a year). So I went through the hassle of returning to Apple, paying $200 (yeah, you got that right, the same as a new mini). I just received my new (probably refurbished) mini back yesterday. Thankfully, I've finished all the paperwork, and expect my credit card company to pay me the $200 !

Maybe you are looking for

  • Ipad2 facetime

    I can not log in on facetime and imessage even on the app store using my ipad2. It was working fine eversince and now it is asking me to sign in with my apple account but itkept on verifiying and then return to sign in page......help!

  • Images in Card Game

    Hi there, I have been programming a variation of a Poker game in Java and have finished most of it in command-line. I need to port it over into a JApplet now and am having a few problems with the images. As the layout is similar to Hearts, I wanted t

  • How to show conditionally IR menu options?

    A IR page can be accessed by authenticated and non-authenticated users. I would like to hide some options in IR menu from non-authenticated users. Is it possible? Igor

  • MSI Neo2 FR and ATI 4870

    does anybody have a similar setup? i seem to be having problems getting my system to boot with a ATI 4870 in, i have tried everything. i even purchased a new PSU but i'm still getting the same result, has anybody came across a problem like this befor

  • How do you stream IMac 2007 to AppleTV?

    I'm trying to send my IMac 2007 display over to the new AppleTV 3rd generation that we just bought. Is this possible? Thanks in advace for your comments!