# Problem trying to redirect after FLV playback

**URL:** https://forum.kirupa.com/t/problem-trying-to-redirect-after-flv-playback/275698
**Category:** flash
**Created:** [November 17, 2008, 6:36pm UTC](https://forum.kirupa.com/t/problem-trying-to-redirect-after-flv-playback/275698 "2008-11-17T18:36:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![PTS21](https://avatars.discourse-cdn.com/v4/letter/p/e47774/32.png) [@PTS21](https://forum.kirupa.com/u/PTS21)
#### Post date: [November 17, 2008, 6:36pm UTC](https://forum.kirupa.com/t/problem-trying-to-redirect-after-flv-playback/275698/1 "2008-11-17T18:36:25Z")

</div>

My flash guy is on vacation this week and I’m trying to figure out a Flash problem on my own. I am trying to have a SWF file redirect the browser to a new page once it completes playback of a FLV file. For whatever reason, I keep getting the following error.

1046: Type was not found or was not a compile-time constant: Void.

Here’s my code:

```auto
 
var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Object):Void {
    getURL("http://www.URL.com");
};
flv_Intro.addEventListener("complete", listenerObject);

```

I’m would greatly appreciate any help.
