ActionScript 3.0 :: Hide All Mc Except One (the Clicked)

Dec 22, 2011

I have 20 movieclips and when one is clicked the other nineteen must dissapear. This is my code, 
 
function What_I_clicked(event:MouseEvent)
{
hidemc(event.target.name);

[Code]....

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Hide All Mc Except One (the Clicked)?

Jun 26, 2008

I have 20 movieclips and when one is clicked the other nineteen must dissapear. This is my code:

function What_I_clicked(event:MouseEvent)
{
hidemc(event.target.name);
}

[code]....

View 3 Replies

ActionScript 3.0 :: Close Or Hide Button When Clicked?

Nov 26, 2009

I need to show or hide a button once it's clicked.I tried to google it but all samples where AS1 and AS2 related.

View 7 Replies

ActionScript 3.0 :: Hide FLV Skin Until A Button Is Clicked?

Apr 2, 2009

I have an instance of the flvplayback component in my movie. I have the player skin set to "autohide" and "autoplay" set to false. Instead of having users click on the play button of the skin to start the movie I have incorporated a larger play button in the middle of the screen. The set back here is that when a user mouses over the movie to click on the larger play button the flvplayback skin appears as well.

I'd like to basically tell the skin "Hey don't appear on mouseover until AFTER the large play button is pressed." What code would I need for this in Actionscript 3?

View 10 Replies

Hide / Show Content From Layers When Button Is Clicked

May 14, 2009

I have an animation that shows items highlighted in a diagram. As the items are highlighted, the audio will play (to explain the animation). because we are creating this for people with possible disabilities, we also created captions with text for the audio. So, in separate layers, we created speech bubbles and text that is synchronized to the animated actions on the screen. this will also be synchronized with the audio. We want to have a button (close captioning button) that when users press it, they see the text captions and if they press it again, they don't see the text captions. my questions are

1) what will be the easiest way to create the effect i am looking for?
2) what actionscript command will i need for the button's actions?

View 14 Replies

ActionScript 1/2 :: Arrays N Loops - Movieclips To Hide Except For The Movieclip Similar To The Clicked Button

May 30, 2011

[Code]....

I'm stucked here. I want the font type "BauhausMedium" to apply when ft_01 is clicked, font type "Haettenschweiler" to apply when ft_02 is clicked, etc... at the same time I want all" ft_01a", "ft_02a", "ft_03a" movieclips to hide except for the movieclip similar to the clicked button. E.g. if "ft_02" was clicked ft_02a to be visible =true and rest to be visible = false (ft_01a, ft_03a).

View 5 Replies

ActionScript 3.0 :: Mouse.hide() Error 1061: Call To A Possibly Undefined Method Hide Through A Reference With Static Type Class

Sep 12, 2011

I am using AS 3 Flash CS4, WIndows XP SP3. I am unable to use the Mouse.hide(); method in many of my scripts. If I add Mouse.hide() to a preexisting script, I get the following error; line1 1061: Call to a possibly undefined method hide through a reference with static type Class. If I add Mouse.hide():void; to a preexisting script, I get the following error: line1 Label must be a simple identifier Once this has happened, if I then remove ALL lines of script from the file...but leave the Mouse.hide(); [or Mouse.hide():void;], and also remove all objects from the stage, when I run the file, I still get those same errors.

[CODE]...

View 3 Replies

ActionScript 3.0 :: Detect Wheather The Button Is Clicked Or Not And Disable It If Clicked?

Jun 9, 2010

I have 4 navigation button and like home, about us etc....  And i want to disable home when it is click and cannot clicked it until the user click another button first. means if a visitor is at home page then home navigation is disabled, and all other are active, and when they click at aboutus button then the pages goes to the about us page and the about us button is disabled and other get active. I want this solution in AS3 with oop concept.

View 6 Replies

ActionScript 2.0 :: Buttons To Stay Orange Once Clicked And Only Roll Out Back To Grey When The User Has Clicked On Another Button In The List

Feb 7, 2007

