# Loading/Unloading Levels

**URL:** <https://forum.kirupa.com/t/loading-unloading-levels/279838>\
**Category:** flash\
**Created:** [January 19, 2009, 9:19pm UTC](https://forum.kirupa.com/t/loading-unloading-levels/279838 "2009-01-19T21:19:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrthad](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@andrthad](https://forum.kirupa.com/u/andrthad)\
**Post date:** [January 19, 2009, 9:19pm UTC](https://forum.kirupa.com/t/loading-unloading-levels/279838/1 "2009-01-19T21:19:48Z")

</div>

Hi All,

I am currently programming a dynamic menu where I start out with an empty movie clip on the stage. I then attach movie clips dynamically from the library and define the leves (level, 100, 200, etc). This all occurs in frame 1 of the \_root timeline. All this works great.

I want to use the same dynamic menu in frame 5 of the \_root timeline as well. When I navigate to frame 5 the code should fire and build the menu. However, nothing happens. It works on frame 1, but another instance of it on frame 5 doesn’t work? What gives, any suggestions?

Some ideas I had were:

1. Maybe I need to unload the levels first before I can rebuild.
2. Maybe the dynamic menu instances being named the same name are conflicting with each other even though they are on different frames
