Hya,
I’ve tryed to split my animation into several files, each button has it’s own content and animation.
I made all my swf for each button and I can load them on flash player or on any browser.
But loading them from my main SWF it’s a diferente thing… They are loaded like this:
var loader:Loader = new Loader()
var request:URLRequest = new URLRequest(goz.target.parent.name+".swf");
loader.load(request);
addChild(loader);
there goz.target.parent.name goes from botao0 to botao9, and this should load but it gives me this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at personal$iinit()
Any advice?