Visibility button won't work correctly?

Hello. I am using Adobe Flash Pro CS6.
Right now I am trying to make three buttons that show only one movie clip and hide other two movie clips.
My layer structure is like this.
Button (which has tree button instances)
a_mc(wich has a 80 frames movie clip)
b_mc(same as a_mc)
c_mc(same as a_mc)
And the script is like this.
Button 1has this script.
on(release)
          _root.a_mc._visible = true;
          _root.b_mc._visible = false;
          _root.c_mc._visible = false;
Button 2 has this script.
on(release)
     _root.a_mc._visible = false;
     _root.b_mc._visible = true;
     _root.c_mc._visible = false;
Button 3 has this.
on(release)
     _root.a_mc._visible = false;
     _root.b_mc._visible = false;
     _root.c_mc._visible = true;
Three clips are 80 frames long, and I let them play all the time, but when I push  the Button2 or 3  to hide other 2 clips, it hides them, but when the playback time comes back to frame 1, the visibility setting is reset. For example, I push the Button 2 and hide a_mc and c_mc clips and show only the b_mc, but when the current time  comes back to 1 frame, visibility setting is reset and it shows a_mc and of course a_mc clip hides b_mc clip. Do you know why the visibility setting is reset? Please tell me what is the problem in my script.Thank you in advance.

Thank you for your reply. I am talking about this timeline..
The red 1 frame is the frame 1 I am talking about. a,b and c clips play till 80 frames. Those 3 clips are loop movies, so I want to let them loop, but I want to show only one clip using buttons, and hide other 2 clips, but that script setting is reset when a clip(,which the button sets to be solely shown) starts to play again.

