import flash.events.MouseEvent;
btn1.addEventListener(MouseEvent.CLICK,pClick);
btn2.addEventListener(MouseEvent.CLICK,wClick);
function pClick(event:MouseEvent):void{
gotoAndStop(“getVid1”);
}
function wClick(event:MouseEvent):void{
gotoAndStop(“getVid2”);
}
this is how simple my flash movie is. but I get the following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
my video works fine in flash but when I try to put it on a page in dream weaver the buttons become useless and the video is lost.
I would really appreciate some advice with experience on this matter.
Just started learning to use flash.