ActionScript 3.0 :: Disabling Buttons While A Movieclip Plays?

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


Similar Posts:


ActionScript 2.0 :: Movieclip Plays Like Moviereel With Buttons

Apr 3, 2011

I have a movieclip that plays like a reel. Inside the movieclip I have 5 buttons When the user clicks the button it should take the person to new scene but it does not work.

I am using actionscript 2 code.

My scenes are called Scene 1,2,3,4,5 My movieclip has instance name buttonreel I have buttons with instance names bt1, bt2, bt3, bt4, bt5

So when I double click on the movieclip and the code I have written for bt1 is:

[Code]....

similar code for bt2 which should go to scene 2 but it does not work

View 2 Replies

IDE :: Enabling And Disabling Buttons?

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

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

Actionscript 3.0 :: Disabling Buttons After Click?

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

ActionScript 2.0 :: Disabling Buttons Conundrum?

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

ActionScript 2.0 :: Swf Enabling/disabling Buttons?

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

ActionScript 2.0 :: [FMX] For Loops And Disabling Buttons?

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

ActionScript 2.0 :: Disabling The Buttons Conundrum?

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

ActionScript 2.0 :: Disabling The Buttons While It Is On The Animation Frame ?

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

ActionScript 3.0 :: Disabling Multiple Buttons On Stage?

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

ActionScript 3.0 :: Disabling Buttons Of All Loaded Movies

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

ActionScript 2.0 :: Sliding Menu, Disabling Buttons?

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

ActionScript 2.0 :: Disabling Buttons While Animation In Progress

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

ActionScript 2.0 :: Disabling Buttons On Lower Layer?

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

ActionScript 2.0 :: Buttons Within Movie Clips Are Disabling?

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

ActionScript 3.0 :: Buttons Inside Of A Movie Clip - Disabling Button

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

ActionScript 2.0 :: Prevent Click Events Without Disabling Buttons (enabled=false)?

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

ActionScript 1/2 :: FLVPlayback: Disabling VolumeBar, Seek, Play/pause, Mute, Fullscreen Buttons?

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

ActionScript 2.0 :: Disabling Movieclip And It's Children?

Sep 8, 2004

Is there anyway to disable a parent MovieClip (mcName.enabled = false) but still allow it's child(ren) movieclip(s) to retain event handling?

View 2 Replies

ActionScript 2.0 :: Automatically Unload A Movieclip When The Movie Within The Movieclip Plays Completely?

Oct 6, 2009

I need to automatically unload a movieclip when the movie within the movieclip plays completely.

View 9 Replies

ActionScript 2.0 :: Fading And Disabling A Movieclip After Timelapse?

Aug 11, 2009

I am making a flyout menu and I have all the desired effects I need using actionscript but one: for the movieclip that fades in to fade out if the mouse has not been touching it for 3 seconds.

The way it works: The buttons in the navigation are movieclips. Each button movieclip has a submenu (which is also a movieclip). Each button movieclip is triggered to tween on Rollover and tween (alpha) in. As it is now, when the user rolls over a different button in the navigation, the submenu will disappear which is desired. The problem is that when a user rolls over a navigation item and triggers the submenu, but does not roll over another button, the submenu stays in view. What I want is for this submenu movieclip to fade out of view if the user hasn't had their mouse over it for 3 seconds.

View 6 Replies

ActionScript 2.0 :: Disable Buttons In MC When Another MC Plays?

Jun 30, 2007

I am building my online portfolio and basically you scroll through my work (you may have noticed another thread about this lol) and then you click on an image which represents the different work that i have done. This opens an "info box" with a few more screen shots of that project and some text about it. This all works great, but what i need is when the "info box is opened (loaded externally), the other buttons etc on the stage need to be disabled because the info box loads in a layer above everything else. When the infobox is closed, the buttons etc need to be enabled again so i cant just put the code in the onRelease function which activates the infobox as this will permanently disable everything. I was thinking maybe I can set up some variables so it can detect whether the infobox is opened or closed depending on the value of the variable but I have found it hard to reference the variables properly.

My portfolio is currently online - www.theo-nicolaou.co.uk - but it is one year old, buggy, slow and needs updating as i have more work to show. That is why I am rebuilding - mainly the structure and a few design changes. If you go to the link, click on portfolio, and then click on one of the circular buttons under the black square, and then click the image in the square you will see the "info box" and you will notice that any buttons underneath are disabled until the box is closed.

