This content has been marked as final. Show 5 replies
unfortunately I can't see andy tabs in the posted xml, you should use the attach code function to attach the xml with all tabs/whitespaces.
I guess what you need to do is to set the tab stops in the textfield to your text aligned in a proper and consitent way..or you simple remove the tabs in the CDATA section of your xml.
I am wondering anyway why you are using a structured format like XML to simply put in huge unstructured CDATA Sections. Wouldn't it be a much better style to create a clear xml structure with all the different meta informations for the address?
Well i got some help on the actionscript irc to change my old xml setup into this one you see now
as my old one didnt work with links
but perhaps you have a better solution
i do not know how to include the tabstops your talking about into my setup
as ime no flash Expert :)
so if you know that what i need is a setup where i acn make bold and normal and sized text and define
some text to be links, as i can with my current setup you see.
but still have it to aligh prober using tabs
do you have any good setup that would make that possible ?
don't format your data in your xml file. use flash to strip out all the whitespace from your xml data and format your data for display.
sounds like the easyest thing in the world
thing is i have no ideer how
this is my xml setup nr 5 or so that i have worked up and down on and everytime someone new sees it
its like ( why did you do it like that ) you should . . . . . .
and then i get kinda like your explenation and i dont really get any wizer
as i do not know how to
thats why ime seeking help inhere.
alrighty then try this xml structure.
Note: formatting information like b, or linkage tags should not be part of the xml.
The XML format is a universal format for data, if you fill it with style information this is not good practive (in general, there are of course scenarios where it makes sense, also since (x)html IS also XML).
In your case you want to put the information about multiple companies in a xml file, but you let the flash decide how to display format this information.
so if you use the sugested XMl structure you will have full control of the layout within flash, because you can grab every piece of information from the xml and place it jsut where you want in flash and format it within flash.
Of course this process is more coding work than your previous attempt, but it pays of when you have a lot of data to process and when you want to have full control of the final layout.
But maybe its overkill for your application (I don't know how many companies will be stored in your xml and how complex the rest of the app is).