Multiple tasks on button

Hello Dudes and Dudettes,

When I click on my button, I want it to
make several things in my movieClip.

Is this type of code a good idea?

=====================================
on (release) {
loadMovieNum(“swf/portfolio.swf”, 1);
gotoAndStop(“bt4”);
unloadMovieNum(2);
_root.main.gotoAndStop(“off”);
}

Thanks!

Neuhaus3000

Thats perfectly fine. Thats what makes actionscript sooooo fun.

yeah, it’s absolutely ok! Why type it all out every time, when you
can capsulate it all at once. Looks good.

Fun indeed! :beam:

Hello Dudes, :slight_smile:

Thanks for the tip!

Yes, ActionScript is cool!
PHP is great too!

Have a nice day!

Neuhaus3000