VertigoSFX
Senior Member
I'm trying to get back into flash...I learned the basics of it a few years ago and now at work i've been assigned a project to learn flash and produce an interactive "teeth eruption" thing that is basically a timeline where you click different times and it shows what teeth come in at that age. (I work for a dental design company).
I have the setup almost working but I can't remember how to get around this one issue. Basically I have a series of buttons at the bottom that when one is clicked, it activates a movieclip animation showing a tooth fading in and a little box giving a description. Nothing too fancy.
I'm using the script:
to do the task. I have it going to frame 2 so that it doesn't show the teeth before clicking the button.
So basically whenever you click on one button, the animation bringing in the teeth works fine and it stays there...which I want. But when I click another button the animation for that button is activated but the other button's content stays there...so I have two things overlapping each other.
What can I do to tell it that when I click on another button, to remove the old button content?
I have the setup almost working but I can't remember how to get around this one issue. Basically I have a series of buttons at the bottom that when one is clicked, it activates a movieclip animation showing a tooth fading in and a little box giving a description. Nothing too fancy.
I'm using the script:
Code:
on (release){ _root.tooth_mc.gotoAndPlay(2); _root.tooth_bubble_mc.gotoAndPlay(2);}
So basically whenever you click on one button, the animation bringing in the teeth works fine and it stays there...which I want. But when I click another button the animation for that button is activated but the other button's content stays there...so I have two things overlapping each other.
What can I do to tell it that when I click on another button, to remove the old button content?