ok guys sorry for sending this quest out

i found the answer .. u can not forget the this before any dynamically access 
variables..

nothing wrong with a good reminder right : )



> From: [EMAIL PROTECTED]
> To: [email protected]
> Date: Fri, 25 Jan 2008 01:52:58 +0000
> Subject: [Flashcoders] nested for loops stumper
> 
> I 4 movie clips on the stage named scrollx where x are numbers 0- 3 and 
> within each scrollx clip i have 5 nested movieclips..is called clipx where x 
> are numbers 0-4
> 
> YET when i run the function below.. tracing scroll works but not scrollx.clipx
> yet j traces fine.. 
> 
> any suggestions???
> 
> also the for loop ran well went not in the onEnterframe function, im stuck..
> this.onEnterFrame = function() {
>     //outerloop that goes through all of the clips the four scroll clips on 
> the timeline
>     for (var i = 0; i<4; i++) {
> 
>         //inner loop that goes through each drink in the scroll clips
> 
>         for (var j = 0; j<5; j++) {
>             trace(j);
> 
> trace(["scroll"+i]["clip"+j]._x);
>             
> 
>         }
> 
> 
>     }
> 
> };
>  
> _________________________________________________________________
> Shed those extra pounds with MSN and The Biggest Loser!
> http://biggestloser.msn.com/_______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_________________________________________________________________
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to