Hi there.First i want to sorry for my bad language.I am new in AS3 and i need a little help.I just did a button and 3 movieclips.What i want? Well, when i click on the button to change the movieclips.
click 1 = movieclip 1
when i click again on the button it change to movieclip 2
My problem is that i can`t make so it can change to movieclip 3.So when i click it must be something like this>
click 1 = movieclip1, click 2 = movieclip2, click 3 = movieclip 3 so on…
AS3 code i use is…
object1.visible=false;
hide.addEventListener(MouseEvent.CLICK, hideShow);
function hideShow(ev) {
object1.visible = !object1.visible;
object2.visible =!object2.visible;
}
Here i attached the .fla eg.
Please help !!