Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




How To Make Invisible Button



Hey how can i make an invisible button?



FlashKit > Flash Help > Flash General Help
Posted on: 04-05-2005, 08:06 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

How To Make An Invisible Button, The RIGHT Way
To many people show me there .fla and i see buttons that are alpha down so its invisible, but thats wrong. Even in great Flashbooks they decribe how to alpha down butons so they become invisible, now I will tell you how to do it the way it was intended.

Just put your graphic on the HITstage and leave the others blank.
when you go back to _root the button indicate that its invisible by
its new workstage color, turquois.

How Do You Make A Button Invisible?
I know it has something to do with alpha controls on the color mixer board, but I can't get it to work.

Please help me. I'm new

How To Make A Button Invisible?
Hi, I think this should be pretty simple but I am unsure how to use the _visible tag and how to do it.

Basically I want to make 2 other buttons invisible when I press a button.

Please could someone explain how the best way to go about this would be on MX

Many thanks

Alex

How Do I Make A Button Invisible?
I have a series of buttons, Page1 Page2 Page3 Page4 etc.
When the movie is on Page1, I don't want the button for Page1 to be a button.

Because of the way I've designed the movie, I need to be able to make the button invisible through Actionscript.

I've tried something like the following:

if(_parent.currentButton == "page1")
{
1buttonMovie._visible = false;
}

currentButton is variable declared in the parent.

The above doesn't work.
I'm pulling may hair out because I can't figure out what's wrong.

Any suggestions?

Thanks.


Jam

If ....make Button Invisible
hi there,
ok.I have a bunch of buttons on the stage with load different variables/movies into Dynamic txt-fields and movies....
I would like to tell the buttons if it has not loaded a variable or movie to go invisible(...not clickable)...
It doesnt matter, if it only checks for the variable or only the movie...which ever one is easier..
thanx.....
sandra

Make Button Invisible Until End Of Flv
I am trying to create a flash file for flash player 6 and 7 that plays a flv video and when the video is finished you see, over the last frame of the video, 2 buttons. The buttons would be "replay video" or "go to url". Also how can I make them dissappear if the user wants to play the video again?

If you know of any tutorials or know of any examples, that would help as well.

Any help would be greatly appreciated.

Thanks
Thepopguy

How Do I Make A Invisible Button?
Ok...i have a background..and i wanted to make a invisible button so that i can literally click the background without seeing any unwanted buttons

in another words, i wanted to create a part of a picture to be a button. Is it possible?

How Can I Make A Layer Invisible In Swf With A Button?
Hi,

I want to learn how can I hide a layer.I mean I have a layer in fla and I want everything on that layer invisible in swf.I also want to control it with a button.

That is how I will use it;
In my cartoon there will be voice-over and also speech bubbles for the same lines.I want to user choose if he/she also want to see the bubbles or not.
Maybe I can put all the bubbles in a movieclip if it is easier to hide the mc, not sure.

Thanks in advance for your help.

How To Make A Button Invisible In Flash 5? HELP
How to make a button invisible in Flash 5?? HELP!!

I need to make a button invisible in actionscript..
in a specific condition it will be visible...again..
help??..._visible and _alpha only available in Flash 6 or above.

I need it in 5.

Make Button Invisible When Flv Starts Again
Hi,

Please, can some one help me and tell me how to have a button instance become invisible when the play button from the skin.swf file is clicked? There may be another way to acomplish what I am trying to do.

I have a Flash 8 file with a FLVPlayback component pointing to a FLV file. I am using an external skin for the controls. When the video is finished I have it displaying a button, but if the person wants to start the video again the button needs to become invisible again. I am assuming I need to create an actionscript that says if the video is playing (at all ) the button is invisible. But how?.. is the big question for me.

Any help would be great.

Thanks
thepopguy

Invisible Button/ Make A Movie A Link
ok, i posted on here about this before, and i got a couple responses,

> just do a search for how to create and invisible button

and

>someone gave some actionscript code to put in the first frame that would make it a link

i couldnt find a tutorial on invis buttons, and the code didnt work.


if anyone has code or another way could you reply? im pretty ignorant in actionscript so you might have to spell it out for me haha


thanks a bunch!

Invisible Button/ Make A Movie A Link
ok, i posted on here about this before, and i got a couple responses,

> just do a search for how to create and invisible button

and

>someone gave some actionscript code to put in the first frame that would make it a link

i couldnt find a tutorial on invis buttons, and the code didnt work.


if anyone has code or another way could you reply? im pretty ignorant in actionscript so you might have to spell it out for me haha


thanks a bunch!

Button No Actions + Make Button Invisible
Hi all!
So right now I'm working on this website and realized I've been running into some button problems.

First one, why is it that every time I right click on the 'Actions' of the button it either just gives me the action of the current frame I'm in or it says the current selection cannot have any actions?

Secondly, I'm trying to work on a button so that when it is rollover, everything on the flash document is replaced. The problem I'm having is that some layers are on top of the rollover button in the main timeframe and so when the cursor is on the button, some layers are not replaced. How do I fix it so that when the button is rollovered the layers on top of it cannot be seen?

More specifically:
Main Timeframe -> 'Y' Button -> on it's Rollover it has a movie clip -> in the movie clip there is a modified 'X' button that is suppose to overlap the existing 'X' button in the main timeframe

How do I do it? I would really appreciate any help!!!

Thanks!

(PS I am currently using CS3 Professional if that matters)

Make MC Visible, Make MC Invisible
Looking for a piece of script to (on rollover of other MC) make a MC placed on the stage visible, then to make it invisible.

I think there is a simple piece of code to target the MC and tell it visible == true or false???


Any Help greatly appreciated,

Thank you kindly,
cpalino

Make It Invisible
how do i make a object disappear using actionscript before it jumps to another scene?! i am having this problem that my object from scene1 still remains playing even when my scene1 had called the next scene to start playing.

just wondering if anyone can tell me how am i able to get ride of it! thanks!

Make Mc After 3 Sec Invisible
Hi!

_global.action_out = function(id) {
after3sec(_root.status_mc._visible=false;);
}

i have som problems to realize the "after3sec" method, i know that there is a getTimer() objectbut this measreues the time from entering the whole movie...

How Do I Make An Invisible...
how do i make a button invisible?

Make Object Invisible?
I have a "movieclip" on my timeline.
And within another "movieclip2" on the same timeline i have the script:

on(press) {
_root.movieclip._alpha = 0 ;
}

With the intent that you push one movieclip and it makes the other movieclip invsible.

But its not workking.
why?

How Do You Make Objects Invisible
its pretty simple what im trying to do its just i havnt touched flash in a year so i forgot how and the lame tutorial doesnt explain it. ive used this before in my movies but im looking at em now and i cant remember for the life of me how to do it ><. the effect is to make an object (picture or text) motion tweed from being invisible or like 50% faded to being 100% showing. did they remove an effect tool bar in flash mx cuz i swear flash 5 had a bar for doing tints, color tweeks, and opacity on tweeded objects(buttons,movies,image etc)

How Do I Make A Movie Invisible?
Can someone tell me how I can make a movie invisible?
I thought this would be easily done by having the following:

movieInstance.visible = false;

I've read the Flash help... and I'm pretty sure the above is supposed to make the movie invisible??

Any help would be appreciated.

Thanks.


OM

Cant Make Pictures Invisible?
Hello!

I have a strange problem.
I use the loadClip function so load an .jpg file to my mc.

It's like a photogallery with thumbnails and a frame around the mc.
When I click a thumbnail I load the .jpg file, set the mc._alpha=0 and rescale the mc so that the jpg will fit.

Then I have a frame that starts resizing to the mc. WHEN the frame is finished resizing I set the alpha back to 100.


