The problem is simply,
the code which works over stage, is not working properly over a movieclip..
sample, i have many objects to stay at different indexes at flash..
with that code block below. I add 300 mc's to stage,
TO be able to change indexes with different items.. i have random movieclips which have to be placed indexes between 5 and 300.. And everything goes great when i do this directly at stage..Code:for (var j:Number = 0; j<300; j++) { var mc2:MovieClip = new MovieClip(); stage.addChildAt(mc2, j); }
But when i do this with a movieclip.. example;
i can't see the movieclips inside.. but i know they are at their right indexes..Code:for (var i:Number = 0; i<300; i++) { var mc3:MovieClip = new MovieClip(); my_mc.addChildAt(mc3, i); }
but somehow they are getting behind those fake movieclips..
What might the reason be? Does anyone have any idea HELP PLEASE...
Any effort will be appreciated :P
Note: the layer is at the highest position which i use..




Reply With Quote