Similar Messages

  • My home button won't work correctly after I plug the charger in

    My iPhone 5s's home button doesn't respond correctly after i plug in the charger. I'm not sure what's wrong.
    At first, it wouldn't charge so i had to find a different charger that i had ordered from amazon (not from apple) and it only worked when i plugged it in with one side. the other chargers that i have from apple do not work. the home button sometimes works correctly, but im sure that it starts to not respond correctly after i plug the charger in. i have tried almost everything i could find on the internet. im not sure if its a hardware or software problem. please help. thank you

    Sorry but I'm not clear. Do you have more than one charger from Amazon? Did this problem start after you used the charger(s) you got from Amazon and now using the Apple brand chargers it doesn't work either? I'm wondering if the Amazon charger damaged the phone.

  • Hi it's me rabia and i'm apple user  I want to change my cell phone because it's having scratches on it and i also feel like its home button did't work correctly  So i want to know that can i have a new cell phone on replace of this one at any nearby of m

    Hi it's me rabia and i'm apple user
    I want to change my cell phone because it's having scratches on it and i also feel like its home button did't work correctly
    So i want to know that can i have a new cell phone on replace of this one at any nearby of my house App store without any cost  ?
    But i'm not having any line yet on my phone i use it on net mostly so what is the scene can i have or can't ??
    please inform me soon !

    Is your phone still covered by warranty?  If so, go to your nearest Apple store and depending on what happened, this may or may not be covered by warranty.  If it is, then you can get a replacement exactly as the phone you already have.
    If out of warranty, then there is nothing you can do and you'll have to pay.

  • IPod nano gen 4 forward button won't work, and the hold switch won't either.  I've tried restoring it and it didn't fix the problem. Any suggestions?

    The forward button won't work and the hold switch doesn't either.  I tried restoring it, but that didn't work.

    Restore to factory settings.new iPod if you have not yet already. If still problem time for an appointment at the Genius Bar of an Apple store.

  • My ipod home button won't work or its jammed help

    My ipod home button won't work or its jammed or something help.

    I would if its still under warranty ask apple to repair it, thats what i did.

  • I loaded software updates to Settings now my lock button won't work. I was told to do a restore but it keeps timing out. I disabled virus software which didn't help. How do I get it to restore?

    I loaded software updates to Settings and now my lock button won't work. I was told to do a Restore but it keeps timing out. It says it will take 58 minutes to do the restore. I disabled my virus software but that didn't help. Any suggestions so I can do a Restore?

    Try the Manual Install discussed here:
    iDevice Troubleshooting 101 :: iPhone, iPad, iPod touch

  • Vertical scrolling with TrackPoint's middle button won't work on MS Word

    Question:
    I have a T42 ThinkPad and the vertical scrolling with TrackPoint's middle button won't work on MS Word and therefore not in my email either. Big pain in butt as I'm so used to using it. Are there any patches that fix that? Any ideas on why it won't work?

    It's really weird. My suggestion would be that you install the most up-to-date driver by direct downloading or via System Update (if you haven't updated the driver).
    Rockwill
    ThinkPad T61p 6459A12

  • My home button won't work

    My husband's I-pad has been playing up! His home button won't work, and this keeps happening.

    Try a reset ...
    If that doesn't help, tap Settings > General > Reset > Reset All Settings
    Beyond that, restore the iPad > iTunes: Restoring iOS software

  • My lock screen button won't work how can I fix this?

    My lock button won't work, every time I click it it won't lock my screen unless I press the button hard enough and or in a weird gesture, how can I fix this where I don't need to struggle locking it?

    Stating the obvious,
    Can you Reset it?
    Have you checked if the Hold switched is not in locked position? (should not see the red mark)

  • I just installed iOS 6.1.5 and now my power button won't work

    After installing iOS 6.1.5 and reinstalling the apps that it deleted from my computer my power button won't work on my iPod touch 4th gen.  Any suggestions?

    Try:
    - 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: How to back up                                                                
    - 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                                      

  • My music button won't work.

    updated my iphone to ios7 and everything was fine. but when i tried to use the music buttons to skip/play songs, the buttons won't work. as in i'm not able to skip or play a song. i have to go to the music icon and do it from there. can someone help?

    Genius reservation http://www.apple.com/retail/geniusbar/

  • Ipod power button won't work

    As of late, my power button is acting weird.  Either when you press the power button it won't turn on.. or it will.. Sometimes it works sometimes it doesn't..
    To get it to turn off if the power button won't work, I'll just drain the battery.  Anybody know anything to help?

    That's a hardware problem.  Apple doesn't repair it.  If there is no sign of abuse (don't try to fix it yourself), they replace it with a refurbished unit.  The fixed-price for non-warranty replacements can be found here.

  • Play/pause button won't work

    Ipod Classic 80Gb
    Play/pause button won't work 9/10 times.
    Any idea on how to fix that?

    Besides resetting the iPod, have you attempted restoring it? You can do that by clicking the "Restore" button on the the iPod's Summary page in iTunes.
    Assuming that doesn't work, you can check your [warranty status|https://selfsolve.apple.com/GetWarranty.do] to see if you are still covered for hardware repair. I doubt any 30GB iPods are still under warranty, since they were discontinued over two years ago, but you said you got it in March 2009 - did you purchase it used?
    Whether it's under warranty or not, you can always make a Genius Bar appointment at your closest Apple Store and see if they have any other suggestions, free of charge. If it's a hardware problem, they can replace the iPod for you, but there would be a charge to do so if you're out of warranty.
    Shawn

  • HT1657 rent button won't work

    Rent movie button won't work.  Just downloaded a movie and trying to rent a second movie.

    Ok, the whole scene has a simple loop to keep it running..
    The first button has:
    on (release)
    loadMovie("game.swf",1);
    The button on the external swf has:
    on (release)]
    stopAllSounds();
    loadMovie("project_games.swf",1);     //I have a swf for the original scene to connect the external swf directly with it, rather the whole project swf
    The other button in my original scene (the one that doesn't work after the use of the above two):
    on (release)
    gotoAndPlay("begin",1);                 //begin is the name of a scene in the project
    That's it.
    THanks for your reply my friend.
    Any ideas?

  • Power button and voice control buttons won't work on my macbook pro retina

    I found that my power and voice control buttons won't work on my new Macbook pro retina. I can't shut it down or restart it in any way. And Im afraid if I force to shut it down I can't turn on it cuz the power button won't work. What should I do? Any idea???

    Please read this whole message before doing anything.
    Back up all data.
    Quit Facetime and  Messages if either is running.
    Step 1
    Hold down the option key and select
    Go ▹ Library
    from the Finder menu bar. Move the following item from the Library folder to the Trash (either may not exist):
    Caches/com.apple.imfoundation.IMRemoteURLConnectionAgent
    Leave the Library folder open. Log out and log back in. Try the applications again. If they work now, stop here. Close the Library folder.
    Step 2
    If you still have problems, quit again. In the Preferences subfolder, there may be several files having names that begin with any of the following strings:
    com.apple.imdsmsrecordstore
    com.apple.imservice
    Move them all to the Trash. There may also be a file with the name "com.apple.imagent.plist". Move that to the Trash too.
    Also in the Preferences folder, there's a subfolder named "ByHost". Open it and do the same thing.
    Log out and log back in. Test again.

Maybe you are looking for

  • Help with Image & Blog Bugs

    Hello all - Been putting together a site for the past few weeks, and we thought we had it all down pat until we went live. The links on the blog page come up with 404 errors, and (even worse) it seems that my Windows friends get image problems on the

  • One BW system for several landscapes ??????

    Guys I would really apprciate some advice.  In the past I have set up BW systems for a landscape consisting of APO, ECC, SRM and of course the BW system to support these. I am now working for a company that has several ECC production systems live and

  • Move Logical component to another system group

    I want to move an logical component which I have made under SAP ECC -> SAP ECC Server to SAP ERP ->SAP ECC Server under SMSY / Logical component. (because of the product version to install EHP4) How do you do that?

  • Safari opens downloads in new tab instead of saving files

    Whenever I click a download link in Safari (or Camino, or Firefox), the browser opens a new tab as if to open a web page. There is no apparent way to force the browser to save the file. This is a problem specific to my work Mac; my home Mac exhibits

  • Is there any tool in DW for chencking browser compatibility ?

    Hello all, I have some doubts. When i develop one website in Dreamweaver, i can check the out put design into all the browser compatibility. But I need to know is any tools having to check browser compatibility for website. Please reply to this threa