Is it possible to style the xml text with styles/css?
Posted 8 months ago
A dynamic XML text field, with a custom scrollbar, easy to visualy edit. Has a nice soft ease effect when scrolling.
•The text fields (there are 2, one for the title and the other for the content) and scrollbar are in a single movie clip, making it easy to move around. •The content text field is HTML enabled,to enable adding images using the img tag (as seen in the preview).
• In the first frame of the movie clip, all you have to do is set values for two variables, defining the height of the field and the source of data (XML file). The variables are explained in the code comments and the instructions. In the XML you define the title text, and the content text.
•The scrollbar is made of 2 graphic elements (handle and background) which are easily edited to visually fit your application. You can add a nice animated effect to the scrollbar handle, the code is there, just change the tween animation to your liking (the preview has a glow-up animation)
•The scrollbar automatically hides if the content height is smaller than the height you defined as visible
•Code is fully commented so you can easily edit it if you want to
Thats all, hope you find it usefull 
If you would like to purchase this file, and don’t have an account yet, please register here.
Posted 10 months ago
Do you specify the path to the xml inside the flash file or is it specify in the xml file too?
Can the path to the xml be outside of the http root directory?
The resizing of the textarea: Does this have to be done in flash or can you specify the dimention in the html tag?
Posted 8 months ago
@casau – you specify the path to the XML in the fla file. Resizing is also done inside the fla.
Posted 8 months ago
Thanx, Vibor, for this neat xml thing! Works like a charm and is very easily customisable, regarding size and coloring.
However, a small question: Is it possible to change color and weight of subtitles within the .xml-file?
Example:
Menu Iste quidem veteres inter ponetur honeste, qui vel mense brevi vel toto est iunior anno. Utor permisso, caudaeque pilos Libitina sacravit.Subtitle (<- a subtitle within the text in bold)
Iste quidem veteres inter ponetur honeste, qui vel mense brevi vel toto est iunior anno. Utor permisso, caudaeque pilos Libitina sacravit.
Hope you can answer me… With my regards.
Posted 7 months ago
Oh, its quite simple, just mail me the file and I will send you the solution with explanation 
Is it possible to disable the title textfield?
When I just delete the title text but leave the title tags in the xml document, the word “null” shows up in the title field and the content is fine. When I delete the title text and tags from the xml, the word “undefined” is the only thing that shows up. I think I maybe need to change something in line 3 of the AS, is that right?
Thanks for the great component!
Posted 7 months ago
I would like to know the answer to the first question, i bought this file last night
Is it possible to style the xml text with styles/css?
I’ve seen toturials on this? I just need to know how I tell it to load in the CSS
Thanks,
Posted 7 months ago
@pixelmonkey: just delete the textfield from the FLA file @chanredfield: it is possible, but it will take some basic AS. Try with the tutorials and if it doesnt work, let me know.
Posted 7 months ago
Hi – Very nice item. Worth the $ just to see how good AS2 coding is supposed to look. Unfortunately I need to squeeze it into an existing project and can’t use it as is.
Can I style the XML text with a external stylesheet? I’ve already used a LoadVars and applied the css this way: scrollContent.content_txt.styleSheet = my_css;
I know the css file loaded because I used this successfully: trace(this.getStyleNames());
However none of the styles are applied to the XML . Even common styles like “h1”, did not change the text on the screen when added to the XML .
If it can be done, I’d love a follow up. If it can’t be done – I’d like to know that too so I can quit poking around in the dark.
Thanks, d2
Posted 6 months ago
It is possible but it will take some extra workarounds. Mail me the file and if i find some time these days i will look into it.
Posted 5 months ago
Can I se a smaple of the XML , in other words does it support links, pic, etc
Posted 5 months ago
Can you help me get the bold tags to work?
BOLD
I can get bullet points to work…
I sent you a message from your profile.
Thanks
Posted 5 months ago
Vibor,
Can i load multiple titels and content into the textfields and with scrollbar function.
for example: Buttons are on the stage of a cs3 flash file.
When you push btn_1, loading title_1, content_1 and image_1. When you push btn_2, loading title_2, content_2 and image_2. ect.
Content (text, images) are loading from a xml file. title1 dfkjvfvkdvdvbfdfbv adress to folderand so on with btn and content 2, 3,4.
Greetings, Bjorn
Posted 3 months ago
Here is how to make the bold tags work….all you have to do is add another textfield anywhere in the movie (add it somewhere where it cant be seen) and embed a bold version of the font in it. Thats all! 
If you guys have any questions I can help you with, please send them to my mail. Thank you!
Posted 3 months ago
can u please please write the code out here as to how to bold text or change color via xml.
Posted about 1 month ago
Vibor -
Back in May08 I asked if you could update this file so that I could style the XML with an external CSS . You asked me to send you the file, which I did. We exchanged greetings during June but I never heard from you about the updated file.
Were you ever able to complete the workarounds needed to make the XML stylable with an external CSS ?
Thanks, D2
Posted about 1 month ago