mam problem z buttonam i flash
a ten problem to :
chce zrobic strone z buttonami flash i plywajaca ramka ale
jak dam odnosnik w buttonie to w explorerze chodzi a w mozilli nie
nie wiem co jest zle, nie mam pojecia moje pomysly juz sie wyczerpaly
to jest kod z buttona:
plis help mereverseInit(mc1,"podstrony/omnie.html");
///
function reverseInit(mc:MovieClip, url:String):Void {
mc.stop();
mc.onRollOver = function() {
reverseAnim(this, "nextFrame");
};
mc.onRollOut = mc.onDragOut = function () {
reverseAnim(this, "prevFrame");
};
mc.onRelease = function() {
getURL("podstrony/omnie.html","rama");
};
}
function reverseAnim(mc:MovieClip, prop:String):Void {
if (prop == "nextFrame") {
mc.onEnterFrame = function() {
this._currentframe != this._totalframes ? this[prop]() : delete this.onEnterFrame;
};
} else if (prop == "prevFrame") {
mc.onEnterFrame = function() {
this._currentframe != 1 ? this[prop]() : delete this.onEnterFrame;
};
}
}
this.stop();