I’m trying to get the text aligned properly. But I can’t seem to do it. Everytime I feel the textbox with columns of text, some of the text gets shift to the left or right. How could I format it so it would look the same as how I align it in the first place. Remember, this is a textbox with a scroller. There can only be one textbox with the text not several…
There must be a way to do it. How else am I going to setup a directory?
Would it be possible to setup textfield within textfield and have a scroller control the main textfield. Basically the textfield within the main textfield holds the column of texts…
Or would it be possible to have a scroller control several textbox at once. For example, a textfield for name, textfield for sex, age, city, state. name all of the textfield with the same property name. Direct the textfields to the scroller.
I have tried the second idea but didn’t work. There must be a way to setup a directory format like a database table.
Does Flash MX support Excel data formatted as htm? If it does, then the htm file could be opened with AS targeting the textbox. Anyone know how to do it?
solution 1: use different textfields inside a movieclip, and use that movieclip as scrollcontent for a scrollpane
solution 2 (maybe): you can set tabs in a textfield, haven’t ever used that, but maybe…look up “textFormat.tabStops”, example =
theFormat.tabStops = [10,20,30]; (values in points).
Inside the movie clip will have separate textbox that holds each column of text. But, how would you connect the scroll plane with the movie clip? I’m assuming the movie clip is connected to the scroll plane from the main timeline.
the scroll plane is inside the mc, but if you want it outside, just name the MC, and put _root.(mc name).a# (change # to each number the text box is) its really easy, you just add a line of code for each text box.
that should give you enough understanding to do what you want.
and remember, if you want to format dynamic text (center and such), you have to turn on render text as HTML. it looks like <> on the button. cant see the button? click the little arrow in the bottom right of the properties panel