# Target and level?

**URL:** <https://forum.kirupa.com/t/target-and-level/2947>\
**Category:** Uncategorized\
**Created:** [March 2, 2002, 4:58pm UTC](https://forum.kirupa.com/t/target-and-level/2947 "2002-03-02T16:58:27Z")\
**Posts on this page:** 2\
**Page:** 1

<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 2, 2002, 4:58pm UTC](https://forum.kirupa.com/t/target-and-level/2947/1 "2002-03-02T16:58:27Z")

</div>

I have a movie(background.swf). In this movie I have three Movie Clips(loja, back, logo).\rThe INback load the “menu.swf”(level20). This menu.swf has the buttons to control all the page. When I press a button I want to control the background.swf(loja, back or logo) of the menu.swf.\rWhat’s the ActionScript for this? \r\rThank you

---

<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 3, 2002, 12:57am UTC](https://forum.kirupa.com/t/target-and-level/2947/2 "2002-03-03T00:57:39Z")

</div>

you can treat a level just like a target.\rex.\rif you have movies loaded on level 5, 10, and 15 you can control them from level 0 (the first movie loaded).\r\_level5.gotoAndPlay(“best\_frame\_ever”);\r\_level10.gotoAndPlay(“no\_this\_frame\_rules”);\r\_level15.gotoAndPlay(“level15\_rules”);\ryou can also control level 0 from other levels…\r\_level0.gotoAndPlay(“i\_started\_it\_all”);\r\r:) \rjeremy\r\rp.s. just remember that it’s always better to use frame labels rather than frame numbers.
