ActionScript 2.0 :: Make The Moveclip Appear And Disappear ?

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


Similar Posts:


ActionScript 2.0 :: Make A Moveclip A Link?

Mar 24, 2008

I'm wanting to make a movie clip a link, the movie clip loads an image from a php file.

Heres the actionscript that loads the image, if it helps. Also, how do a load text into a dynamic text box with this script. The text I want to put into it is loaded from the php file.

[Code]....

Also is there any way to resize the photo in the actionscript. I want the photo to fit in a movieclip 190x120.

View 2 Replies

ActionScript 2.0 :: Stop The Script When It's Running - Make The Sky No More Snowy And Make Snow Disappear?

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

IDE :: Make The Background Disappear?

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

IDE :: How To Make An Object Disappear

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

Make Item Disappear After Dragging It?

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

ActionScript 3.0 :: Make Mc Disappear When Next Mc Is Triggered

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

ActionScript 3.0 :: Possible To Make Captions Disappear?

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

ActionScript 3.0 :: Make Google Map To Disappear

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

ActionScript 3.0 :: Make One Movieclip Disappear When It Is Hit By Another?

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

ActionScript 2.0 :: Make A Button Disappear After Clicking?

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

Flash8 :: Make All Buttons Disappear Except The Selected One?

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

ActionScript 2.0 :: Make A Button Disappear After It Has Been Clicked?

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

ActionScript 3.0 :: Make Image Disappear On Mouse Out?

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

ActionScript 2.0 :: Make Movieclips Disappear At Random

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

Make An Object Pop Up Then Disappear When Clicking A Button In It?

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

ActionScript 3.0 :: Make Objects Appear And Then Disappear With Buttons?

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

Professional :: Make A Button Disappear, Then Reappear?

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

Professional :: Make Clock.swf File Disappear?

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

Professional :: CS5: Two Make Objects Disappear That Are Off Stage In SWF?

Sep 24, 2011

lets say I have animated a car entering the stage area from outside the stage. When I render the SWF at first only the content on the onstage area is visible  but if I resize/enlarge the window I can also see the car(content) lying outside the stage just like in the flash file. How can I make sure that no off stage content is visible at all in the final SWF?

View 4 Replies

ActionScript 2.0 :: Can't Make My Preloader Disappear Using LoadMovieClip

Apr 26, 2010

I cant seem to make my preloader disappear after the MovieClipLoader class has determined the load is complete. I have a movieclip I attach onto the stage called thumbnailModule_mc inside of it I have the preloader movieclip (a simple spinning circle) and the image holder movieclip that the MovieClipLoader is listening to see when the image load is complete. When the load completes I want to set the alpha to zero and fade in the image. But my code doesn't work! the preloader stays visible.[code]...

View 9 Replies

ActionScript 3.0 :: How To Make Character Disappear(alpha)

Feb 24, 2011

My problem is how do i make the character disappears when move on to certain places(clicked by user). For example i have a Object(house) with x=233 and y= 134, when i click on the object (house), the character will move to that current object(house) and when the character has reach or move in the house, the character disappears(character.alpha = 0).

View 4 Replies

Actionscript 2.0 :: Components Make Artwork Disappear?

Feb 26, 2009

when I inserted the code some of the symbols on stage disappeared. This did not surprise me because I did not understand the code, but then when I deleted the code it did not revert back. I dismantled the frame and dragged new symbols on stage and I still could not see them when I tested the movie. Checked to see if any code was written anywhere else but could not find any. The only code I had was a gotoAndStop which I was using simply to view that specific frame. when I removed the gotoAndStop finally the images appeared. If I placed a stop on the frame I wanted to view, then it worked fine but a gotoAndStop did not work as I was left with a white screen. Finally I had to recreate everything in a new document and then the gotoAndStop worked, but I have noticed that if I drag certain components on stage then I have a similar disappearing act.

View 5 Replies

ActionScript 2.0 :: Make Hand Cursor To Disappear?

Jun 28, 2003

how to work with useHandCursor? I want to make hand Cursor to disapear.

View 3 Replies

ActionScript 2.0 :: Make Popup Mc Disappear After 2 Or 3 Seconds?

Apr 9, 2008

I would like to know what the best way to implement the following feature is...

I have a popup dialogbox that comes up when the user clicks an object on stage...I want this popup to disappear or "close" if the user does not click the "close" button after 2 or 3 seconds...any takers?

View 1 Replies

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

IDE :: Make The Sliding Bar Disappear After Roll Off The Button?

Jul 7, 2009

I'm trying to develop a menu with slider, similar to the one on the kirupa tutorial section except I have set the slider bar to start off the page so you don't actually see it until you roll over the buttons, then it slides into place.. works perfectly. My question is: how do I make the sliding bar disappear after you roll off the button? Am I permitted to post the flash swf file for you to see what I am doing?

View 1 Replies

ActionScript 1/2 :: Make 3 Movieclips Visible For 7 Seconds And Then Disappear?

Jul 12, 2010

When on frame 10, make 3 movieclips visible for 7 seconds and then dissapear? How do I write the code?
 
I'm not sure how to put things together.
 
clearTimeout(mc4_mcT);
mc4_mcT=setTimeout(mc1_mc,5000);
mc1_mc._visible = false;
mc2_mc._visible = false;
mc3_mc._visible = false;

View 2 Replies

ActionScript 3.0 :: Make A Bullet Disappear When It Hits A Target?

Jul 30, 2011

I have created a class named Bullet() and I create a child named bullet_mc every second.This bullet_mc moves to a direction on the stage.I also created a class named Plane() and I create a child named myPlane_mc every two seconds. Also, every myPlane_mc moves to a direction on the stage.

View 5 Replies

Jquery :: Flash - Make Appear And Disappear Div Background Color?

Feb 18, 2010

I am trying make the background color of a div appear and then disappear like a flash coming and going but without nay success till now. On the click of a div, I am trying to give a flash effect to another div's background color.So far, my jquery knowledge have come to the following code:

$("div.first_div").click(function(){
$("#second_div_ID").fadeIn(30).css("background-color", 'blue')
.fadeOut(1000).css("background-color", 'blue');

[code].....

View 3 Replies







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