PDA

View Full Version : [F5]Arg!! For Actionscript Guru!! Beginner needs help!



FatBeat
January 30th, 2003, 10:54 PM
hi, i need help with a button, i did a " Tell target " and that works but what i want is to make is a buttton on the movie clip that the "tell target" opens and i want it to close the window or movie clip when you click on the button. So if some can help me out with the action script the would be great.

thank you very much

:chinaman: :hair:

comicGeek
January 31st, 2003, 04:29 AM
I think it'd be best if you give us something specific. That way we can all help each other faster...(and probably won't tire out our very helpful moderators :) ).

Be more specific with your questions!

comicGeek

FatBeat
January 31st, 2003, 12:06 PM
okay i'll make it simple'

I want to make a button that will close a movie clip when they press on it, like the " X " on this window and i would like if some can help me with the action script.

Thank you

comicGeek
February 2nd, 2003, 09:22 PM
that is just a simple button.

on(release){
this._visible = 0;
}

you can change this with _parent.yourMCname or yourMCname or _root.yourMCname. just remember to point it to where the movie clip you want to "close" is residing.

Also place a button that also controls its reappearance.

on(release){
this._visible = 1;
}

Refer to the attached file.

FatBeat
February 3rd, 2003, 12:10 PM
hey thanks for the tip. i really appriciate it.

comicGeek
February 3rd, 2003, 08:38 PM
No problem that's why the furoms are here!

;)