The problem is that this only works the first time when the jpg isnt loaded. Next time I press the thumbnail the pictures shows up directly, the frame rezises and then the picture (mc) moves into the frame.

How can that be?? Why can't I use the _alpha when the picture is loaded??

I Would Like To Make An Actual SWF Invisible For A Second....is That Even Possible?
When the HTML page opens up, I want the users to get a nice view of the background wallpaper.

I noticed how it feels much nicer to see the background wallpaper at a glance than to jump immediately into the swf file.

Is there a way to make a swf invisible while it loads (or partially invisible with a "now loading") or just make it invisible for 1 second before it just goes to a non-see through (normal) load screen?

How To Make Something Visible/invisible?
What are the basic steps to having a button that you can click to make another image visible/invisible?

Make Sprite Invisible
i am using
Code:
loadVariables("count.txt","_root");
to get 2 variables from count.txt and put them into two text box. i then need to make a sprite called table to be invisible if one of the boxes called tablecount is 0.

Cheers

Cant Make Buttons Invisible
Yo guys, I cant seem to make my buttons invisible...iam doing something wrong here but I dont know what!

Firstly..I have a button on one layer. and dynamic texts on another layer. Now...on the button layer I created a movieclip also where I wish to store code. The button name I gave for my button is gold, and the dynamic text is called gold1.

Now..what I want is somthing like this:

You have 10 gold available. It costs 5 gold to buy a new unit, now you are left with 5 gold and 1 unit...now...once you click again and you are left with no gold..I want that button called gold to be invisible until you have 5+ gold and then it would become visible again.

The code I have is.

