Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: duplicateMovieClip and depth setting
From: AndyA
Date: Thu, 01 Mar 2001 13:55:28 -0000

Hi All,

I've been looking at this line of code for the last 30 minutes and cannot
work out what is wrong with it. Help would be gratefully received.

Code is:

duplicateMovieClip (_root.MenuTemplate, "MenuItem"+MenuNameIndex,
MenuNameIndex);

the MenuNameIndex is an integer variable and is working fine, since
"MenuItem"+MenuNameIndex is behaving as it should (MenuName1, MenuName2 etc
as MenuNameIndex increments).

The problem is that the MCs are all being created on _level0. My
understanding is that the third parameter sets the level onto which the MC
is loaded so the result should be an object MenuName1 on _level1, MenuName2
on _level2 etc

Am I just plain wrong? Or is something weird going on here?

Regards

Andy
flasheratandya [dot] demon [dot] nl




[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]