Hey guys,
was just wondering if it’s possible to use more than one onEnterFrame event handler at the same time, something like
_root.container.onEnterFrame = function():Void {
if (_root.container.holder._width != 0) {
delete this.onEnterFrame;
//whatever code goes here
}
};
_root.bkContainer.onEnterFrame = function():Void {
if (_root.bkContainer._width !=0) {
delete this.onEnterFrame;
this._width = Stage.width;
this._height = Stage.height;
}
};
mvcPrivate.onEnterFrame = function():Void {
if (this._width !=0) {
delete this.onEnterFrame;
//whatever code goes here
}
};
well I tried that and it didn’t really work, it only seems to work for the 1st onEnterFrame but doesn’t work for the rest… is there a way I can make it work for all 3?