
Код:
s_btn.onRollOver = function() {
hide_bubble(o_mc);
show_bubble(s_mc);
};
o_btn.onRollOver = function() {
show_bubble(o_mc);
hide_bubble(s_mc);
};
function hide_bubble(mc) {
mc.onEnterFrame = goBack;
};
function show_bubble(mc) {
delete this.onEnterFrame;
mc.play();
};
function goBack(){
// trace('goBack');
if(this._currentframe > 1) this.prevFrame();
else delete this.onEnterFrame;
}