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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Page Layout based on XML Data

Status
Not open for further replies.

bgreenhouse

Technical User
Feb 20, 2000
231
CA
Hi Folks

What I'm doing is creating an appendix for a client. I'm storing all the data to be displayed in XML (want to use the same Flash files on CD and the web, so I'm avoiding database servers). I've got it working reasonably well (in Beta stage), but I'm wondering if there's anyway to change the size of dynamic text boxes based on the amount of data coming in. Right now I pull data out of an XML node, put it into a variable that is hooked to a dynamic text box. In some XML files this may be empty, in some it might be ten lines long. I don't want the empty one to take up ten lines when it doesn't have to. It gets more complicated as I also have labels lined up horizontally with the dynamic text (label:data, etc...), so the labels would have to move according to how much data was in each of the preceding dynamic text boxes (I don't know if that's clear or not - I don't have this on a server, or I'd show you what I meant).

Any suggestions?

Thanks

Ben
 
If MX, check TextField.autoSize

Regards,

oldman3.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top