# Flash movie test error

**URL:** <https://forum.kirupa.com/t/flash-movie-test-error/305227>\
**Category:** Uncategorized\
**Created:** [February 21, 2010, 10:10pm UTC](https://forum.kirupa.com/t/flash-movie-test-error/305227 "2010-02-21T22:10:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![talcohen](https://avatars.discourse-cdn.com/v4/letter/t/e19adc/32.png) [@talcohen](https://forum.kirupa.com/u/talcohen)\
**Post date:** [February 21, 2010, 10:10pm UTC](https://forum.kirupa.com/t/flash-movie-test-error/305227/1 "2010-02-21T22:10:33Z")

</div>

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?

```auto
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.

```auto
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]
