ActionScript 2.0 :: Disabling Buttons Underneath?
Apr 15, 2009
scenario: user rolls over a button, "something_mc" covers the entire flash movie, but buttons underneath that "something_mc" are still active. how would i disable the buttons underneath until user rolls off of "something_mc" (and in doing so reactivates the buttons).looks like most search options here bring up when another .swf is loaded ontop of another. my situation is if everythings in the same movie.
View 1 Replies
Similar Posts:
Dec 3, 2009
I am really struggling, I have some buttons on layer 0 I then have a pop up box on layer 1 that covers the buttons. However the buttons are still active underneath.
View 9 Replies
Apr 12, 2010
I made a help screen that pops up when the user clicks the "help" button. To accomplish this, I place the movieclip on the top layer, and set it's _visible to false. When the user clicks "help", visible = true, and BAM, help screen appears. The problem is that all of the buttons underneath my helpPage movieclip are still clickable.
View 2 Replies
Oct 28, 2010
lets just say in simple words that i hve on a layer(lets say LAYER1) a button that on rollover moves an other set of buttons which are on an other layer underneath the first layer(LAYER1).the problem is that i cant use the underneath buttons because the LAYER1 button is blocking their functionality
View 3 Replies
Jan 23, 2004
I've got a movie clip with masked-out areas. It's placed on top of various buttons.The idea is, the user rotates the top movie clip to reveal stationary buttons beneath it. Where there's a hole in the top movie clip, i'd like the user to be able to click the button revealed below.
It's looking like that's not possible. The buttons underneath cannot be activated, because the top movie clip is in the way, despite the transparency from the mask.
I'll begin thinking of a Plan B workaround, but first I wanted to ask if there's a way I'm not thinking of to do my Plan A.
View 2 Replies
Jan 23, 2004
I've got a movie clip with masked-out areas. It's placed on top of various buttons. The idea is, the user rotates the top movie clip to reveal stationary buttons beneath it. Where there's a hole in the top movie clip, i'd like the user to be able to click the button revealed below.
It's looking like that's not possible. The buttons underneath cannot be activated, because the top movie clip is in the way, despite the transparency from the mask. I'll begin thinking of a Plan B workaround, but first I wanted to ask if there's a way I'm not thinking of to do my Plan A.
View 2 Replies
Jul 20, 2009
i have a movie with this button which disables it upon loading of external .swf file:
on(release) {
loadMovieNum ("lg_01.swf", 2);
i1.enabled = false;
}
the site in progress: [URL]..How do i tell said .swf file to re-enable the "i1" instance from the original .swf file it loaded into? I guess where I'm getting lost is how to tell one .swf to affect another.
I think if i knew this little tidbit, I would most definitely be able to have more control over my sites.
I'm a self-taught novice actionscripter and obviously don't know enough to do something as simple as this.
View 14 Replies
Jul 21, 2009
I've created a gallery to play some FLV videos and after getting the thumbnail buttons to go and play on specific frame labels, I now need to disable the button that was clicked and have it re enabled when I click on a different button. Here is my code so far:
stop();
btn01.addEventListener(MouseEvent.CLICK, navigate);
btn02.addEventListener(MouseEvent.CLICK, navigate);
btn03.addEventListener(MouseEvent.CLICK, navigate);
[Code]....
View 5 Replies
Dec 20, 2004
I'm building a site at the mo with pop up that can be activated and covers the main page with a new info page. This popup can be activated at anytime and will cover whatever is in the main page. Trouble is, buttons are still active from the main page when popup is displayed and given the site design the only way to stop this problem is disabling the buttons below. What is a good way of doing this? I was hoping flash keeps some sort of array of mc content and the buttons could be identifed this way but somehow i don't think this is likely!
View 1 Replies
Oct 23, 2007
main swf load's in empty mc an external swf (submenu) and each swf load's in empty mc subsubmenu) other swf.
now in each sub_swf (second swf) when button is clicked I disable some buttons:
on (release) {
loadMovie("books_1.swf",empty)
[code]....
View 1 Replies
Dec 18, 2003
I have an mc that when you rollover opens a menu system. There are buttons behind this menu system that I would like to have disabled when the menu system is open and re-enabled when the menu system is closed. I have this script on my timeline:
[AS]
function lnkenable(isIt) {
lnk0.enabled = isIt;
[code]....
View 1 Replies
Dec 20, 2004
I'm building a site at the mo with pop up that can be activated and covers the main page with a new info page. This popup can be activated at anytime and will cover whatever is in the main page. Trouble is, buttons are still active from the main page when popup is displayed and given the site design the only way to stop this problem is disabling the buttons below.
View 1 Replies
Jan 21, 2009
I am having trouble with my buttons, they work perfectly,do what they are supposed to do. I am using this code for my buttons:
Code:
choco1.visited = false;
choco1.onRollOver = function()[code]....
When you click on the movie clip it goes to another frame and an animation plays: THE PROBLEM: When it goes to the animation frame after clicking the button, you are still able to click the button even though the buttons are behind the animation that is playing...how would i go about disabling the buttons while it is on the animation frame but also keep the visited state of the button clicked?
View 5 Replies
Feb 4, 2009
I want to disable all buttons on the stage when a certainevent trigger. Some of the buttons are already on the stage (manuallyplaced) at the startup and others are placed dynamically usingactionscript.Do I really have to assign each button a code telling them tobe disabled or can I target them all at onc
View 1 Replies
Mar 9, 2009
So lets say if you three movies loaded on the stage on top of each other and if I want to disable the buttons for all the movies that under the very top one so this way user is only able to click on the button of the very top loaded movie.
View 1 Replies
Nov 25, 2003
I've created a sliding menu that has a left button and a right button. Each button slides a background movieclip to the left or right. The background mc eases into position when one of the buttons is clicked. Problem is that buttons can still be clicked while the mc is easing into position. This throws off my x coordinate positioning of the mc. I've tried disabling the buttons and enabling them again at a few different points in my code. I've also tried using a time delay to enable the buttons but my logic isn't working. I've stripped the code that was not working out.
View 5 Replies
Oct 26, 2004
I got a question about disabling buttons, got this set of buttons where its animation is made by AS, so what I did is I put each button on separate MCs to make it move, but my prob is I have to disable the button while the animation is on progress..how do I stop it?
View 3 Replies
Mar 17, 2003
I'm working on a test where the user must find specific error keywords on a document and click on them to identify them as errors. After they click on an error, a movieclip popup displays to tell them they did a good job and explain why the error is an error.
On the movieclip that pops up, I've got a standard X close button to kill the movieclip. The problem is, when you click on the close button, the 20 buttons on the document below are still active, and can still be clicked on. Is there a simple way to disable them all, but only when a popup movieclip is being displayed?
View 7 Replies
May 29, 2010
Is there a way to disable buttons while a movieclip plays?Here's the logic in english:If you mouse_over buttonA and buttonB, fly_mc plays.If you mouse_over buttonC, flutter_mc plays.While fly_mc is playing, flutter_mc cannot play, and vice versa.
View 2 Replies
Oct 8, 2003
so...i've got these buttons in movie clips. the buttons are animated for mouseover and i've also got an action on the first frame of the main timeline to get the buttons to stay active when clicked on, so the view knows where he is.the problem with this is that any time i go to put an action on the button itself to pull up an external .swf or whatever, the buttons stop animating and/or stop staying "depressed" on the active sheet.
View 1 Replies
Jun 15, 2010
I am learning Action Script and have been working on a menu of buttons that will disable when clicked and enable when not clicked. The buttons are nested inside two movie clips called main and menu, whose instance names are main_mc and menu_mc. I have 3 files the fla with actionscript in frame 1, a ButtonSet class file and a DisablingButton file. get this error: 1120: Access of undefined property one_mc.(for each of the seven buttons)
[Code]...
View 5 Replies
Jul 16, 2008
I am wondering how can one stop the user from clicking on a button (MC) without using btn.enabled = false.example: i have a menu that has buttons which have tweens on rollover and onRelease events. I want to be able to click on home for e.g. disabling all other buttons to avoid user clicking but still keep the rollover. I have tried btn.enabled = false and of course i dont want to disable the entire btn and instead i want to disable just the onRelease event or even avoid the mouse from clicking until the animation finish. Only Then, user can click on another menu button.
View 3 Replies
Feb 15, 2012
Is there a way to disable/enable the buttons in FLVPlayback component? I got a flv files loaded into a fla file and the swf file then loaded onto the main fla file which where I want to disable/enable the FLVPlayback button at certain time.
View 7 Replies
Oct 10, 2011
I have a UIComponent that sits on top of a grid visually, which is also a UIComponent. The grid and the UIComponent that sits on top are on different branches. The gird has children which are Sprites. When the MousEvent.CLICK is dispatched it goes to the UIComponent on top. What I want it to do is go the element of the grid underneath. Is this possible?
View 3 Replies
Feb 27, 2009
Flash and Flex do a great job preloading themselves... however, they are big enough that they take forever to even get to that point... so the user on a slower connection sits and waits with a blank screen not knowing that the SWF is loading.
Is there a way to get an image "Loading..." underneath the Flash Object? I've tried it with a div background-image but it doesn't seem to work...
View 5 Replies
Nov 2, 2009
I'm loading a external SWF in to my FLAs cats_mc movie clip. How can I make the imported SWF appear underneath of the current objects in my cats_mc movie clip?.
View 17 Replies
Oct 1, 2008
I have a movieClip that I use as a background which sits underneath two textFields that are dynamically generated... I have added MouseEvent.MOUSE_OVER and MouseEvent.MOUSE_OUT to that movieClip so that I can change the alpha value to fade in/out the background...
The problem is when you directly rollOver on top of the textField which prohibits the MouseEvent.MOUSE_OVER happening on the background movieClip...I tried to set the selectable to false on those textFields, but that did not have any effect...
View 5 Replies
Oct 7, 2011
I have the coordinates, i just need to know what is there. Is there a simple command that will return this to me?
View 1 Replies
May 21, 2007
Here is some code I have been using. The movieclips stac on top of each other.
function loadXML(true) {
if (true) {
xmlNode = this.firstChild;
[Code]....
View 1 Replies
Mar 22, 2010
I would like to make a simple flash file where I have one image on top with multiple thumbnails underneath it. The only thing I need to do is get the main image to change to another when I click another thumbnail. The result would be a basic thumbnail driven image gallery.
View 1 Replies