ActionScript 2.0 :: Make Boxes Disappear On Click
Apr 16, 2009
i have five arrow mc's. when each arrow mc is clicked, it makes a box mc visible with content in it next to it, like a tool tip.the behavior i'm looking for is this:when any given arrow mc's box is visible, clicking on any other arrow mc will make the presently visible box mc disappear and the new box mc appear.
View 3 Replies
Similar Posts:
Mar 28, 2012
how can i make the butterfly disappear on mouse click in this simple work ?
View 2 Replies
Jun 14, 2007
how to make the slider disappear when you click (for example) on an extra button?
View 3 Replies
Feb 13, 2010
I got it to work perfectly on another flash file, but I can't get it to work on this one. The concept is the saem but the application is not, so I can't copy and paste. Anyway, this is the problematic code.
Actionscript Code:[code].........
Clicking this button results in a new Machine Gun being created. However, if you click on one, the others disappear.
View 1 Replies
Jul 8, 2009
I want my button to disappear after you click it. I have mulitple buttons on the same stage and as each button is clicked, I want that button to go away.
View 2 Replies
Aug 26, 2010
I have an action script 2.0 request. i have a flash movie with 7 check boxes. when the user has selcted a total of 4 check boxes the flash movie goes to another frame.
pretty simple
i'll contain all the checkboxes in a movie clip called mcCheckBox.
I just need to the code to make it go to a new frame once four check boxes have been selected.
View 1 Replies
Feb 11, 2011
I have the following code, which works beautifully when all the boxes are the same height. The basic point is that I have three boxes on the stage, 10 pixels apart. If you click and drag those boxes above or below each other, they reorganize themselves. Code: Select all// based off Dynamic Stacking AS3 @ [URL]
[Code]....
View 1 Replies
Dec 25, 2002
how to stop the script when it's running.To make the sky no more snowy and make snow disappear.
View 1 Replies
Sep 17, 2009
i write actionscript to load random pics in XML file, and it will change random pics again when we click button, My problem is : when i click button, 4 images disappear. by the way i want to insert 4 links into 4 pics when we click into a pics we will get to the link, how can i do that ?
[Code]...
View 2 Replies
Jul 6, 2010
As part of a flash 8 project, I have created a Quiz using Check Boxes.In Question 1, I have got 8 Ckeckboxes in 2 columns of which check boxes:- B, D. E, and H are correct answers.The rest are the wrong answers. However user may tick all the right ones and also tick couple of wrong answers (eg user mayWhat I want is when user selects only the correct boxes (B, D, E, H) answer equals 1 point (right answer).A, C, E, G equals 0 point (wrong).B, D, E, H and combination of other checkboxes equals 0 point (wrong answer).A, C, F, G and combination of other checkboxes equals 0 point (wrong answer).A, B, C, D, E, F, G, H equals 0 point (wrong answer).I need a method using actionscript 2.0 to work this out. I think I've worked out the first part where user selects only the correct boxes (B, D, E, H) equals 1 point, and if user only selects the wrong boxes (A, C, F, G) equals 0 point. But I can't work out other parts. I tried using logical || (OR), but does not seem to work properly.
View 3 Replies
Oct 3, 2011
so far I have the 4 colours and 4 boxes you can drag them to, when you drop out side they reset but when dropped on a box they stack.what i would like to do, is when theyre dropped onto a box the original box is then reset, replacing it with the new box, the old colour is then returned to its original locationUpdate: I could get them to go back when dropped on, but now i cant get the boxes to snap back into place when not on a box :s
View 1 Replies
Jan 17, 2004
ive followed Senoculars drop-down menu tute [URL], awsome stuff, but it seems the submenu's dont disappear to well when you roll out. ..They only disappear if you click on another menu item or when you click outside the menu.
View 12 Replies
Mar 25, 2010
I've seen various games where by when you start the game it gives you a scenario and 2 boxes to click, if you click a you go to frame say 57 and if you click b you goto frame 58
[code]...
View 1 Replies
Jul 22, 2009
I have a map application where the user mouses over the various counties, and clicks on it to zoom in. I am having a problem synchronizing the background change with the county zoom.referably, I would like the background to zoom out with the counties as they zoom, but having the background fade to white would work just as well. I created a movie clip of the main map (background) to zoom in, but I don't know how to play 2 movie clips at once.You can see it in action here:
View 1 Replies
Jan 24, 2010
I am a learner. I am using one object which animates from a corner and comes to the middle of the stage (Using Motion Tween for animation). What I need is when it comes to the middle of the stage it should disappear from the stage. How it is possible?
View 1 Replies
Nov 7, 2008
I have a movieclip - instance name "popup clock" . The frame on which it is on has the following code:
Code:
popupclock._visible = false;
The movieclip starts off invisible like it should. I also have a button which has the following code:
Code:
on (release) {
if (popupclock._visible=true) {[code]..
The code should allow the button to make the moveclip appear and disappear but it doesn't work?
View 4 Replies
Sep 7, 2009
I basically am suppose to make "scarf" drag over to a movie clip named "winter_mc" and when it is on it, it is suppose to disappear but it's not disappearing. Here is my code used in the scarf:
Code:
on (press) {
startDrag(scarf, true);
}
[code]....
View 5 Replies
Oct 5, 2010
I have a project that has 6 movie clips across the stage that are triggered by mouse click. The trouble I'm having is getting them each to dissapear when the next movie clip is triggered. You can click out w/ an "x" box but I want them to dissapear when the next mc is triggered also.
Code:
var mc:handfade;
hand_mc.addEventListener(MouseEvent.CLICK, handPage);
function handPage(e:MouseEvent):void
[Code]....
View 21 Replies
Feb 4, 2011
I have a Flash website that consists of 6 different Scenes. The Home scene and the Videos scene each have a FLV player that I dragged from the library and I called it "vid". So I'm basically using the same player for both scenes. I'm also using the caption component and am assigning the xml via actionscript when the user clicks on a link, so it reloads the player with the correct video and the correct captions. The problem I'm having is that say they are watching the video on the Home scene with captions. If they click on the Contact Us scene, the video player disappears, but the captions stay on the screen by themselves. Looks really odd. I need a way to turn off the captions (called the component "myCaps") so they disappear both when changing scenes and changing movies. On the Videos scene, if you click a different movie's link, the old captions form the last movie stay on screen and just move up a line and the new movie's captions appear below that one. So, how do I get rid of the captions when I don't want them?[code]...
View 15 Replies
Jan 12, 2012
I have Google Map working just fine. When I click "where we are" Google openes up no problem but when I click on another button let say "about us, Google stays in the background [code]...
View 2 Replies
Jan 12, 2010
I've got an assignment where I have to make one movieclip disappear when it is hit by another. I used to be able to do this in AS2 but now I'm at a loss.
View 6 Replies
Sep 8, 2003
I'm new to wonderful world of flash and I'm having a little trouble with a button I've created. Basically, I have a button which covers an image. I'd like to make it so that after the button is clicked, it disappears - thus exposing the image behind it.
View 8 Replies
Jul 6, 2009
I have a project which is very straight forward however I'm having trouble figuring out the logic to get it started as well as the actionscript to get it working.THE PROJECT1. The user must choose one (only) out of about 100 buttons available on the page/frame.2. When the chosen button is released, the other buttons diasappear/turn invisible and become inactive3. A message appears within a speech bubble pointing to the selected button.PROBLEMS1. How do I make all the button disappear except the chosen one?2. How do I make the speech bubble point to the chosen button no matter which one they choose?MY LIMITED LOGIC SAYS1. I need to collect x and y values somehow to position the speech bubble2. Pass a variable to tell flash 'this is the chosen button'3. Tell flash to hide every button that isn't the chosen one using the variable
View 5 Replies
Oct 28, 2009
I have been searching other threads and found another similar question, but the code did not work in my animation.
I am trying to make a button disappear after it has been clicked so that the animation underneath of it will be viewable.
View 2 Replies
Oct 31, 2009
When my mouse leaves the thumbnail image the previewArea image stays there. What is the coding to make the image disappear once the mouse leaves the thumbnail? I think that it's either in the previewLoaded or tn_out is where the script should go.
function previewLoaded(e:Event):void {
var flashmo_tn_bm:Bitmap = Bitmap(e.target.content);
flashmo_tn_bm.smoothing = true;
[code]....
View 3 Replies
Jul 29, 2010
I have squares that make up the background on my stage. I would like to have the squares fade out one by one using code.
View 2 Replies
Feb 15, 2012
So, here is what I'm trying to do. I have a page full of characters for a project I'm working on now, and I want to add some interactivity to the page by making each of the characters clickable and having a description of the character pop up that you can then close. I have included 3 images of what I'd ideally like tohappen.Picture 1: The page in just a normal state, nothing happening.Picture 2: On rollover, I would like the character to pop out and enlarge.I know how to make it enlarge on rollover, but I don't understand how you would make it come to the front above other layers. with understanding how to do.
Picture 3: I want a description like this to pop up when you click on the character. I have a layer at 50% opacity to fade the background out as well. I need to know how to:1. Make this image show up when you click on the respective character.2. Make this image disappear when you click on the red X button at the top right
View 10 Replies
Nov 20, 2009
Im currently try to construct a flash presentation that will have several different buttons on the same stage, and each button when clicked will make particular objects appear on the stage. Then once each button is clicked again it will make the particular objects connected to it disappear from the stage. Each button and the objects it makes appear / disappear is seperate from all the other buttons actions.
construct the actionscript for this presentation as im finding it quite complicated to have several things going off on the same stage at the same time. Im currently working in Flash CS4 actionscript3.
The closest example i have seen to the program i would like to create can be found using the following link...[URL] However my program would be simpler, e.g. clicking the bun in the program just simply adds the bun to the screen, it doesnt scroll through different types of bun.
View 1 Replies
Jul 28, 2010
I am making a few language flash cards in adobe flash cs5 with as3. the flashcard is a movie clip and when you push a button (located on the bottom left hand corner of the flashcard) the movie clip flips the card to give the translation. it looks a little unprofessional to have the button stay in place while the card flips. is there a way to make the button disappear for the duration of the movie clip, and then reappear at the end?
View 6 Replies
Nov 15, 2010
How can I make my Clock.swf file disappear? The following code works great for movie clips but throwing an error while using for .swf files. Introduction_mc.visible = false; >>> This code works fine Clock.swf.visible = false; >>>> This code throws an error (How to resolve this problem?)
View 3 Replies