ActionScript 2.0 :: Stop The Buttons From Being Active?
Feb 6, 2006
I have buttons in my container that fade out at one point of my website. But they stay active as obviously the movie that is playing at that point is loaded into the same container. How do I stop the buttons from being active?
View 2 Replies
Similar Posts:
Mar 26, 2009
I have a window component on my main timeline that gets called up on several instances. When the popup window appears, everything looks fine, except that the user can still click on links that are now behind the actual popup window itself. My question is how do I keep those buttons from being active while the popup window is active?
View 2 Replies
Nov 23, 2009
I have a simple question: how do you stop a microphone that is already active?
View 1 Replies
Sep 3, 2003
I have a flash/Actionscript 3 application (swf). This application sends a message to a server every 2 seconds. However, in some browsers/operating systems (for example, safari in mac), the moment the browser loses focus, it stops sending these messages.I send these messages in a EVENT. ENTER_ FRAME loop, so every time the application is rendered I have the chance to send a message. My theory is that some browsers apperantly stop callling this method/stop rendering for some reason, because it has lost focus. However, I want to keep sending these messages. I already tried to use a Timer, an event that would be called every 2 seconds, but I read somewhere (and my tests seem to agree) that this timer is also connected to the rendering/frame entering, so that timed function will also not be executed.
View 2 Replies
Aug 22, 2010
I decided to post this question as a new thread since my enquiry is altered.
I got this sliding menu attached ("ActiveButtons.zip") that works according to plan. My problem is that I want the buttons to stay active(red) while the corresponding image is in place. Is this doable with a button?
View 1 Replies
Feb 6, 2007
How do you get the information bar to stop blocking the active X control for a flash movie in IE.when I am in fire fox, it just starts the flash movie. Right in the HTML page. But with IE, the info bar at the top pops up, and blocks my flash movie.Then you have to click on it, and say that you want to activate the active X on the page. Is there anyway to stop this from happening. I remember, using IE, that not all flash is blocked, just the stuff that I make.
View 7 Replies
Feb 12, 2009
when a user rolls over a button, the button plays the "open" frame inside the button. When the user rolls off the button, the button plays the "close" frame of the button. When a user presses the button, the button goes to the "dock" frame of the button. Here's the problem : when a user clicks a button, all the other buttons go to their "close" frame when only the button that's previously open when the user clicks a differen button should go to the "close" frame.
More emphatically, a function is needed to check to see if any buttons are in the open state (not a frame 1) when a user clicks a buttons. The way the code is now, when a user clicks a button, all the other buttons go to their "close" frame when only the button that was open should go to their "close" frame. Thus, if any button is not open when a user clicks any button, then, that button shouldn't do anything.
[Code]...
View 2 Replies
Jul 25, 2009
I have buttons inside/on window01/mc that are still active/clickable when the opacity is 0, I basically have a area on my website that if you click it opens the window corresponding to the button. how do I stop this? I only want the buttons to work when window01 is opacity 100. I'm not a pro at AS so please if you reply, walk me through it a bit or edit my code. [URL] just click in the blank black area below the nav bar and the window will appear. The normal way to get to this window is click products than the buttons.
Code: Select allimport gs.TweenLite;
btn06.addEventListener(MouseEvent.CLICK,f2);
function f2(e:Event){
[code]....
View 4 Replies
May 14, 2009
I have a timeline with several buttons on it - some if these are created at runtime, and some by putting buttons on the page on frame 1 I then have an emptyMC into which I import a swf that COVERS the whole stage. This all works fine - you can't see anything of the underlying material. However, as you "mouse around" it seems that the buttons that are covered are still active - pointer becomes a hand etc. I can disable the buttons using enabled=false. This is quite invloved, and I would have thought that these buttons wouldn't be active - surely they are covered! How is the possible, and is there a neater way to stop these buttons being active.
View 4 Replies
Mar 3, 2010
I'm currently working on an AS3 scripted drop down menu and for the most part it works exactly like I had envisioned with one small hiccup. The issue I have is if you accidentally navigate away from a button that creates one of my drop downs before the script has finished running the other drop down buttons will drop down but not be active until you go back to the original button and finish the script. What I believe will fix the problem is to disable the other main menu buttons until the script has finished. I could just disable at the beginning of the script and enable at the end but there are 5 flyouts and 9 buttons on the main menu. This would add up to a ton of extra code. So how could I create a block of code that disables the buttons and another block that will enable them at the end of the script but be able to call them in each script?
And here is my site that I'm currently working on. [URL]
View 1 Replies
Aug 21, 2010
If you have a look at the attached sliding menu there are four buttons. Each button brings an image in place. I want the button that�s been clicked to remain red until I hit a different button, even when the cursor is not right in front.
View 3 Replies
Apr 6, 2010
I tried doing a search here and online. Most of what I found was buttons controlled via XML.I'm trying to make an "active state" button.I have 3 buttons. When a user clicks on the button it stays an active color. When the user selects another button the active color goes back and the current button stays on the color.Does that make sense?here's the code I have so far:
Code: Select allbutton1.addEventListener(MouseEvent.MOUSE_OVER, redover1);
button1.addEventListener(MouseEvent.MOUSE_OUT, redout1);
button1.addEventListener(MouseEvent.CLICK, redclick1);
[code].....
View 2 Replies
Feb 19, 2003
When I load a movie, the buttons that are beneath (on my main movie) are still active... Is there a way that these buttons can't be active.
View 2 Replies
Jan 31, 2006
when I load a movie in a container in the main swf, the buttons below the loaded movie stay interactive and conflict with the loaded movie. is there a way to get around this,deactivating or pausing the main movie so when you load a movie in the container, the main movie doesnt interfere with the loaded one?
View 2 Replies
Jun 27, 2006
I have 8 buttons made from the same movie clip button with different states (up, over, out and active).Now I want to get the button stay active when the cursor moves to the next button to let the end user know where they've been.
View 2 Replies
Feb 27, 2009
Below is the code I have for my buttons.I have 3 different swfs loading in once each corresponding button is selected (CLICK). I also have rollover and rollout or idle states. Now the dilemma: Once a button (mc) is selected (CLICK) I need it to remain in its rollover state. Once another button is selected I need the previously highlighted button to switch to idle state and the new button to be highlighted... Sounds like the most basic, simple, AS3 101 question, but alas I am hitting a wall. Based on my provided code what is the best option for this, an array with an active state on the timeline, a toggle with Boolean ect, ect...?
Code:
var Hotspots:Loader = new Loader();
addChild(Hotspots);
moreInfo_btn.alpha = .5;
moreInfo_btn.buttonMode=true;
[code].....
View 4 Replies
Jan 6, 2011
i have movie clip buttons on main timeline, i want that the buttons should be active (as they are on mouseOver) when click on them, and become back to normal when other button is clicked....
button AS2 is:
Code:
on (rollOver)
{
gotoAndPlay(2);
}
[Code].....
View 2 Replies
Mar 23, 2009
im having trouble making the buttons within my drop down menu active.basically, on the main timeline, i have a movieclip, and within it have a button that once u roll over it, will go to another instance in that timeline to display a drop down menu located below it (with buttons). these buttons do not perform any actions to the main timeline regardless where i place the actionscript or how i point to those buttons.
View 1 Replies
Sep 8, 2009
I'm looking for an AS3/XML parsing pro to help me with an issue I'm having. The following xml file loads 7 icons ("url") into an array. What I want to do is create an activestate using child ("activestate") that replaces the "url" icon when clicked. I have no idea what the best way to do this would be. I've tried everything. The reason for this application is if i decide to change up the content down the line I won't have to recode anything. Just update the icons.
xml
<?xml version="1.0" encoding="utf-8"?>
<images>
<image>
[code]....
View 2 Replies
Aug 21, 2010
If you have a look at the attached sliding menu there are four buttons. Each button brings an image in place. I want the button that�s been clicked to remain red until I hit a different button, even when the cursor is not right in front.
View 4 Replies
Jan 11, 2007
I have created an image gallery that loads from an XML file using mostly previous Kirupa threads. From Scotty's code (I think -- my head is moosh now) I got numbered buttons for navigating between the images.Each button is a movie clip with different labeled frames for "up", "active", "hover", and "down" states. I'd like to have the numbered button change color when its image is on view and then change back when a different image loads, and I can't figure out how to do that. I know part of the problem is that the onRollOut function overrides other changes, so I'm willing to give up the rollover effect if necessary.[code]
View 1 Replies
Dec 31, 2009
I've got an infographic I'm working on, and every time I roll over an image (a ring) the alpha goes up to 100, then I roll out and it goes back to 50. That much I'm good with.
Then, I click on each one of them, and a movie clip (built inside of each ring/button) pops up and plays. Fair enough.
I've got a script (ugly, but it works!) that will hide all other buttons while this movie clip is playing. But, when I click to close it, I can't figure out a way to make them reappear. I tried putting visible = true again for all of them, but no dice.
The actionscript for it is right below.
I'm not sure if there's anything I can do to make it modal in AS3 or something like that. Or should I go ahead and set it up in a parent/child kind of way (not too well-versed in that regard.
All the buttons to click on are in the same layer and I'm not sure if making them different layers in Flash would make any difference.
stop();
ring1926.movie1926.visible = false;
// add a rollover to make the inside movieclip appear
[Code].....
View 4 Replies
Oct 7, 2010
I have 8 movie clips. They are set up to disappear when clicked.on (release) {this._visible = false;}The problem I am facing is that I want the movie clips to be clicked in a certain order, so mc1 has to be clicked (and disappear) before mc2 can be active and click-able. That way the user has to click on them in order for them to disappear.
View 22 Replies
Oct 7, 2010
I have 8 movie clips. They are set up to disappear when clicked.
on (release) {
this._visible = false;
}
I want the movie clips to be clicked in a certain order, so mc1 has to be clicked (and disappear) before mc2 can be active and click-able. That way the user has to click on them in order for them to disappear.
View 1 Replies
Jul 1, 2009
I'm making a website using flash,And on my movie it says Welcome to Blah Blah Blah,And then a button appears, To make sure my button works,The writing turns to bold and goes bigger,When the button appears it works and goes bigger, Until it reaches the point in the timeline where it has stop();It stops my movie from looping or restarting which is what i want, But it stops my buttons from working aswell, How to keep my button working but movie stops,If you want me to explain more just ask
View 1 Replies
Jan 6, 2010
I have a flash/Actionscript 3 application (swf). This application sends a message to a server every 2 seconds. However, in some browsers/operating systems (for example, safari in mac), the moment the browser loses focus, it stops sending these messages.
I send these messages in a EVENT.ENTER_FRAME loop, so every time the application is rendered I have the chance to send a message. My theory is that some browsers apperantly stop callling this method/stop rendering for some reason, because it has lost focus. However, I want to keep sending these messages.
I already tried to use a Timer, an event that would be called every 2 seconds, but I read somewhere (and my tests seem to agree) that this timer is also connected to the rendering/frame entering, so that timed function will also not be executed.
View 1 Replies
Sep 14, 2009
I have three buttons and when I click the second one, the first stops working (e.g. no trace event and it won't go back to the frame "tab1") but the third still works. Then when I press the third button both the first and second no longer work. If I take out the gotoAndStop lines, the buttons work fine. The subsequent frames simply have stops on them.
b1.addEventListener(MouseEvent.MOUSE_UP,b1Pressed);b2.addEventListener(MouseEvent.MOUSE_UP,b2Pressed);b3.addEventListener(MouseEvent.MOUSE_UP,b3Pressed);
function b1Pressed(event:MouseEvent){ trace("b1 pressed");
[Code]....
View 4 Replies
Aug 30, 2006
I'm not sure what i'm doing wrong here...When i attach a mc to my file the buttons behind that clip are still "active" how can i solve this?
View 1 Replies
Jan 18, 2012
im working on my own site im lost though i copyed and pasted so much but i cant seem to figer somthing out.i have a members sys sitting on a few frames every thing works. but the profile button, i have a total of 11 buttons that are working. i coppyed them put them all on 1 frame with there own instances that contain 3 frames?the first frame is the not active frame the 2ed is the active and 3ed is blank so it wont show. so my login code at this point is
ActionScript Code:
//Button Functions
signupBtn.onRelease = function() {[code]...
View 0 Replies
Oct 29, 2009
I have 2 main movie clips, one for the menu bar and one for the content, there is then a movie clip within each one of those, one to hold the set of buttons, and one to hold the content movie clips. The menu bar has a control to flip between 2 sets of buttons. the viva content button works fine to begin with, but after the menu bar control is clicked, the content buttons stops working. Code is as Follows: All of the code (bar a few stop() flags on cirtain frames) is located on frame 1 of the root, which is the only frame on the root.
barControl.barContent.barUp.addEventListener(Mouse Event.CLICK, menuSwitchHandle); barControl.barContent.barDown.addEventListener(Mou seEvent.CLICK, menuSwitchHandle); barControl.barContent.barMenu.vivaBtn.addEventList ener(MouseEvent.CLICK, vivaHandle);
[code]........
View 3 Replies