# Level problems?

**URL:** https://forum.kirupa.com/t/level-problems/17033
**Category:** Uncategorized
**Created:** [March 31, 2003, 6:16pm UTC](https://forum.kirupa.com/t/level-problems/17033 "2003-03-31T18:16:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![p13](https://avatars.discourse-cdn.com/v4/letter/p/4bbf92/32.png) [@p13](https://forum.kirupa.com/u/p13)
#### Post date: [March 31, 2003, 6:16pm UTC](https://forum.kirupa.com/t/level-problems/17033/1 "2003-03-31T18:16:06Z")

</div>

I’m loading external movies into blank movie clips on different levels, For example: I load the “portfolio” section of my site from an external movie into a blank movie clip on my main timeline. Then I load a sub section (“illustrations”) into a blank movie clip on the “portfolio” timeline. My problem is that I have an actionscript on the “illustrations” sub section timeline (to scroll images) that does not function properly. I believe it has to do with levels, but I’m still a little new at this so I’m not sure.

Here is an example of the script I’m using:

onClipEvent (load) {  
\_parent.largePieceWidth = \_width/\_parent.pieces;  
}

onClipEvent (enterFrame) {  
dx = (\_parent.LargeSliderTargetLoc - \_x) / 3.7  
\_x = \_x+dx;  
}

I think the \_parent tag is my problem, maybe I need to add the level to it? I tried using \_root and this, neither of those worked either. Any help would be much appreciated.

Thanks in advance…

-P.

---

<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: [March 31, 2003, 6:19pm UTC](https://forum.kirupa.com/t/level-problems/17033/2 "2003-03-31T18:19:48Z")

</div>

target levels through:

\_level1.\_root.movieclipname

just make sure you have all the target names right

---

<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: [March 31, 2003, 6:27pm UTC](https://forum.kirupa.com/t/level-problems/17033/3 "2003-03-31T18:27:10Z")

</div>

Thanks, but I’m a little new at this… Can you give me an example of how that would fit into my script?

Thanks again…

-P.
