Flasher Archive

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


Subject: Re: [flasher] duplicateMovieClip and depth setting
From: Helen Triolo
Date: Thu, 01 Mar 2001 14:05:07 -0000

Hi Andy. Depth and level are two different things. Level is the
"broader" category, and is used to specify where a movie loaded with
loadMovieNum will reside. Depths exist within a level -- they specify
the depth of a duplicated or attached movieclip within a level (or just
within level0 if no other levels are used).

Regards,
Helen
-------------------------------------------------------------------
1240 Flash Answers from 424 people: http://i-technica.com/flashlist

AndyA wrote:
>
> 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]