hello fellow actionscripters,
i have a dilemma. i want to create dynamic buttons that arrange itself spaced horizontally and im having a hard time getting it to read the width of the text inside the button.
For example, each of those buttons are being referenced in the library and its text placed dynamically. How do I get it to read the length of “Home” so I can dynamically create the Menu button and so forth on the _x axis?
Home / Menu / About Us / Contact
I’m currently trying maxhscroll to read its width, but its not accurate at all once I embed a font to the dynamic text field. Any ideas?