0pen/close buttons?

i want to add a close button to my menu but i have been searching for the action script and i cant find it.
thanks

FS COMMANDS==>QUIT

or:

on (press) {
	fscommand("quit");
}

=)

thanks

it wont let me add it to the text that i want?

*Originally posted by Alex *
**it wont let me add it to the text that i want? **

whaaaat:q:

i have made a updates section on my page that is open when you visit my site. i want to have a option to close it. can i do that with text?

the window or a movie:q:

if it is a movie, you don´t want to close, you want to unload

plz explain yourself better.
=)

to apply any script to your text it has to be converted into symbol [size=1][mc or button][/size]

select your text and hit F8 to do such thing … then paste the script in its actions

i want it to unload.

i couldnt think of the right word:-\

Kax, what you said is not wrong, but this is not the case for that.

Alex: if this text is on a loaded movie other than the main movie, all you have to do is unload the level on wich it is in. ex:

[SIZE=1]unload a loaded movie text.swf on level2

by the level:[/SIZE]

on (press) {
	unloadMovieNum(2);
}

[SIZE=1]by targeting:[/SIZE]

on (press) {
	unloadMovie("_root.pathToLoadedMovie;");
}

=)

alex

you’ve been told so many times …

check the tutorials! everything you’ve asked for is right there in the tutorials section

you can’t pretend to make a website if you don’t know anything about flash
so please http://www.kirupa.com/developer/ go there

Guig0: my mistake … sorry :-\

*Originally posted by kax *
**…Guig0: my mistake … sorry :-\ **

:stuck_out_tongue: no need to be sorry man, we´re on the same team!:slight_smile:

i am not sure where to add it:-\

hmmm … am I in the team now ??
I like that! :stuck_out_tongue:

*Originally posted by kax *
**hmmm … am I in the team now ??
I like that! :stuck_out_tongue: **

hmmm…

…I´m not sure if I am in the team, but if I do you are too!:stuck_out_tongue:

well … if we are not in the team …

let’s make our own team!!:stuck_out_tongue: