[Flashcoders] array access operator not working

2008-01-15 Thread Dwayne Neckles
this doesnt work.. Unexpected '.' encountered any idea why? [clip+i].onRollOver = function() { Tweener.addTween(this.person,{_alpha:100, delay:0, time:2}); Tweener.addTween(this.whiteborder,{_alpha:100, delay:0, time:2}); };

Re: [Flashcoders] array access operator not working

2008-01-15 Thread Zeh Fernando
this doesnt work.. Unexpected '.' encountered any idea why? [clip+i].onRollOver = function() { You can't use a reference like that from no object. Instead, use: this[clip+i].onRollOver = function() { ... ___ Flashcoders mailing list

RE: [Flashcoders] array access operator not working

2008-01-15 Thread Dwayne Neckles
Thank you Zeh, I swear its the little things.. Date: Wed, 16 Jan 2008 01:54:06 -0300 From: [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] array access operator not working this doesnt work.. Unexpected '.' encountered any idea why? [clip+i