Hi Guy’s
I have a swf file which contains a series of movieclips.
I have a navigation menu clip which has buttons to load external swf’s into a holding moving clip I have the following code:
[COLOR=“Blue”]stop();
services_btn.addEventListener(MouseEvent.CLICK, servButton);
function servButton(event:MouseEvent):void
{
var request:URLRequest = new URLRequest(“caseStudy2.swf”);
var loader:Loader = new Loader()
loader.load(request);
this.holder_mc.center_mc.exLoad_mc.addChild(loader);
}[/COLOR]
When I preview and click on the button services_btn i get the following output message [COLOR=“Red”]TypeError: Error #1010: A term is undefined and has no properties.
at vaWebsite2_fla::navigationBar_mc_7/servButton()[/COLOR]
Can anybody shed any light on what i’m doing wrong