[f8] depth control on movieclips
Hi,
wondering if someone is able to confirm something for me...
I've been playing with someone else's fla.file and been trying to teach myself about the throw mc option. Basically i've got 10 squares which load on to the main screen and you can throw them around - but they dont jump to the front...
I've been trying to make this happen by adding this to the movieclip, but it's not working
code:
on (rollOver){
mx.behaviors.DepthControl.bringToFront(this);
I've had a look at the main "as" which came with the file and seen this
code:
for (var i = 0; i < kNbrBalls; ++i) {
var mc = this.attachMovie("superball_mc", "mc"+i, 1+i);
not sure what this is exactly but would i be right in thinking the reason why the movieclips aint jumping to the front when you click on them is because their not on the same level?
any help very much appreciated, thanks