[Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
I am creating a dynamic drop down menu using XML and I am having trouble spacing out each menu item. Is there a way of determing the size of the text in each xml node? Thanks for your help, Aaron P.S. This menu is based on a tutorial at kirupa.com. Here is the XML: ?xml version=1.0

RE: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Merrill, Jason
-Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Aaron Roberson Sent: Thursday, August 17, 2006 4:55 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Help Getting Size of Text Dynamically I am creating a dynamic drop down

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
?) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Roberson Sent: Thursday, August 17, 2006 1:55 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Help Getting Size of Text Dynamically I am creating a dynamic drop down menu using XML and I am

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of Aaron Roberson Sent: Thursday, August 17, 2006 4:55 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Help Getting Size of Text

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
: Thursday, August 17, 2006 2:13 PM To: [EMAIL PROTECTED] Subject: Re: [Flashcoders] Help Getting Size of Text Dynamically Yes, I am referring to the length of the text in the name attribute of the xml nodes. The script is creating a new movie clip based on an existing movie clip in the library. The movie

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
Elena, Option 2 is exactly the track I am currently taking! I am having a hard time adjusting the width of the movie clip based on the length of the text after setting it to auto size. Can you help? Here is my code: for (var i=0; inode_xml.childNodes.length; i++) { // movieclip for each menu

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread John VanHorn
] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Roberson Sent: Thursday, August 17, 2006 1:55 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Help Getting Size of Text Dynamically I am creating a dynamic drop down menu using XML and I am having trouble spacing out each menu item

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Help Getting Size of Text Dynamically I am creating a dynamic drop down menu using XML and I am having trouble spacing out each menu item. Is there a way of determing the size of the text in each xml node? Thanks for your help

RE: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Ryan Potter
, 2006 4:23 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Help Getting Size of Text Dynamically John, That is what I am trying to do but it's not working for some reason. Can you detect any problem or give me a suggestion with the following code: for (var i=0

Re: [Flashcoders] Help Getting Size of Text Dynamically

2006-08-17 Thread Aaron Roberson
, 2006 4:23 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Help Getting Size of Text Dynamically John, That is what I am trying to do but it's not working for some reason. Can you detect any problem or give me a suggestion with the following code: for (var i=0