Try toString(aArray[i]._name) instead.... I'm not 100% sure what you're
storing in your array, but it sounds like you're storing movieClip objects
in there, in which case the result [object Object] would be the correct
output.

Hal

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, September 10, 2007 8:30 PM
To: Flash Coders
Subject: [Flashcoders] toString(aArray[i]) ?? does this work


Quick question, can I toString an array element.  
ie:   var  myStr:String  =  toString(aArray[i]);    // where 'i' is the
increment.

I am having an issue with this.  when I trace myStr it traces [object
object] 
instead of what I intended/expected "mcMovieClipName14" as a string.

Any insite would be appreciated.

Thanks in advance,

Paul V.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to