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
-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
?)
-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
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
: 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
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
]
[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
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
, 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
, 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
10 matches
Mail list logo