# \_level0 problems

**URL:** <https://forum.kirupa.com/t/-level0-problems/112830>\
**Category:** Uncategorized\
**Created:** [June 11, 2004, 6:46pm UTC](https://forum.kirupa.com/t/-level0-problems/112830 "2004-06-11T18:46:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakke](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@jakke](https://forum.kirupa.com/u/jakke)\
**Post date:** [June 11, 2004, 6:46pm UTC](https://forum.kirupa.com/t/-level0-problems/112830/1 "2004-06-11T18:46:35Z")

</div>

I have a new problem Ⓜ  
I want to have one code for all the buttons, so when I release button with instance name 001 flash opens in a container 001.swf but when I use this code, It want always open ‘\_level0.main.001.swf’ and when I try to play it in the index.swf it wants to open ‘\_level0.content.main.001.swf’.  
My movie has a 1.swf with a mc called ‘content’, in that mc 2.swf is loaded and 2;swf contains also a mc ‘content’ and that mc has to load 001.swf  
That ‘main’ stands for the mc that contains the buttons.  
This is the code I use:

```auto
topNavArray = ["001", "001", "002", "003", "004", "005"];

for (var i = 0; i<topNavArray.length; i++) {

	but = this[topNavArray*];
	
	but.i = i;
	
	but.onRollOver = function() {
		var myColor = new Color(this);
		myColor.setRGB(0x89c425);
	};
	
	but.onRollOut = function() {
		var myColor = new Color(this);
		myColor.setRGB(0x666666);
	};
	
	but.onRelease = function() {
		setButtons(this.i);
		if (_parent.section != this + ".swf") {
			_parent.section = this + ".swf";
		}
		_parent.transition.gotoAndPlay("closing");
	};

}

```

I hope somebody can fix this!

---

<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:** [June 11, 2004, 7:23pm UTC](https://forum.kirupa.com/t/-level0-problems/112830/2 "2004-06-11T19:23:25Z")

</div>

Instance names cannot begin with numbers.

---

<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:** [June 11, 2004, 7:25pm UTC](https://forum.kirupa.com/t/-level0-problems/112830/3 "2004-06-11T19:25:15Z")

</div>

Is that the only reason it won’t work??

---

<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:** [June 11, 2004, 7:36pm UTC](https://forum.kirupa.com/t/-level0-problems/112830/4 "2004-06-11T19:36:04Z")

</div>

I don’t know, give it a try.

---

<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:** [June 11, 2004, 7:51pm UTC](https://forum.kirupa.com/t/-level0-problems/112830/5 "2004-06-11T19:51:11Z")

</div>

Still the same problem ☹  
now it’s asking for \_level0.main.test.swf

---

<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:** [June 11, 2004, 7:54pm UTC](https://forum.kirupa.com/t/-level0-problems/112830/6 "2004-06-11T19:54:08Z")

</div>

Can i see your fla?
