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 list
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
___
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
Arul Prasad M L wrote:
snip
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.
snip
I did in fact realize that this morning once I read up
4 matches
Mail list logo