Buttons not working in movie clips

I have multiple movie clips on stage (all in separate layers, of course) as well as buttons on stage to play each movie clip. There are buttons inside each movie clip. The problem is that the buttons inside the top layered movie clip work, but the others in the movie clips below don't.
This is frustrating!! Can anyone help???

It shouldn't matter which layer things are on.  If they are separate movielcips, one should not impact another.  What version of actionscript are you using?  Do any of the movieclips have mouse interactive code assigned to them?

Similar Messages

  • Button not working in Movie Clip

    I'm building a small 'table builder' app for a client. This
    is my first major project in flash and I've encountered something I
    cannot figure out for the life of me.
    In the .fla below there's a movie clip 'scroller' it has
    buttons in it which load .png's to the main stage. Some of the
    buttons work, some don't.... I can't figure out why. Even when I
    duplicate a button sometimes it doesn't work.??? If I take a button
    that's not working in the movie clip and cut/paste onto the main
    timeline it ALWAYS works. I've been pulling my hair out over this
    for the last two days . I have even started the whole project from
    scratch just to try and find out where I went wrong... but to no
    avail..... Any help would be GREATLY appreciated. I'm stuck on a
    hump and I need some help to get off of it.
    Here's a link to my file. I've stripped away all the styling
    elements so it should be pretty clean cut when you see it. Thanks
    for any help or guidance!
    http://www.buddyscampfire.com/tableBuilder.zip

    A few errors: Scene 1 frame 1 Actions layer. You are
    referring to buttons inside of the scroller, and you don't have
    too. They aren't doing anything. All you need on that frame is:
    function startLoading(whichImage) {
    loadMovie(whichImage, "imageLoader");
    _root.onEnterFrame = function() {
    infoLoaded = imageLoader.getBytesLoaded();
    infoTotal = imageLoader.getBytesTotal();
    percentage = Math.floor(infoLoaded/infoTotal*100);
    infoField.text = percentage+"%";
    if (percentage>=100) {
    delete this.onEnterFrame;
    infoField._visible = false;
    Then on the Scroller you have that function again. Remove it
    from the scroller, as it does nothing there. Inside of the scroller
    all you need is code to attach png files from pressing the buttons.
    Make sure each button has a unique instance name, which isn't the
    case right now. You have like three buttons called imgbtn1. Fix
    that.

  • Animated drop down buttons not working in movie clip

    Hi,
    I am working on this site: (AS2)
    http://www.steamandclean.com/Index_w_1.html
    I have two types of drop down menu. One under Commercial and one under Technical
    The buttons are movie clips. The drop downs are also movie clips that start in frame 2 and are triggered on rollover.
    The child buttons are buttons living on the drop down movie clips. They are set to getURL
    As you see they are not willing to neither link to any url or will they run their move clip animation. One is a button and one is a movie clip.
    The left movie clip has a mask, but it makes no difference if I remove the mask . It also has a emboss filter and no difference is I take that away either.
    All of it is in one flash movie right now, but I will be splitting it up in a master navigation movie and individual swf's soon.
    Right now I have the main movie, then the button MC then the dropdown MC and in the drop down MC I have placed either a animated (button) MC or a button. So it nested in nested in.......
    In both cases I scripting the child buttons like this:
    on (rollOver) {
    gotoAndPlay(2);
    on (rollOut) {
    gotoAndPlay(6);
    on (release) {
    getURL("http://steamandclean.com");
    I have also tried to use
    _parent.getURL and _root.getURL in stead of just get URL, but it does not work.
    The drop down buttons seem to be buried. In the left side the whole drop down panel seems to act like a link?
    What am I doing wrong?
    Can you help?
    ggaarde

    Hi Ned
    Thank you for your reply again.
    I figured it out.
    Your reply prompted me to have my main button on rollover to go to a frame number on the main time line and then move the content of the drop down movie clip to that frame.
    The drop down panel now work and the child buttons animation now work as well. I just had to find a way to make the drop down panel disappear on rollout. Since I could not script the actual drop down panel I created three skinny invisible buttons and placed them on the right, left and button of the drop down panel. I scripted them to go back to frame 1 on both rollover and rollout. Done.
    See the result there:
    http://www.steamandclean.com/Index_w_1.html
    (Left side only)
    Thank you for your help.
    ggaarde

  • Remove Child and Event.SOUND_COMPLETE not working inside movie clip. What's the problem?

    I have a movie clip that is called to the stage. The user then clicks a button and music plays. As the music starts, another movie clip is called, a simulation of  an equilizer. There are several things that should happen:
    1) When the user closes the movie clip the music is supposed to stop playing and the equilizer movie clip is removed. What actually happens is the music stops playing but  the equilzer movie clip is not removed.
    2) When the music is finished playing the equilzer is supposed to be removed from the stage and the play button is reactivated. But none of that happens. When I click on the movie clip a second time equilizer is still there and the play button is not reactivated.
    Here's the code that calls the movie clip to the stage.
    stage.addEventListener(MouseEvent.MOUSE_DOWN, goButtons);
    function goButtons(event:MouseEvent):void
        if (event.target == Song_bnt)
            SoundMixer.stopAll();
            addChild(myPlaySong);
            myPlaySong.x = 304;
            myPlaySong.y = 105;
            //event.stopImmediatePropagation();
    Here's the code in the movie clip:
    import flash.media.Sound;
    import flash.events.Event;
    stop();
    var playRayJaySong:RJSong;
    var playRayJaySongChannel:SoundChannel;
    var equilizer:Equilizer;
    equilizer = new Equilizer();
    playRayJaySong = new RJSong();
    //Plays music, inactivates buttons, and adds the equilizer to the stage.
    PlaySongRJClip.addEventListener(MouseEvent.MOUSE_DOWN, songPageButton);
    function songPageButton(event:Event):void
        playRayJaySongChannel = playRayJaySong.play();
        PlaySongRJClip.visible = false;
        ClicktoPlaySong.visible = false;
        addChild(equilizer);
        equilizer.x = 269;
        equilizer.y = 246;
    //Removes the equilizer from the stage when the music is complete.
    PlaySongRJClip.addEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
        function rjSoundComplete(e:Event):void
        PlaySongRJClip.visible = true;
        ClicktoPlaySong.visible = true;
        removeChild(equilizer);
    //Removes the equilizer and event listeners from stage and calls dispatch event to close the movie clip.
    closeSong_bnt.addEventListener(MouseEvent.MOUSE_DOWN, CloseSong);
    function CloseSong(event:MouseEvent):void
        removeChild(equilizer);
        dispatchEvent(new Event("RemoveMSong"));
        PlaySongRJClip.removeEventListener(MouseEvent.MOUSE_DOWN, songPageButton);
        PlaySongRJClip.removeEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
    //Removes the MovieClip from the stage when the user clicks on the close button inside the MovieClip.
    myPlaySong.addEventListener("RemoveMSong", RemoveSongClip);
    function RemoveSongClip(e:Event):void
        SoundMixer.stopAll();
        removeChild(myPlaySong);
    Any thoughts?

    I figured out the problem. Here's how I reorganized the code (all in one frame).
    //Code for Ray Jay song.
    var playRayJaySong:RJSong;
    var playRayJaySongChannel:SoundChannel;
    playRayJaySong = new RJSong();
    myPlaySong.equilizer_inst.visible = false;
    //Plays the song.
    myPlaySong.PlaySongRJClip.addEventListener(MouseEvent.MOUSE_DOWN, songPageButton);
    function songPageButton(event:Event):void
        playRayJaySongChannel = playRayJaySong.play();
        playRayJaySongChannel.addEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
        myPlaySong.equilizer_inst.visible = true;
        myPlaySong.PlaySongRJClip.visible = false;
        myPlaySong.ClicktoPlaySong.visible = false;
    //Removes the MovieClip from the stage when the user clicks on the close button inside the MovieClip.
    myPlaySong.closeSong_bnt.addEventListener(MouseEvent.CLICK,RemoveSongClip);
    function RemoveSongClip(e:Event):void
        SoundMixer.stopAll();
        removeChild(myPlaySong);
        myPlaySong.equilizer_inst.visible = false;
        myPlaySong.PlaySongRJClip.visible = true;
        myPlaySong.ClicktoPlaySong.visible = true;
        playRayJaySongChannel.removeEventListener(Event.SOUND_COMPLETE, rjSoundComplete);
    //Resets all of the movieclips to their orginal state.
    function rjSoundComplete(e:Event):void
        myPlaySong.equilizer_inst.visible = false;
        myPlaySong.PlaySongRJClip.visible = true;
        myPlaySong.ClicktoPlaySong.visible = true;
    Thanks all for your suggests and input.

  • Stop(); not working. Movie clip is looping.(AS2)

    I have made a movie clip that needs to play till the last frame and then stop there, but not dissapear. Right now, as I am putting the command stop(); on the first frame of the movie clip and on the last frame too, nothing is changing, the movie clip is still looping and does not stop at all.
    What could be the problem?
    p.s. I am really a beginner in Adobe Flash.

    Can you show a screenshot of the timeline and where the stop() command are placed?  If stop(); is the only code you are using then it sounds like you are putting the code in the wrong place.

  • Loadvariablesnum not working on movie clip

    I have a movie clip called "popup" on my root timeline. In
    the popup movie clip, there is a dynamic text box with the variable
    set as "content". I have an external txt file called "file.txt". On
    my popup timeline, I have this code:
    loadVariablesNum ("file.txt",0);
    I have both my fla file and the txt file in the same folder.
    The txt file doesn't load. It loads if I put a dynamic text
    box on the root timeline and put the actionscript there too.
    What am I doing wrong? Thanks!

    what makes you think it doesn't load? if the text fails to
    appear in your textfield i would suspect you have a path issue
    because your variable (from the textfield) is loaded into _level0
    and your textfield variable is in _level0.popup.

  • Movie Clip Button Not Working

    I'm working on creating buttons right now as movie clips so when you roll over it they rise up. The third one "print" is jumping around like crazy and I can't figure out why. I've deleted and re-done it 3 times without luck. I've attached my file - if anyone can spot where I've made a mistake that would be great. Thanks!

    Got it - realized the text wasn't staying as static text and was a movie clip before the final frame. So if anyone else has this problem, create a new keyframe on the ending frame, and make THAT the movie clip.

  • Mask works in movie clip, not in scene

    I've created a movie clip with a mask that I'm using in a
    main scene. The mask looks fine while editing/working the movie
    clip, but does not show up in the scene.
    The really strange thing is that it was working, but suddenly
    now it won't show up in the scene any longer. I've tried replacing
    it, making a new layer and bringing it in again. But nothing works.
    Does anyone have an idea of why this would be?
    Any help GREATLY appreciated!
    dm

    scenes are nothing more than the main timeline divided.
    Nothing different from one scene to the
    other in terms of layer and frame functionality - sounds to
    me like you simply dont have the mask
    and masked layers locked in that scene.
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    dkmiles wrote:
    > I've created a movie clip with a mask that I'm using in
    a main scene. The mask
    > looks fine while editing/working the movie clip, but
    does not show up in the
    > scene.
    >
    > The really strange thing is that it was working, but
    suddenly now it won't
    > show up in the scene any longer. I've tried replacing
    it, making a new layer
    > and bringing it in again. But nothing works.
    >
    > Does anyone have an idea of why this would be?
    >
    > Any help GREATLY appreciated!
    >
    > dm
    >

  • Simple Drop Down Menu buttons not working

    I'm having a bit of trouble getting a button in a hoover over drop down menu to link to another scene in the .swf movie. I just doing a basic drop down menu (example here: http://www.flashkit.com/tutorials/Interactivity/Navigation/Drop_dow-Phlook-951/index.php) with a couple of buttons with in a movie clip, the movie clip being the "button" someone hoovers over. The buttons however are not going to the corrisponding scene I have them set up to. What's strange is that if I set in the buttons action panel to go to an url instead of a scene, in the .swf movie the button works when I click it...it wants to go the specificed url. Nothing happens when it's set to go to a scene. Any help would be much appreciated.

    Thanks for the reply Ned. The code I'm using on the buttons is the same method I'm using for the regular buttons (i.e. not with in a movie clip).
    on (release) {
        gotoAndPlay("Scene X", 1);
    I like and appreciate the idea on keeping it with in the same timeline, but that didn't work either. This is all very strange, because as I said, the buttons that are not with in a movie clip work with that method in their action panel. And the buttons with in the movie clip work out to an url, just not a scene or frame number.
    I'm using CS4, but I'm not sure which 'Publish' settings I should have it at, and on 'Profile' it's set to 'Flash CS3 Settings (it's either that or 'Flash 5 Settings').

  • Drop down menu buttons not working

    hello anyone..
    i have buttons on a drop down menu that wont do anything. The
    only thing the works so far is the on roll over stage. I am trying
    to make the button navigate to a certain frame on the same scene.
    The buttons are from my button1_mc.... and the first is affars_btn.
    I labeled the instances accordingly and placed the script on the
    first frame of the scene (2) which is where the menu and main info
    is on. Scene 1 is just the preloader.
    button1_mc.affars_btn.onRelease = function() {
    gotoAndStop("2", 51);
    }

    Thanks for the reply Ned. The code I'm using on the buttons is the same method I'm using for the regular buttons (i.e. not with in a movie clip).
    on (release) {
        gotoAndPlay("Scene X", 1);
    I like and appreciate the idea on keeping it with in the same timeline, but that didn't work either. This is all very strange, because as I said, the buttons that are not with in a movie clip work with that method in their action panel. And the buttons with in the movie clip work out to an url, just not a scene or frame number.
    I'm using CS4, but I'm not sure which 'Publish' settings I should have it at, and on 'Profile' it's set to 'Flash CS3 Settings (it's either that or 'Flash 5 Settings').

  • Back button not working in safari

    back arrow button not working in safari.

    Safari 6
    Empty Caches
    1. Safari > Preference > Advanced
        Checkmark the box for "Show Develop menu in menu bar".
        "Develop" menu will appear in the Safari menu bar.
        Click Develop and select "Empty Caches" from the dropdown.
    2. Quit Safari if open.
        Option click the "Go" menu in the Finder menu bar.
        Select "Library" and then "Caches".
        Look for the folder 'com.apple.Safari"
        Right click "com.apple.Safari" and select "Move to Trash"
        Relaunch Safari.

  • Flash MX - Sound on/off button not working properly.

    I used the tutorial found here. The 3 frames of my button are in a movie clip, within a keyframe in the main timeline. I used the code at the end in the tutorial for the first keyframe, so that the clip begins with music playing. However; I cannot get the buttons to work. I cannot stop the sound. Help please? I desperately need it.

    show the code you used.

  • Frames panel: looping button not working

    Frames panel: looping button not working
    I use Fireworks MX 2004
    Frames panel: looping button:
    When I set looping to 2, it stops after 2, as it should.
    All other values, i.e. 1, 3, 4 etc will go on 'forever'.
    What's wrong?
    Thank you for your help.
    Adrian

    This is just a simple exercise.
    http://www.tudo.co.uk/testing/looping_problem.png
    http://www.tudo.co.uk/testing/looping_problem.gif
    In the png file, Frames panel, bottom left, where I can set
    looping to
    any number, including 'forever', I set the looping frequency
    in this
    case to 1. So I expect it to stop after one movement up into
    the right
    top corner and return to bottom left.
    When I play this in 'original' or in 'preview' in Fireworks,
    the
    animation moves continuously instead of stopping after one
    round. That
    is my 'problem'. Or can I not expect this to work while it is
    still in png?
    When I export it to gif, it works exactly as wanted - once
    only.
    Adrian
    Alex Mari�o wrote:
    > adrian,
    >
    > Could you post the png file online and explain exactly
    what you are
    > trying to achieve?
    >
    > alex
    >
    > adrian stock wrote:
    >
    >> Frames panel: looping button not working
    >>
    >>
    >> I use Fireworks MX 2004
    >>
    >> Frames panel: looping button:
    >>
    >> When I set looping to 2, it stops after 2, as it
    should.
    >>
    >> All other values, i.e. 1, 3, 4 etc will go on
    'forever'.
    >>
    >> What's wrong?
    >>
    >> Thank you for your help.
    >>
    >> Adrian

  • Logitech mouse buttons not working in photoshop cc 2014

    logitech mouse buttons not working in photoshop cc 2014 winds 8.1. Is this a common problem?
    I have updated the latest drivers and have a few buttons programmed with keyboard shortcuts that used to work in previous versions of Photoshop but don't work now.
    Scrolling with mouse in bridge stopped working in cc butI see it is now working.
    any ideas?

    Many Photoshop extensions are not compatible with Photoshop CC 2014 for Adobe removed support for Flash Panels in CC 2014. Many extensions panels are flash based.  Check with the developer to see if their blendmein extension works with CC 2014.
    Adobe does not maintain Photoshop so it backward compatible with prior versions of Photoshop.  This brakes things like action scripts plugins extensions etc. Keep old version of Photoshop installed....

  • IPhone 4 middle button not working

    Having problems with the iPhone 4 middle button not working anyone else with the same problem ?
    Thanks

    i have the same problem. since you're software is already iOS 5.1 go to settings>general> accessibility>the settings after triple click home, i forgot what is it called but that would help.

Maybe you are looking for