To activate the infobox, an image (i call it a thumbnail" is clicked, for example, "DG_thumb":

Code:
DG_thumb.onRelease = function() {
_root.holder_mc.infobox_holder.loadMovie("DG_infoBox.swf", "start");
}

the portfolio page itself is a separate .fla (portfolio.fla) which is loaded into a main fla which has an empty MC called holder_mc. The instance name "infobox_holder" is in the portfolio.fla file and that is what it is loaded into when the thumbnail is clicked. The thumbnail itself is within a MC called webList (in this case) which is within a MC called portfolioList. This is on the main timeline of portfolio.fla so i guess the path would be (though maybe i am wrong):

Code:
_root.holder_mc.portfolioList.webList.DG_thumb

however this doesnt seem to make any difference and it is still enabled even if i use enabled = false;I have also tried using _parent. but that doesnt work either.I also need to disable the circular group of buttons which are within a MC on the main timeline of portfolio.fla called "circles". They all have instance names, so in the case of the work i call DG, it would be "DG_button".

View 14 Replies

30 Buttons With Sound But Only Plays The Pressed Ones In Sequence?

Jun 12, 2010

I�v build a simple flash projector to offer to my local fire department Essentially they used to in internal audio alarms to warn firefighters when there is an accident, fire, aggression, etcIn the version 1.0 they click several buttons, one to play the alarm sound, otherto announce the vehicle or vehicles that goes out, and a last one that says what is occurring.

The problem they report is that the sounds play immediately when you click in each of the buttons, and even the sound overlaps the other, which makes they click on each button and have to wait for the sound to finish and then click next. All this is normal because I associated the sounds to the buttons. What do I need to do the flash in this order in the version 2 of my projector:

1 The Fireman choose the type of alarm you want to play and click the button corresponding (but do not want the sound to play now) let's imagine that he pressed the button "alarm 1"

2 The Fireman choose (s) vehicles which are going out to the occurrence (but do not want the sound to play now) let's imagine that pressed the button "ABSC01"

3 The Fireman choose the type of occurrence (but do not want the sound to play now) we will imagine that pressed the button "fire"

4 finally the fireman holding down the "PLAY" (the green on on the top of the image) and this Makes the sounds selected to start playing in sequence, liker "Alarm 1" then "ABSC01 "and then" Fire "

Logically speaking I believe that each button must declare a variable associated with every unique sound, and then pressing the button takes the variables and plays them in sequence and without overlapping sounds.

View 1 Replies

ActionScript 1/2 :: Drag Function Disabling Button Actions Within Movieclip

Jun 23, 2009

I'm building an interactive map and i've run into a problem. The map is draggable and I have a start and stop drag function running as well as an onEnterFrame function which restricts how far you can drag the map. The map is displayed inside of a masked area. On the map is many locations which when rolled over should pop up a little dialogue box with contact info. My problem is that it only works when i've disabled the drag functions. When the drag functions are running the buttons inside the map movie clip all stop working. How can i get around this?

[CODE]...

View 5 Replies

ActionScript 2.0 :: Letting A Movie Clip Finish Before A New Plays With Buttons?

Aug 14, 2009

I am creating an online banner where I want movie 3 movies clips to move to different parts of the banner when a button is rolled over. the 3 movie clips move independently of each other. When I roll off the button I want the clips to move back to where they started. I have achieved this fine, but the problem is when i roll over a different button on the banner the file automatically plays the commands for that button of course. What I need to do is have each movie clip finish before the next button plays it's commands. The coding I have for the buttons is just simple.

PHP Code:
on (rollOver) {
cta1.gotoAndPlay(11);

[code]......

View 0 Replies

ActionScript 3.0 :: Compatibility - When Made Into Pdf And Opened The Movie Plays Automatically No Black Screen And The Buttons Do Not Work

Sep 2, 2009

I have created a .swf with flash cs4 actionscript 3. I placed it into an indesign page (cs4) and then exported to make a pdf. The movie played correctly before being placed and made into pdf. I have a stop in the first frame of the movie. So when you open the movie there is a black screen (first two frames only) with two buttons, a start and a stop. click the start the movie plays. when made into pdf and opened the movie plays automaticly no black screen and the buttons do not work.

[Code]...

View 3 Replies

ActionScript 3.0 :: Movieclip Plays Before The Preloader Finishes

Apr 12, 2010

here is my AS3

[Code]...

I do have stop(); on the 1st frame of the portfoliohome.swf, but It plays the movieclip(my intro) before the loader finishes. Is there a way for me to move the play head to frame 2 while I have the stop() on the frame 1?

View 3 Replies

ActionScript 3.0 :: Flash File Plays One And Stops In End And Only Plays Again

Dec 11, 2011

I want my flash file plays one and stops in the end and only plays again if  play again button is pressed.How do i do it?

View 1 Replies

ActionScript 2.0 :: Slider That Plays Movieclip Forward And Backword?

Apr 20, 2004

I have created a slider with the following code:

stop();
//DRAGGER1 CODE
dragger1_mc.onPress = function() {

[code]......

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved