# loadMovie error? :S

**URL:** https://forum.kirupa.com/t/loadmovie-error-s/120188
**Category:** Uncategorized
**Created:** [August 21, 2004, 6:55pm UTC](https://forum.kirupa.com/t/loadmovie-error-s/120188 "2004-08-21T18:55:25Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![murka390](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@murka390](https://forum.kirupa.com/u/murka390)
#### Post date: [August 21, 2004, 6:55pm UTC](https://forum.kirupa.com/t/loadmovie-error-s/120188/1 "2004-08-21T18:55:25Z")

</div>

Symbol=1, Layer=jooned, Frame=1: Line 1: ‘)’ or ‘,’ expected  
\_pilt.loadMovie(“taimed/”+6ige+".jpg",1)

i got this error, what could be wrong  
? :S:S definetly wery confusing … cause everything seems OK.

---

<div class="post-metadata">

### Author: ![bwh2](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bwh2](https://forum.kirupa.com/u/bwh2)
#### Post date: [August 21, 2004, 7:12pm UTC](https://forum.kirupa.com/t/loadmovie-error-s/120188/2 "2004-08-21T19:12:00Z")

</div>

i would try removing the \_ from the front of your instance name (remember to give the correct instance name to the mc also). also, remember the ; at the end of the line.

---

<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 21, 2004, 8:09pm UTC](https://forum.kirupa.com/t/loadmovie-error-s/120188/3 "2004-08-21T20:09:04Z")

</div>

you would have to type it as

\_pilt.loadMovie(“taimed/”+6+“ige.jpg”, 1); not to give errors

However this still probably wont do anything,if \_pilt is the movieclip you want to load into then lose the 1  
\_pilt.loadMovie(“taimed/”+6+“ige.jpg”);  
if you want to load into a level use

loadMovie(“taimed/”+6+“ige.jpg”,"\_level1");

---

<div class="post-metadata">

### Author: ![bwh2](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@bwh2](https://forum.kirupa.com/u/bwh2)
#### Post date: [August 21, 2004, 8:23pm UTC](https://forum.kirupa.com/t/loadmovie-error-s/120188/4 "2004-08-21T20:23:58Z")

</div>

> [@stringy](#):
>
> you would have to type it as
> 
> \_pilt.loadMovie(“taimed/”+6+“ige.jpg”, 1); not to give errors

not if you have 6ige already defined.

---

<div class="post-metadata">

### Author: ![murka390](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@murka390](https://forum.kirupa.com/u/murka390)
#### Post date: [August 22, 2004, 5:44am UTC](https://forum.kirupa.com/t/loadmovie-error-s/120188/5 "2004-08-22T05:44:00Z")

</div>

that “6ige” is defined… i need to load a .jpg image (located in “taimed/”, and the part before “.jpg” depends of the value of “6ige”) to a movie clip.

is there any other way to to this, if that does’nt work?  
cause’ i tryed everything you people said, and it was still wrong to flash mx.

---

<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 22, 2004, 7:00am UTC](https://forum.kirupa.com/t/loadmovie-error-s/120188/6 "2004-08-22T07:00:15Z")

</div>

> [@murka390](#):
>
> that “6ige” is defined… i need to load a .jpg image (located in “taimed/”, and the part before “.jpg” depends of the value of “6ige”) to a movie clip.
> 
> is there any other way to to this, if that does’nt work?  
> cause’ i tryed everything you people said, and it was still wrong to flash mx.

still not sure what you are trying to load into  
maybe  
myvar = 6+“ige”;  
createEmptyMovieClip(“\_pilt”, 1);  
\_pilt.loadMovie(“taimed/”+myvar+“.jpg”);

---

<div class="post-metadata">

### Author: ![murka390](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@murka390](https://forum.kirupa.com/u/murka390)
#### Post date: [August 22, 2004, 7:21am UTC](https://forum.kirupa.com/t/loadmovie-error-s/120188/7 "2004-08-22T07:21:40Z")

</div>

“6ige” is ONE variable. it is spelled together.

and the movie clip(pilt) is already on the stage.

---

<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 22, 2004, 7:26am UTC](https://forum.kirupa.com/t/loadmovie-error-s/120188/8 "2004-08-22T07:26:01Z")

</div>

> [@murka390](#):
>
> “6ige” is ONE variable. it is spelled together.
> 
> and the movie clip(pilt) is already on the stage.

I don`t think it will work-starting with a number.

---

<div class="post-metadata">

### Author: ![murka390](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@murka390](https://forum.kirupa.com/u/murka390)
#### Post date: [August 22, 2004, 8:18am UTC](https://forum.kirupa.com/t/loadmovie-error-s/120188/9 "2004-08-22T08:18:55Z")

</div>

yeah, i figured that out… but THNX!  
i’we changed the variable to “correct”… now.  
had this idea to add a loading bar… while the picture loads.  
how can i get the “totalbytes” etc. of the picture, that loads?
