friz2002
10-27-2002, 09:57 PM
Hi,
when my page loads there's some text. When user clicks a button, the text should dissappear.
so I put this code on the main timeline (changing button1 into button2, etc for each button)
button1.onRelease = function (){
tekst_mc._visible = false;
movieHolder.loadmovie ("home.swf");
}
Do I have to put this code for each button or is it possible to have something like:
if any button is clicked - remove tekst_mc
then load the external swf for that button
when my page loads there's some text. When user clicks a button, the text should dissappear.
so I put this code on the main timeline (changing button1 into button2, etc for each button)
button1.onRelease = function (){
tekst_mc._visible = false;
movieHolder.loadmovie ("home.swf");
}
Do I have to put this code for each button or is it possible to have something like:
if any button is clicked - remove tekst_mc
then load the external swf for that button