Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic text box sizing in List Object? 1

Status
Not open for further replies.

ddwinell

Technical User
Mar 21, 2001
2
US
Hi,

I'm trying to create a horizontally-oriented menu of button symbols that contain only a text object in each of the button states.

Problem I'm having is that the width of my text boxes seems to be locked to the width allocated to the Generator variable string I embedded into the box for replacement at compile time. The text box attributes are set to resizable but it doesn't seem to make a difference.

I've tried just about every permutation of static/dynamic for the text object (with static producing better(?) results in most cases), but without making the Generator variable longer than the longest text string being pulled from the DB, my text is truncated by the text box bounds.

While grappling with this issue, I also came up against another hurdle which is really a Flash issue in nature but hopefully someone will read this post and have an answer.

How do you create a scalable hit area for the Hit state that would address variations in the button width arising from length differences in the dynamic text?

Help!?!? Thanks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top