error 1120 --
1120: Access of undefined property your_movieclip. that is what i am getting...
under the AS code:
public function onSubClick(e:MouseEvent):void {
your_movieclip.gotoAndPlay(Number(e.currentTarget.linkURL));
on my main fla:
i have an empty movie clip with the instance of : your_movieclip
and this code on frame 5:
var imageRequest:URLRequest = new URLRequest("p2.swf");
var imageLoader:Loader = new Loader();
imageLoader.load(imageRequest);
addChild(imageLoader);
and the xml :
<menuItem name="About Us" linkURL="2" target="" subMenu="1">
<subMenuItem name="Our Team" linkURL="5" target="" />
Any ideas what i am doing wrong?
thanks in advance for your time.