PDA

View Full Version : a question about _levels



anarcoma
May 21st, 2003, 04:35 AM
This little piece of code duplicates the mc kfukkfum and puts it on level1. then i want to manipulate the _x-property. i dont succeed.

code
duplicateMovieClip (_root.kfukkfum, "kfumlogga", 1)
setProperty ("kfumlogga", _x, 30);
setProperty ("kfumlogga", _y, 30);
setProperty ("kfumlogga", _alpha, 65);

so far so good. But the little piece of code below wont manip the _x-property. anyone who knows why?

_level1.kfukkfum._x = 120;

kode
May 21st, 2003, 05:05 AM
the duplicated movieclip is not in level 1, its depth is 1. ;)

there's quite a difference between depths and levels.

anarcoma
May 21st, 2003, 08:06 AM
Ok then whats the difference between levels and depth.

kode
May 21st, 2003, 04:01 PM
http://www.macromedia.com/support/flash/ts/documents/layerslevelsdepth.htm =)