How do I make all buttons on stage unclickable, while a certain movie clip is visible?

Hi,
I have a button on stage which opens a popup (movie clip is popup + several other buttons). The movie clip and the buttons on it take up most of the stage.
The problem is that the buttons which are on the stage, and are behind the movie clip, remain clickable (you can click through the movie clip!). How may I disable this?
Basically, I need to make it that you cannot click through the movie clip.
Thanks in advance!
PS I am using CS5 and AS2.

One way would be to make the movieclip clickable.  That would make it block the other objects behind it...
     mc.onRelease = function(){ }
     mc.useHandCursor = false; // to hide the hand cursor
Another way would be to disable the buttons while the movieclip is present...
     btn.enabled = false;
Another way would be to build conditional code into the button clicking code to not work if the movieclip is visible.
     btn.onRelease = function(){
          if(!mc._visible){
                // okay to do stuff

Similar Messages

  • How can I make a button "react"?

    This is probably a super silly question, but you know how it is, sometimes we sit on the answer and still can't find it... How can I make a button react to a click? I just want the simple effect of the button changing colors or looking like the user pushed it. Right now it's just the same old plain button, no matter if I click it or not, you can't really tell the difference. How can I give it the "pushing the button" effect? Thanks guys!

    You can choose image button and then choose from the available image buttons, or click on the folder icon when you select the image button and choose from the Gallery of Captivate 6.
    Few image buttons change color on hover or onclicked, these effects are predefined in them.
    Or you can edit that button on which you are working, from properties Panel.
    The Post and Cancel button on this thread seems like a transparent button in Captivate with different fill and stroke color, and transparency is also less, and with corner radius of 0.
    You will find these all optionns, when you will click on that button and then click on the properties panel.
    Thanks.

  • How can you make one button preform different actions in Xcode?

    How can you make one button "preform a click" and "orderfront"? Is that possible? Because what I am doing is making a welcome window to my application for Mac OS X 10.6, and I have two buttons in that window, one says "Connect" which connects a a WebView to a url and the other button opens up the main window. So how can I a make a button do multiple things at once??

    Ah - If you are just using bindings between various objects from Interface Builder, you can reduce your application code a bit (sometimes quite a bit), but there is only so far you can go. Typically variables and routines are defined in your application that Interface Builder hooks into, so that your application code (usually Objective-C, but can be others) can use these variables and routines to determine what is happening in the user interface.
    I'm not sure how up-to-date the project code is (or what programming code you are familiar with), but you can take a look at Apple's Cocoa Application Tutorial to see what is (usually) involved in creating an application.

  • How do I make a button NOT take focus when it is clicked?

    I am trying to create a virtual keypad and the problem is that when I have a Robot make a KeyEvent for a certain number when a certain button is pressed, the TextField loses focus and the focus is placed on the button that was pressed, so nothing appears in the TextField.
    How can I make a button NOT take the focus when it is pressed?
    Edited by: tox0tes on Nov 28, 2008 8:06 PM

    great. another way is to have a call to myTextField.requestfocus() in the button's actionlistener actionPerformed method, but that leads to tight coupling.

  • How do I make a button onj the form which will submit and send the pdf as an email?

    how do I make a button on the form which will submit and send the pdf as an email?

    You can set up a button with a "Submit a form" action and use a mailto type URL to specify the email address you want the forms sent do. If you want to send the entire PDF, select that option and not FDF or anything else. The mailto URL should not include any spaces and the "mailto" part should be lowercase, like:
    mailto:[email protected]
    This will attempt to initiate an email using the users default email client. If the user does not have one set up or there is some other problem, the email might not get initiated. If it needs to work with Reader versions prior to 11, then the form needs to be Reader-enabled, which you do in Acrobat 11 by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools

  • How do I make all the music in my ipod 5 the same volume? I already used sound check but it does'nt work.

    How do I make all the music in my iPod the same volume because sound check doesn't work and i have all the latest firmware.

    Nothing more you can do.

  • I have recently updated my computer and it has imessage on it but sometimes they dont send them to my phone how can i make all the messages be on both?

    i have recently updated my computer and it has imessage on it but sometimes they dont send them to my phone how can i make all the messages be on both?

    See Here  >  About Messages
    Using Messages  >  http://support.apple.com/kb/HT3529
    Troubleshooting Messages  >  http://support.apple.com/kb/TS2755
    Mac 101: Messages
    http://support.apple.com/kb/HT5395

  • How can I make a button that on press the object appears and on second press the object to disappear

    Hello,
    I'm quite new to flash programing, and I don't know how can I make a button that will make the object appear and disappear.Till now I have this code for the appear:
    on (press)
        _root.top1.gotoAndStop(2);
        _root.topp.gotoAndStop(2);
        _root.mm1.gotoAndStop(2);
              _root.m1.gotoAndStop(2);
    but from here I'm stuck.
    Thank you for your help

    What you can do is use the _visible property of the object to make it appear and disappear, or more correctly, use the opoosite of the _visible property.  You should not put code "on" objects, keep it in the timeline.
    If "object" is the instance name of the object you want to toggle, then in the timeline code you can use...
    object._visible = false;  // start with the object being invisible
    yourButtonName.onRelease = function(){
        object._visible = !object._visible;
    That one line in the function sets the object's _visible property to be the opposite of what it currently is.

  • How can I make my buttons be gone forever?

    Just starting out with Flash and have run into a problem. I have several scenes with buttons that can be pressed once and then they disappear using:
    myBtn1.onRelease = function(){ this._visible=false}
    But when I go back to the scene the buttons reappear. How can I make my buttons be gone forever?

    if you have more than 1 button that should be made not visible at any given time, you'll need to use an array to store those button references.  otherwise, you can use:
    var alreadyRemoved:Boolean;
    if(alreadyRemoved){
    myBtn1._visible=false;
    myBtn1.onRelease=function(){
    this._visible=false;
    alreadyRemoved=true;

  • How do I make ALL files with RTF extension open in Nisus Writer?

    How do I make ALL files with RTF extension open in Nisus Writer? Right now it opens in Text Edit. I don't want to change it for one file. I want all files, regardless of how many or where they are.

    select a .rtf file in finder and enter command+i. in the resulting popup go to the "open with" section and change the app to open it to Nisus Writer and click "Change All".

  • I have the IPhone, IPad and MacBook, IPad and IPhone share the same Apple ID and Icloud storage. Cannot make ID Change on MacBook as it says the ID is already taken. How can I make all three match?

    I have the IPhone, IPad and MacBook, IPad and IPhone share the same Apple ID and Icloud storage. Cannot make ID Change on MacBook as it says the ID is already taken. How can I make all three match?

    The problem is that all services are bundled with your Apple ID ([email protected]):
    Your iCloud account (Mail, Contacts, Calendars, Reminders, Notes, Backups, etc.),
    also iTunes & App Store purchases (Music, Movies, TV Shows, etc.),
    and the iTunes Match services.
    (I guess that all your devices - yours and your wife's are connected to one iTunes library, right?)
    If you want that your wife gets her own iCloud account for Mail, Contacts, Calendars, etc. but gets also access to your media then you have two set up two things on her device:
    iCloud (Settings > iCloud) with her account (e.g. [email protected])
    and
    iTunes & App Stores (Settings > iTunes & App Stores) with your account (e.g. [email protected]).
    In this case she gets access to your library and could use the same iTunes Match account.
    (See also: Using one Apple ID for iCloud and a different Apple ID for Store Purchases http://support.apple.com/kb/HT4895)

  • HT4527 i just copied some music from my external hard disc to my macbook . how can i make all that music be shown in my iTunes without having double copies of the music??

    i just copied some music from my external hard disc to my macbook . how can i make all that music be shown in my iTunes without having double copies of the music??

    Hello Sudhanshu Mishra,
    Thank you for using Apple Support Communities!
    You can have iTunes reference the content where ever it is on your HDD without copying the content to the iTunes library, thus using twice the space.
    If iTunes is set to "Copy files to the iTunes Music folder when adding to library," iTunes will copy all content that is added to the iTunes library to the iTunes Music folder. To adjust this setting or change the location of this folder, go to the Advanced tab in iTunes Preferences.
    From: Adding music and other content to iTunes
              http://support.apple.com/kb/HT1473
    Additionally if you want the content to then ALSO be located in your iTunes Library folder so everything is all kept together nice and tidy, use this:
    Consolidate your files in the iTunes folder
    Depending on how you imported items into iTunes, some items in your library might be stored in different locations (in another folder or on another hard disk, for example).
    You can consolidate all the files in your library in the iTunes folder—for example, to make it easier to move your library to a new computer.
    Choose File > Library > Organize Library.
    Select “Consolidate files.”Files remain in their original locations, and copies are placed in the iTunes folder.
    To create folders (Music, Movies, TV Shows, Podcasts, Audiobooks, and so on) inside your iTunes folder, and place all your imported media files in the appropriate folders, select “Reorganize files in the folder ‘iTunes Media.’”
    From: help://bookmark='https://help.apple.com/itunes/mac/11.0/help/index.html?localePath=English.lproj# itns2999'
    Cheers,
    Sterling

  • Please assist. How can I make all the photos on my Iphone visible? and not only the recently added ones? I'm using IOS 8

    Please assist. How can I make all the photos on my Iphone visible? and not only the recently added ones? I'm using IOS 8

    Did you move to iOS 8 via iTunes?  Your photos should all be on your iPhone 5s without any issues even if you updated via WiFi.  The update should have no impact on your photos other than to have moved any photos in your former Camera Roll to your Photos.  When opening the Photo App you should see Photos and Albums available at the bottom of the screen.  You can also look at Settings>General>About and looking down the list your should see the word Photos and a Count at the right.  This count should represent all of the photos in your iPhone.

  • How to select the all object at a time while installing business content

    Hi All,
    how to select the all object at a time while installing business content Please let me know if nay document is there
    Thanks Ahmed Pasha

    Hi,
    Please check out the below links
    [Business content Installation|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/102906a4-f13d-2e10-7199-ce316ff254b8?QuickLink=index&overridelayout=true ]
    [BI Content|http://wiki.sdn.sap.com/wiki/display/BI/InstallingBusinessContent]
    Hope it helps.
    Regards,
    AL

  • How can you make movie clips partially visible?

    Okay, so this sounds simple, but I'm tottally lost... I'm a thirteen year old boy that has been using Flash for a little over 3 years. I program video games. I recently embarked on a game where one of the modes is to be split screen, player one gets the top half, player 2 the bottom. The promblem with this is that my game is based off of a moving background, where inorder to keep the main character centered the background moves instead of them. Becsause of this,when setting up split screen, the screen on the upper layer takes over the bottom because there would be more showing then there would be in the game: Parts would be off screen. I was wondering if there was anyway that using hitTest(s) (or some other method) you could make a movie clip partially visible/ invisible. I know the code for making something invisible when touching something else. But I was wondering if there was a way to make only the part of the movie clip touching another movie (it would have its alpha turned off... let's say it's a hitBox) or only the part of the movie clip touching the hitBox visible, invisible. Another way of looking at this is that I want a movie clip to be a small box, but inside I want their to be a huge picture. I want to make it so that when you move the picture different parts are viewable in this little box. And to make this as clear as I can... : I want to make a circle that I'll call the magnifying glass. I want to make an invisible picture that can be moved using code (I know that part). I want it so that when part of the picture is under the magnifying glass it's visible, not the hole thing, jus that circular area. Another reason I'd like to have this promblem solved is for a moving water effect. I want to make a movie clip and tween showing a square of rushing water, but without putting anything over parts of it (other than a hitBox) I want to make only a squiggly line of that water box visible. Thank you so much! =D I really hope you guys know! =D P.S. I also am currently using the trial of CS4, if that helps anything. But if it's only possible in AS3, then it's impossible to me because I use AS2 conservatively.

    Thanks... but I think you've misunderstood my question. I suppose magnifying glass wouldn't be the right word... I just wanted to explain that I want only the part of one mc touching another mc to be visible. I hope this isn't confusing. I have no need to enlarge an image. I want to make a movie clip only partially visible. Check out the fla.

Maybe you are looking for

  • IPhone 5s won't show up in iTunes

    I bought an iPhone 5s today and after it was fully activated and working, tried to hook it up to my computer. It said my itunes had to update, however it wouldn't update so I uninstalled itunes and downloaded it off of apple's site. This time it down

  • Word Templates for Office:mac

    I am trying to locate the Legal templates for MS word that are compatable with Office:mac. My search of the Microsoft downloads website came up with nothing. In fact the few templates I found were more along the lines of novelties rather than the ful

  • My super-drive macbookpro stopped recording DVD

    My super-drive macbookpro stopped recording DVD and continues to correctly read and burn cd. Has anyone had this problem? Is the drive or software? thanks MATSHITA DVD-R   UJ-868:   Revisão de firmware:          KB19   Interligação:          ATAPI  

  • How can I type different languages for imovie title?

    Im trying to create a tittle in Thái ? How can I do that? I have no problem typing in English. Thanks

  • Can i publish in a VI a webcan using ActiveX ?

    We created a VI to monitor a manipulator Robot using AnctiveX functions to capture an show images from a simple USB webcam. However, we are having problens to publish these images. Does someone have any suggestions on how can i solve this problem ? T