# Load Movie in target AND in level

**URL:** https://forum.kirupa.com/t/load-movie-in-target-and-in-level/161892
**Category:** flash
**Created:** [September 8, 2005, 1:17am UTC](https://forum.kirupa.com/t/load-movie-in-target-and-in-level/161892 "2005-09-08T01:17:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![age401](https://avatars.discourse-cdn.com/v4/letter/a/c6cbf5/32.png) [@age401](https://forum.kirupa.com/u/age401)
#### Post date: [September 8, 2005, 1:17am UTC](https://forum.kirupa.com/t/load-movie-in-target-and-in-level/161892/1 "2005-09-08T01:17:35Z")

</div>

My problem is this:

I have a button that must uppon being press go to the root lvl, find a target and open a movie in that target but in succesive lvls.

so, the ideal code would be…

on(release){  
\_global.lvl++;  
\_root.target1.loadMovieNum(“movie.swf”,\_global.lvl);  
}

But flash doesn’t allow me to do both at the same time, either i choose a target or a lvl, not both, and even less if the lvl is a variable.

This movie has some buttons that when pressed the open clips that should acumulate until closed.

Ty
