r_bartoli
07-28-2004, 11:32 AM
Hi all, i'm new here. Sorry for the bad english.
I'll try to explain my problem:
I've created an audioplayer that is a movieclip. in it, over the buttons there is an invisible button with the audioplayer shape on the hit frame.
the audioplayer is covered by a cover that closes when the mouse go out the invisible button (onRollOut) and when the mouse go over (onRollOver), the cover opens.
the audioplayer instance name is: mc_audioplayer
the audioplayer cover instance name is: mc_audioplayer_cover
the invisible button instance name is: mc_audioplayer_invbtn
on the _root timeline i write this:
mc_audioplayer.mc_audioplayer_invbtn.onRollOver = function() {
mc_audioplayer.gotoAndPlay("open");
};
mc_audioplayer.mc_audioplayer_invbtn.onRollOut = function() {
mc_audioplayer.gotoAndPlay("close");
};
in mc_audioplayer there are 6 layers:
actions
labels
inv_btn
cover
buttons
background
the problem is that now the buttons can't be clicked because there is the invisible button over them. How can I resolve the problem without loosing any functionality?
thankyou a lot.
I'll try to explain my problem:
I've created an audioplayer that is a movieclip. in it, over the buttons there is an invisible button with the audioplayer shape on the hit frame.
the audioplayer is covered by a cover that closes when the mouse go out the invisible button (onRollOut) and when the mouse go over (onRollOver), the cover opens.
the audioplayer instance name is: mc_audioplayer
the audioplayer cover instance name is: mc_audioplayer_cover
the invisible button instance name is: mc_audioplayer_invbtn
on the _root timeline i write this:
mc_audioplayer.mc_audioplayer_invbtn.onRollOver = function() {
mc_audioplayer.gotoAndPlay("open");
};
mc_audioplayer.mc_audioplayer_invbtn.onRollOut = function() {
mc_audioplayer.gotoAndPlay("close");
};
in mc_audioplayer there are 6 layers:
actions
labels
inv_btn
cover
buttons
background
the problem is that now the buttons can't be clicked because there is the invisible button over them. How can I resolve the problem without loosing any functionality?
thankyou a lot.