
Код:
// property _frame is r/w upgrade for _currentframe
// note: addressing _frame will stop your playback
MovieClip.prototype.addProperty("_frame",
function() {
return _currentframe;
},
function(Value) {
if (Value == _currentframe) {
stop();
} else {
gotoAndStop(Value);
}
});