I've got about 6 buttons laid out, one on top of the other in a list format. In their normal state the buttons are grey in colour, when I rollover them, the buttons flash and turn to orange. Now, what I need to happen is this: I want the buttons to stay orange once clicked and only roll out back to grey when the user has clicked on another button in the list. I've been told that the best way to do this is via adding a listener, however I am a little unsure as to how to go about this. I've checked the flash help file and have a basic understanding of how listeners work...but can't really wrap my head around applying it to this situation. Perhaps I will need to have all the buttons as separate broadcasters?

View 2 Replies

ActionScript 2.0 :: When Mouse Is Clicked, Detect Which Movieclip Is Clicked

Sep 9, 2009

I have parent movieclip and in that many different children movieclips

What i want to do is when i CLICK, i want to detect which movieclip it has clicked and call corresponding function (defined by onpress event) of that movieclip.

View 6 Replies

ActionScript 3.0 :: If ButtonOne Is Clicked && ButtonTwo Is Clicked > Go To And Play?

Nov 6, 2011

What does the code look like if I want the user to click two specific buttons then go to a new frame. I've been trying different methods, but I am honestly not brilliant with conditional statements. This is what I've got so far...

about_btn.addEventListener(MouseEvent.CLICK, clickAbout);
home_btn.addEventListener(MouseEvent.CLICK, clickMain);
if (function clickMain(event) && function clickAbout(event))

[code]....

View 7 Replies

ActionScript 2.0 :: Buttons That Stay Clicked Until Another Is Clicked?

Feb 8, 2011

I haven't been able to find a solution that fits my project. I am working on a 50 state map, where I need each state to stay down once clicked, but go up when any other state is clicked. [code]...

View 9 Replies

ActionScript 2.0 :: Active Button - Stay The Rollon Color After It's Clicked And Then The Rolloff Color When Another Button Is Clicked?

Sep 29, 2008

How can I make it stay the rollon color after it's clicked and then the rolloff color when another button is clicked?

[Code]...

View 7 Replies

Hide My Flv Files?

Jun 2, 2011

I made a flash project that I published as an exe file. this project calls a number of external flv files. Now, I want to hide these files, because it's my own work and I don't want anyone to steal it, how can I hide these files?

View 3 Replies

Hide A Row In AdvancedDataGrid?

Jan 20, 2010

I have an AdvancedDataGrid with a ArrayCollection as its dataProvider. For instance i have a CheckBox that allows me to show or hide certain rows in the AdvancedDataGrid.

View 1 Replies

Way To Hide Swf Path

Feb 8, 2011

Is there anyway to hide .swf path showing up from webpage??

View 6 Replies

Hide A Layer So It Does Not Publish?

May 19, 2009

I have many layers and would like to hide or shut one off so it does not Publish. How? When I hide the layer in the timeline, it dissappears from the timeline, but still Publishes...

View 2 Replies

2nd Click To Hide Pop-up Menu?

Oct 7, 2009

I have a Movie Clip configured as a Button and I wanted to know how to make the cursor transform into a pointer (little hand) when it's over tat movieclipBut well that was just not the point of the Post what really interests me is that when I click that MC a Pop up menu appears (another MC) but if i decide not to click any of the buttons in that menu the menu will stay there until I click another button or something and i will want it to disappear if a click it for a second time or something like that.

View 1 Replies

Anyway To Hide Tweening Path?

Feb 2, 2011

Just wondering if there is a way to hide the tweening path (ie motion path) of a motion tween animation when scrubbing. I have a number of objects in motion and while I am scrubbing the animation, the tweening path is kind of distracting so I would like to hide them. Is there anyway to show/hide the tweening paths?

View 3 Replies

Professional :: Can't Hide Or Get Rid Of Pre Loader Bar

Dec 19, 2011

[b]Ok why wont this work?
 
Trying to do a
 
Navigation bar button , to preloader to abour me page with a photo component.
 
Not on the pre loader page the bar works, only it wont disappear.[/b]
 
[pre]s[color=blue]iteLoader.loadMovie("AboutMe5.swf",4);
Frame_movie._alpha = 100;
loadingBar._alpha = 100;

[Code]....
 
it appears to be the if script thats the problem not triggering the fad or gettig red of the pre loader altogether.

View 34 Replies

