# contentPath/complete and subdomains

**URL:** https://forum.kirupa.com/t/contentpath-complete-and-subdomains/272078
**Category:** flash
**Created:** [October 1, 2008, 9:35pm UTC](https://forum.kirupa.com/t/contentpath-complete-and-subdomains/272078 "2008-10-01T21:35:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![liquid\_kore](https://avatars.discourse-cdn.com/v4/letter/l/c89c15/32.png) [@liquid\_kore](https://forum.kirupa.com/u/liquid_kore)
#### Post date: [October 1, 2008, 9:35pm UTC](https://forum.kirupa.com/t/contentpath-complete-and-subdomains/272078/1 "2008-10-01T21:35:55Z")

</div>

Hi everyone,  
I seem to have run into a problem with the “complete” event. What I am working on will have the user watch a movie and then when it is done playing the root timeline goes to frame 2. It works perfectly fine when typing in the full address (like in the help file example:[http://www.helpexamples.com/flash/video/water.flv](http://www.helpexamples.com/flash/video/water.flv)) but not when it comes from a subdomain or relative path (example: [http://mysub.domain.com/intro\_video.flv](http://mysub.domain.com/intro_video.flv)). Any help would be greatly appreciated!

p.s: “video\_id” is a flash var. I tried it without using the flashvar and typing in the path myself and it didn’t help.

```auto
import mx.video.*;
intro.contentPath = video_id+"/intro_movie.flv";
var listenerObject:Object = new Object();
// listen for complete event;
listenerObject.complete = function(eventObject:Object):Void {
    _root.gotoAndPlay(2);
};
intro.addEventListener("complete", listenerObject);

```
