Arul Prasad M L wrote:
If its mx.core.UIObject's destroyObject that you are talking about,
destroyObject takes the instanceName of the object, not the instance
reference. you'll just have to pass the instance name as a string.
I did in fact realize that this morning once I read up more on th
If its mx.core.UIObject's destroyObject that you are talking about,
destroyObject takes the instanceName of the object, not the instance
reference. you'll just have to pass the instance name as a string.
So, your code should look somethng like:
function killElements()
{
for (var i:Number = 0; i
Andy Stone wrote:
Have you tried...
this._targetMc.destroyObject(eval("slidemenu.theThumb" + i));
Sometimes I find eval works when [] doesn't. -Andy
I have not tried that - I will give it a go in a few hours.
Thanks!
d
___
Flashcoders@chatty
Have you tried...
this._targetMc.destroyObject(eval("slidemenu.theThumb" + i));
Sometimes I find eval works when [] doesn't. -Andy
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dnk
Sent: Thursday, August 10, 2006 3:07 AM
To: Flashcoders mailing lis
4 matches
Mail list logo