please anyone can help me with this.
i have a flvplayback inside movieclip
and i get this error while i test the file.
btw. everything works good. so why is this error pops up?
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at vp_fla::vp_1/vidComplete11()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at fl.video::FLVPlayback/http://www.adobe.com/2007/flash/flvplayback/internal::handleVideoEvent()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::setState()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::httpNetStatus()
this is the code of that specific frame that get this error.
v1.addEventListener(VideoEvent.PLAYING_STATE_ENTERED,vidComplete12);
function vidComplete12(event:VideoEvent):void {
nexttobr.visible=false;}
v1.addEventListener(VideoEvent.STOPPED_STATE_ENTERED,vidComplete2);
function vidComplete2(event:VideoEvent):void {
nexttobr.visible=true;}
nexttobr.addEventListener(MouseEvent.MOUSE_DOWN, reloadListener11);
function reloadListener11(event:MouseEvent):void {
MovieClip(this.parent).gshide.visible=false;
MovieClip(this.parent).mehide.visible=false;
MovieClip(this.parent).brhide.visible=false;
MovieClip(this.parent).cahide.visible=false;
MovieClip(this.parent).cohide.visible=false;
MovieClip(this.parent).brhide.visible=true;
gotoAndStop(4);
}
[SIZE=“4”][COLOR=“DarkRed”]thanks so much. this site is amazing![/COLOR][/SIZE]