Steve Onnis wrote:
Scott
Just wanted to clarify something
//////////////////////////////////////////////////////////////// LoadScreen.prototype.preloadAssets = function(IsArrayFreshlNew) {
if(!IsArrayFreshNew) { this.aAssetsToLoad.shift(); }
if(this.aAssetsToLoad.length <= 0) { this.aAssetsToLoad = new Array(); return null; }
var currentAsset = this.aAssetsToLoad[0]; var oImage = new Image();
oImage.controller = this; oImage.onload = this.onLoadAsset; oImage.id = currentAsset.id; oImage.src = currentAsset.uri; } ////////////////////////////////////////////////////////////////
this, to me doesnt look right
this.aAssetsToLoad[0].length looks like its always 0
No, its this.aAssetsToLoad.length ie no idea where this.aAssetsToLoad[0].length comes into play ?
--
Regards, Scott Barnes - http://www.mossyblog.com http://www.bestrates.com.au
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