AS2 :: End Movie Or At Least Hide It In Browser When It's Done?

Feb 5, 2009

Because of SEO considerations I am trying to use flash as little as possible in my site. I need it though for uploading files. I like to have an accurate progress bar and I find flash is great for this.Anyway once my file is uploaded, successfully, I would like the flash to go away (either exit or hide itself) and reveal an "Add To Basket" button underneath which is written in HTML.Failing that, is there a way to get flash to change a CSS style of an object so I could have my Add To basket button hidden and then made visible when the flash tell it?

View 1 Replies

Hide Icons In Flv Player?

Aug 26, 2009

I'm using this code to play flv [code]...

But I want to hide all icons (Play, Stop, timeline and scroll bar), how can I do that?

View 4 Replies

Text Hide Due To Same Color?

Apr 30, 2010

I have a funny situation there are two texts first in blue color and second in white color, images with alternate colored box(white then blue then white so on) is moved on these textsnow when white box cover white text then text hides or blue box cover blue text then blue text hides.

View 1 Replies

Flash :: Hide A Button In AS3?

Jan 13, 2010

I have a button called myBtn.

In my actions in Frame 1, I have tried both[code]...

View 6 Replies

Flash - How To Hide Jpg Files

Feb 28, 2010

I develop a game that will have to load jpg images that now i just put in the same folder where swf file is, in order to load them when it is needed. Is there a way to somehow embed all this stuf in the swf so that i will have to deliver only the swf file?

View 2 Replies

Flash :: Hide SWF Upon Loading?

Jun 9, 2010

I am loading a SWF in an HTML page the following way (using JavaScript)[code]...

View 2 Replies

Actionscript 3 :: Hide Value Of The Secret Key Air App?

Jun 28, 2011

I am creating Air (AS3) project. It will be have own system of protection. All data from the server to the application and back is encrypted. I use a secret key which is registered in a server-side scripts and in the application. If a hacker decompiled the app, it can find out the secret key. The secret key is the string (constant). I do not want to make obfuscation for my application.

How can I hide this secret key? Can I obfuscate only it? Can I obfuscate separate AS3 class with secret data and then access to it from the main code when needed?

View 2 Replies

ActionScript 3.0 :: Hide A Few Vars In An .as?

Dec 13, 2009

I am working on a project that uses PHP , as3, and possibly some AMFPHP.

The project allows users to upload and download images among other things. I have been trying to gather as much info about making things as secure as possible. I've got some good advise about using .htaccess files, and a few other tricks.

My main question at the moment is how to hide the "path" info from and to the PHP / assets / and to and from the AMFPHP sevices ...

Currently I have all the paths hard-coded in one .as that returns an object with the paths to any of the other classes that need/request it. I found this method to work well since I only need to change this one .AS , and it will branch out to the other classes that need it.

I'm not super worried about others decompiling my code, and they could probably "sniff" out the paths if they really wanted. I'm mostly concerned with allowing others easy access to all of my AMFPHP services or being allowed to parts of the site I do not wish them to be. basically I realize that things aren't gonna be 100% secure regardless, but would like to take precautions.

So to cut to the chase ... Whats the best- simplest way to obscure / hide the paths being used in a PHP - AS3 project ? ... I entertained the possibly of PHP includes or even a SQL database if need be. I rather not spend a bunch of time and money on questionable obfuscator software, unless there's a tried and true one for flash (not flex). .. and I currently do not have a SSL but don't know how critical - common this is.

View 0 Replies

ActionScript 3.0 :: Hide _mc On Time Of Day?

Feb 5, 2010

I want to show a _mc on a Tuesday @ 21:00 then Hide it at 00:00here is the code

Code:
var my_date:Date;
var my_timer:Timer=new Timer(1000);

[code]......

View 5 Replies

ActionScript 2.0 :: Uiscrollbar Hide For Xml

Mar 1, 2010

i added this code (from another post on this forum) to a project i'm working on but can't seem to make it work. i am using a normal textarea, with the uiscrollbar. the text load from an XML file, all working fine. i'm trying to hide the UIscrollbar when it is not required, where textA is the instance name of my textarea.

[Code]...

View 1 Replies







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