Paul, try to localize your error. Pull this code out and put it in a separate swf and see if that is still happening. I'm assuming that your assetLoader is a class variable.
Doesn't look like anything from here is an issue. You don't have a custom Loader class that is interfering with the Loader keyword do you? On Mon, Apr 20, 2009 at 9:58 AM, Paul Andrews <p...@ipauland.com> wrote: > I have: > > assetLoader =new Loader(); > var urlreq:URLRequest = new URLRequest(assets[i].assetPath); > assetLoader.load(urlreq); > > > I get: > > TypeError: Error #1006: load is not a function. > > at runtime. > > I've seen some stuff about this to do with nested swfs, but can't quite > figure out the circumstances that may cause this error. > > Any ideas? > > Paul > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders