use toString(mc1).substr(-1); On 9/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hey, > I need to extract the last digit from a loaded section of > MovieClips. Named sequentially mc1 mc2 mc3...mc125. > I so I want to convert the mc Names to Strings and then use something like > this myVar = McStringName.substr(-1); > It is all being done within a setInterval(func, 10); - running 100 times > a second - so need to be as efficient as possible. > > Thanks in Advance. > > Paul. > _______________________________________________ > [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 >
-- Omar M. Fouad - Digital Emotions http://www.omarfouad.net This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. _______________________________________________ [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

