# Movie won't load

**URL:** https://forum.kirupa.com/t/movie-wont-load/117014
**Category:** Uncategorized
**Created:** [July 23, 2004, 11:50am UTC](https://forum.kirupa.com/t/movie-wont-load/117014 "2004-07-23T11:50:15Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Simon\_Henriksen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simon_henriksen/32/625_2.png) [@Simon\_Henriksen](https://forum.kirupa.com/u/Simon_Henriksen)
#### Post date: [July 23, 2004, 11:50am UTC](https://forum.kirupa.com/t/movie-wont-load/117014/1 "2004-07-23T11:50:15Z")

</div>

Hey everybody. Got a new problem :sigh:

When i click the website button, it should go to websitecontent.swf in the container in \_level0.instance1, but when i click, the movie just go to frame 1 and stop. When i test the tween where the buttons and that are in, it’s fine and works.

Please check fla: [http://home.no/simonwh/portfolio.fla](http://home.no/simonwh/portfolio.fla)

thanks,  
/  
Simon Henriksen

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 23, 2004, 3:15pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/2 "2004-07-23T15:15:42Z")

</div>

I had this problem to. Check the scripts you have made. And I haven’t checked the .fla, but do you have preloader in it? I quess it is so. But if you don’t have one, he might not be working. That was the problem, that I had. Also it could be the host does not support it, what I never have seen before.

Let me know.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 23, 2004, 3:55pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/3 "2004-07-23T15:55:33Z")

</div>

> [@Zendra](#):
>
> I had this problem to. Check the scripts you have made. And I haven’t checked the .fla, but do you have preloader in it? I quess it is so. But if you don’t have one, he might not be working. That was the problem, that I had. Also it could be the host does not support it, what I never have seen before.
> 
> Let me know.

I have a preloader yes, and it has nothing to do with my host. It don’t work when I’m testing and debugging the movie on my machine.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 23, 2004, 4:00pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/4 "2004-07-23T16:00:05Z")

</div>

Hmm. Let me download it, then I’ll check it. Hang on.

---

<div class="post-metadata">

### Author: ![Simon\_Henriksen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simon_henriksen/32/625_2.png) [@Simon\_Henriksen](https://forum.kirupa.com/u/Simon_Henriksen)
#### Post date: [August 1, 2004, 8:42am UTC](https://forum.kirupa.com/t/movie-wont-load/117014/5 "2004-08-01T08:42:13Z")

</div>

> [@Zendra](#):
>
> Hmm. Let me download it, then I’ll check it. Hang on.

Have you found out anything?

---

<div class="post-metadata">

### Author: ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)
#### Post date: [August 1, 2004, 9:21am UTC](https://forum.kirupa.com/t/movie-wont-load/117014/6 "2004-08-01T09:21:36Z")

</div>

> [@Simon Henriksen](#):
>
> Have you found out anything?

I`ve just had a quick look but i`m not really sure how its supposed to work.  
I was unable to find a variable \_root.currMovie,there does not appear to be any script telling \_root to play in order to get to the frame to loadMovie and the path to container is wrong.  
Maybe you could put on your website button  
on (release) {  
gotoAndStop(5);  
\_root.play()  
\_root.currMovie = “websitecontent”  
}

and in the last frame of the main movie  
\_level0.instance1.instance5.container.loadMovie(\_root.currMovie+“.swf”);

I am probably missing something here but as i said before, i`m not clear what is supposed to happen.

---

<div class="post-metadata">

### Author: ![Simon\_Henriksen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simon_henriksen/32/625_2.png) [@Simon\_Henriksen](https://forum.kirupa.com/u/Simon_Henriksen)
#### Post date: [August 1, 2004, 9:58am UTC](https://forum.kirupa.com/t/movie-wont-load/117014/7 "2004-08-01T09:58:29Z")

</div>

> [@stringy](#):
>
> I`ve just had a quick look but i`m not really sure how its supposed to work.  
> I was unable to find a variable \_root.currMovie,there does not appear to be any script telling \_root to play in order to get to the frame to loadMovie and the path to container is wrong.  
> Maybe you could put on your website button  
> on (release) {  
> gotoAndStop(5);  
> \_root.play()  
> \_root.currMovie = “websitecontent”  
> }
> 
> and in the last frame of the main movie  
> \_level0.instance1.instance5.container.loadMovie(\_root.currMovie+“.swf”);
> 
> I am probably missing something here but as i said before, i`m not clear what is supposed to happen.

I got the wrong file uploaded. I’m having a different problem, and you’re very welcome to help me. It’s in this thread: [http://www.kirupaforum.com/forums/showthread.php?t=64959](http://www.kirupaforum.com/forums/showthread.php?t=64959)

---

<div class="post-metadata">

### Author: ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)
#### Post date: [August 1, 2004, 11:40am UTC](https://forum.kirupa.com/t/movie-wont-load/117014/8 "2004-08-01T11:40:22Z")

</div>

> [@Simon Henriksen](#):
>
> I got the wrong file uploaded. I’m having a different problem, and you’re very welcome to help me. It’s in this thread: [http://www.kirupaforum.com/forums/showthread.php?t=64959](http://www.kirupaforum.com/forums/showthread.php?t=64959)

i`ve just had a tinker with your original file and stuck a couple of swfs in just to test and i think it is working how you want.I`ve only put code on 2 of the buttons and you`ll have to change to the name of your swf. I`ve also stuck a simple preloader on but you`ll have to upload the files to see it work.  
If you want to resize the movies you are loading in etc, you can do it within the preloader code. I hope it is of some help.  
[http://www.gifsrus.com/testfile/My%20Documents.zip](http://www.gifsrus.com/testfile/My%20Documents.zip)

---

<div class="post-metadata">

### Author: ![Simon\_Henriksen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simon_henriksen/32/625_2.png) [@Simon\_Henriksen](https://forum.kirupa.com/u/Simon_Henriksen)
#### Post date: [August 1, 2004, 12:05pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/9 "2004-08-01T12:05:48Z")

</div>

> [@stringy](#):
>
> i`ve just had a tinker with your original file and stuck a couple of swfs in just to test and i think it is working how you want.I`ve only put code on 2 of the buttons and you`ll have to change to the name of your swf. I`ve also stuck a simple preloader on but you`ll have to upload the files to see it work.  
> If you want to resize the movies you are loading in etc, you can do it within the preloader code. I hope it is of some help.  
> [http://www.gifsrus.com/testfile/My%20Documents.zip](http://www.gifsrus.com/testfile/My%20Documents.zip)

There’s nothing in the .fla. The files size of it is 0kb…

---

<div class="post-metadata">

### Author: ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)
#### Post date: [August 1, 2004, 12:14pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/10 "2004-08-01T12:14:18Z")

</div>

just uploaded again

---

<div class="post-metadata">

### Author: ![Simon\_Henriksen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simon_henriksen/32/625_2.png) [@Simon\_Henriksen](https://forum.kirupa.com/u/Simon_Henriksen)
#### Post date: [August 1, 2004, 12:17pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/11 "2004-08-01T12:17:15Z")

</div>

Still no change…

---

<div class="post-metadata">

### Author: ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)
#### Post date: [August 1, 2004, 12:34pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/12 "2004-08-01T12:34:24Z")

</div>

> [@Simon Henriksen](#):
>
> Still no change…

Thats funny because i can download it ok but i have had problems uploading all day.  
see if this is what you want to happen; as i said earlier i have not resized the movies  
[http://www.gifsrus.com/testfile/portfolio.html](http://www.gifsrus.com/testfile/portfolio.html)

---

<div class="post-metadata">

### Author: ![Simon\_Henriksen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simon_henriksen/32/625_2.png) [@Simon\_Henriksen](https://forum.kirupa.com/u/Simon_Henriksen)
#### Post date: [August 1, 2004, 12:37pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/13 "2004-08-01T12:37:19Z")

</div>

> [@stringy](#):
>
> Thats funny because i can download it ok but i have had problems uploading all day.  
> see if this is what you want to happen; as i said earlier i have not resized the movies  
> [http://www.gifsrus.com/testfile/portfolio.html](http://www.gifsrus.com/testfile/portfolio.html)

It’s not this problem. The problem is the dark grey interface. I want that to load externally and when i try to do that this happends: [http://www.kirupaforum.com/forums/showthread.php?t=64959](http://www.kirupaforum.com/forums/showthread.php?t=64959)

---

<div class="post-metadata">

### Author: ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)
#### Post date: [August 1, 2004, 12:49pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/14 "2004-08-01T12:49:18Z")

</div>

> [@Simon Henriksen](#):
>
> It’s not this problem. The problem is the dark grey interface. I want that to load externally and when i try to do that this happends: [http://www.kirupaforum.com/forums/showthread.php?t=64959](http://www.kirupaforum.com/forums/showthread.php?t=64959)

well can upload the 2 files you are using not just the one.

---

<div class="post-metadata">

### Author: ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)
#### Post date: [August 1, 2004, 1:30pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/15 "2004-08-01T13:30:39Z")

</div>

> [@stringy](#):
>
> well can upload the 2 files you are using not just the one.

There is something in your websitecontent.swf which must be referencing \_root and telling it to to goto another frame.

---

<div class="post-metadata">

### Author: ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)
#### Post date: [August 1, 2004, 1:32pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/16 "2004-08-01T13:32:41Z")

</div>

There is something in your websitecontent.swf which must be referencing \_root and telling it to to goto another frame, try it with another swf.

---

<div class="post-metadata">

### Author: ![Simon\_Henriksen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simon_henriksen/32/625_2.png) [@Simon\_Henriksen](https://forum.kirupa.com/u/Simon_Henriksen)
#### Post date: [August 1, 2004, 1:52pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/17 "2004-08-01T13:52:58Z")

</div>

> [@stringy](#):
>
> There is something in your websitecontent.swf which must be referencing \_root and telling it to to goto another frame, try it with another swf.

You’re right!

I just can’t find out where it refere to \_root, but if i find it, what should i use instead?

[You can take a look at the websitecontent.fla here](http://home.no/simonwh/websitecontent.fla)

Thanks in advance!

---

<div class="post-metadata">

### Author: ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)
#### Post date: [August 1, 2004, 2:11pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/18 "2004-08-01T14:11:25Z")

</div>

> [@Simon Henriksen](#):
>
> You’re right!
> 
> I just can’t find out where it refere to \_root, but if i find it, what should i use instead?
> 
> [You can take a look at the websitecontent.fla here](http://home.no/simonwh/websitecontent.fla)
> 
> Thanks in advance!

first frame  
bytes\_loaded = Math.round(\_root.getBytesLoaded());  
bytes\_total = Math.round(\_root.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
if (bytes\_loaded == bytes\_total) {  
this.gotoAndStop(3);  
}

you also have some code on c1-01  
on (release) {  
\_level0.instance2.container.loadMovie (“websites/image0.swf”);  
}  
is this deliberately done?Anyway this too is targeting \_root

---

<div class="post-metadata">

### Author: ![Simon\_Henriksen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simon_henriksen/32/625_2.png) [@Simon\_Henriksen](https://forum.kirupa.com/u/Simon_Henriksen)
#### Post date: [August 1, 2004, 2:13pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/19 "2004-08-01T14:13:50Z")

</div>

> [@stringy](#):
>
> first frame  
> bytes\_loaded = Math.round(\_root.getBytesLoaded());  
> bytes\_total = Math.round(\_root.getBytesTotal());  
> getPercent = bytes\_loaded/bytes\_total;  
> if (bytes\_loaded == bytes\_total) {  
> this.gotoAndStop(3);  
> }
> 
> you also have some code on c1-01  
> on (release) {  
> \_level0.instance2.container.loadMovie (“websites/image0.swf”);  
> }  
> is this deliberately done?Anyway this too is targeting \_root

Okay… what should i change it too? have no idea…

> 

on (release) {  
\_level0.instance2.container.loadMovie (“websites/image0.swf”);  
}  
is this deliberately done?

Yeah

---

<div class="post-metadata">

### Author: ![stringy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@stringy](https://forum.kirupa.com/u/stringy)
#### Post date: [August 1, 2004, 2:21pm UTC](https://forum.kirupa.com/t/movie-wont-load/117014/20 "2004-08-01T14:21:04Z")

</div>

if it is targeting container in this movie, it should be

on (release) {  
this.\_parent.\_parent.\_parent.container.loadMovie (“websites/image0.swf”);  
}

[Next page](https://forum.kirupa.com/t/movie-wont-load/117014.md?page=2)
