Chris Norris <[EMAIL PROTECTED]> wrote:
> What's the best way to wait a 1/2 second or so?
Something like this?
this.onEnterFrame = function() {
var t = this.getBytesTotal();
var l = this.getBytesLoaded();
if (l == t && t>8) {
delete this.onEnterFrame;
this.id = setInterval(function (self) {
if (Stage.width <= 0 || Stage.height <= 0) {
return;
}
clearInterval(self.id);
yourFunctionHere();
}, 500, this);
}
};
--
nybras
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org