onClipEvent (enterFrame) {
if (_root.population<=0) {
_root.gold.visible = false;

What am I doing wrong??

and am I putting the <=0 right also??

[F8] Make A Buttun Invisible...
Hi guys,

i have a question, i tried to make a button invisible, but when i using

_root.myButton._visible = false

it is not working and the button still can be seen. How i can make a button invisible and how can make it visible again.

Thanks.

How To Make Droptarget Invisible?
I'm trying to make a droptarget invisible.

droptarget._visible = false

above method makes it not to work. so I made it's alpha to zero.
but this way you can see droptarget clearly when you use 16bit color graphics with jpg image behind it.

I wonder if there is a decent way to make droptarget invisibe.

thx

Can I Make My Flash App Invisible ?
Hi all, Is it possible to make a flash movie that runs invisble while windows is working ??? if yes, can i make it interact with keyboard hits ??? like when i start the swf or exe file it i wanna have a button to make it dissappear and start working invisble, and when i press a specific key in the keyboard it appears again,, is this possible ???? plz i need this argently, I've posted this in the general discussion and got nothing :( Thanx

Make Loaded Swf Invisible
I'm using this code to load in a random swf. I would like to make it invisible until I need it further down the timeline.
I can't make it invisible. Am I coding wrong or is there some other principal at work.

Thanks

var openPixs:Array = new Array ("openPix1.swf", "openPix2.swf", "openPix3.swf", "openPix4.swf");
function randomBackground() {
var randomNumber = random (openPixs.length);
_root.w1.word1x.pix1.loadMovie (openPixs[randomNumber]);
_root.w1.word1x.pix1._visible = false;
};

randomBackground();

Make Loaded Swf Invisible
I'm using this code to load in a random swf. I would like to make it invisible until I need it further down the timeline.
I can't make it invisible. Am I coding wrong or is there some other principal at work.

Thanks

var openPixs:Array = new Array ("openPix1.swf", "openPix2.swf", "openPix3.swf", "openPix4.swf");
function randomBackground() {
var randomNumber = random (openPixs.length);
_root.w1.word1x.pix1.loadMovie (openPixs[randomNumber]);
_root.w1.word1x.pix1._visible = false;
};

randomBackground();

Make Mc Invisible When Mouse Is Away From It Again
Hi guys

Back to newbie with me...

I have tried hard all day to solve this problem.
I have a tooltip that I want to appear when user rolls mouse over a button. No problem, but how to get rid of it again? I have a deadline tomorrow and 40 tooltips to make. Please help me.

Make MC Invisible To Cursor?
Say there are several circular buttons on the screen behind a graphic of a chain link fence. Is there a way to modify the MC containing the chain link graphic so it won't block the mouseOver of the buttons?
Thanks.

Can't Make Control Invisible
Perhaps a stupid newbie question, but here it is anyway:

I have a textbox and a combobox in my Flash movie. I'd like to show either the one or the other.

Now if I say cboXYZ.visible = false and trace that Flash tells me it is not visible.

If I say txtXYZ.visible = false and trace that immediately afterwards Flash tells me it is still visible. I can also see it displayed that way.

What could be the reason for such behaviour? Is it necessary somehow that when the movie stops with a stop() command that something needs to be defined in this regard (e.g. making both invisible)? By code or through a parameter at the controls?

Artimidor

Web Traffic Counters....make Them Invisible...
Hi All,

Does anyone know of any free web traffic counters that dont require a visible link or reference on the page...as i dont want anything to look 'out of place', but do want the ability to monitor its traffic

Thanks for your help

Cheers !!

How To Make Layers Visible/invisible
Hi there!

at first i have to say i am from germany and have been out of school for a couple of years, so my english is probably not be the best, nevertheless, i hope you'll understand me.

ok, here we go:
i have made a map in FlashMX and the rivers, towns and borders are on single layers.
i´d like to have 3 checkboxes under the map so that you can choose "only show rivers / towns / borders" or a combination of all.
it is supposed be like the function you have in fMX but in the final movie (or document, however you want to call it).
i´ve visited a lot of tutorial sites but i haven´t found anything!
now i've come to this board and i really hope that somebody here can help me (or tell me a better solution)

so far, greetings!

How To Make Movie Clips Invisible
ok, i have 3 movie clips on one page, they will all play in the same spot. they work fine except movie clip 1 doesn't disappear when i select movie clip 2. movie clip 2 shows up behind # 1. what scripting do i need to do to make all invisible but the one i have selected? THANK YOU!!!!!!!!!!

How Do I Make A Movie Clip Invisible?
how do i make a movie clip invisible?

i want it to be invisible and when i click a button it becomes visible

Want To Make Combo Boxes Invisible
Hi,

I have a bunch of controls that need to be on the time line to be populated, but need to be invisible until they are needed.

I put all the comboBoxes in an _mc and set alpha to 0. Now everthing is transparent but the text fields in the combo box.

Is there anything to do that is less crude than moving it off the screen until needed and then moving it back.

Thanks,

Mike Cohen

How Do I Make Symbols Invisible? (using MX Code)
I was wondering how I could make some movie clips invisible during certain parts of the movie. Also is there an easy way to start the dynamic loading of all your loading parts at the beggining of the movie? Otherwise I will just try to make the movie clips invisible.

Using Buttons To Make Symbols Invisible
Hi,
I'm Zach, I'm new here. I'm decent at animations, but I have almost no programing ability.
What I'd like to know is if there's an action script that will turn the visibilty of certain objects on or off. At first, I was thinking that I would put each object on a separate layer and just turn the layer visibilty on and off (which is pretty eacy to do in HTML) but I couldn't even figure out how to do that in Flash. So if there's a way to have a button that will turn layer visibility or symbol visibilty on or off, please let me in on the secret.

Thanks,
Zach

Click To Make Invisible And Reveal What Is Behind
Hi all! this is my first posting

I want to make a square that is covering a pair of buttons on a menu to become invisible to reveal the buttons behind it. I'm pretty sure there is an easier and more efficient way to go about this, but it's the most sure fire way in my head to pull the effect off given that it's been a while and I'm still getting my feet wet again. here is the code I've tried.

I'm probably forgetting something really simple hehehehe

----------------------------------------------------------------------
on (release) {
(ampguitarcover._visible=false);
}

on (release) {
(ampguitarcover._visible=true);
}
---------------------------------------------------------------------

Thanks so much for any help you can give

-Luc

PS can someone recommend me a book?

How To Make Labels And Buttons Invisible?
Hi friends. I have used in-built labels and buttons in my application. Now I want to hide it until button click event occurs. I have used UIComponent.visible = false for both labels and buttons. But this didn't worked. Please tell me how can I make it invisible? Thanks in advance.

How To Make Layers Visible/invisible
We have a flash project, and it is related to some modifications of the text.
Unfortunately, I'm not working only for myself, I'm just a coder. Designer prepared all the staff, everything in MC as needed, but inside movieClips there are more than 10 layers, and sometimes not all of them needed to be shown.
Unfortunately, objects in that movieClips are just drawings.
Because, there are hundreds of that staff, is it possible to make the total layer invisible/visible programmatically?
("make everything mc" is not a solution :( )
Digging in help, found this:
The following example makes all objects in the first layer invisible:
fl.getDocumentDOM().getTimeline().layers[0].visible = false;
but it is working only in mx version. Need something similar in as3 or at least as2.

Make Scrollpane Scrollbar Invisible
Hi

I´ve been struggling a long time to get the scrollbar on a Scrollpane to be invisible, although I still want to be able to control the scrolling via actionscript. Any help is appreciated!

/David - Sweden

Can I Make An Entire Layer Invisible?
Hi all,
First post.

I have just started learning Flash with Flash MX Pro 2004.
the whole logic behind Flash is confusing me... but thats another story.

What I'm after right now, is :
Can you make an entire layer invisible? and I can put lotsa stuff on it and then make it show when a user clicks a button?

I've worked out how to make objects invisible/appear, but I cant do a layer.

Is it possible? or should I be doing this another way?

At fisrt, I created a whole new scene and sent the user to the new scene when clicking a button, but if I do that for every button in the menu, I think the .swf will be huge.

Any help would be great. Thanks.
::: Off The Ricta :::
_________________
Never attribut to malice, that which can be explained by stupidity

Disable Or Make Invisible..bottom Level ?
I have a movie that when a button is pressed, loads a second movie into an empty clip on the next level. Everything works fine but the buttons from the previous level are still active.

on (release) {
loadMovieNum("links.swf", 1);
}

Is there a code that I can use to disable the entire root timeline until I unload the movie on level 1? Or can I disable my buttons and then re-enable them? If so how is this done?

Thanks

Is There A Way To Make The Background On A Flash Movie Invisible?
So that graphics on the html part of the page can show through?

[F8] Make Invisible Visible With A Movie With Hittest
I've tried my hardest to figure this out on my own. I searched, and got Ideas. but now I am stuck

anyway... here I'll put the code of what I've got.

I have two movie clips

one called trigger with and instance of trigger_mc
and another called called triggered box with the instance of triggeredbox_mc


in my action frame I have:

this.trigger_mc._visible=false;
this.triggeredbox_mc._visible=true;

on the trigger box movie I have

onClipEvent (enterFrame) {
if (this.hitTest( _root.trigger_mc )) {
gotoAndPlay(2);

}
}

here
is my current swf.

what I want is when the trigger hasn't hit the trigger box. I want the trigger box to be invisible.

I'm prettry sure in the action frame I'm going to have to start out with

this.trigger_mc._visible=false;
this.triggeredbox_mc._visible=false;

but I what I'm not able to find out is how to make it visible once it's been triggered... or when the hit test is true....

if helpful my fla is at
here

LoadMovie() Make Loaded Movie Invisible
I have a mc called loader which loads "1.swf"

I want 1.swf to be invisible so I made "loader" not visible


PHP Code:



this.onLoad = function() {
    loader.loadMovie("1.swf");
    loader._visible = 0;
}; 




Anyway, 1.swf is visible. What should I do to make it invisible.

Thanks in advance

Copyright © 2005-08 www.BigResource.com, All rights reserved