Hi everybody! Noob here feeling that ActionScript pain in it’s best.
I read all the post in this forum, read alll tutorials I came across (use external text, URL encoding…)
Have 2 issues that I would like to discuss.
(A)
Main stage :
1st - frame : button1, button2 - with AS goto and play" to the frame 2,3 respectively
2nd frame : previous buttons, text field "onamatext1" (dynamic,multiline,defined var1,embedded ch.), scroll bar UI component added to onamatext1
3rd frame : previouse buttons, text field "onamatext2" (dynamic,multiline,defined var2,embedded ch.)scroll bar UI component added to onamatext2
AS in 2nd and 3rd frame (in frame 3 instead of "1" - "2" is put):
stop();
loadOnama1 = new LoadVars();
loadOnama1.load("onama1.txt");
loadOnama1.onLoad = function (){
onama1=this.onama1;
skrolo1._visible = (onamatext1.maxscroll > 1);
}
So, I want to load text into text filelds and make it scrollable if scroll bar is needed - it the text is big enough.
Results:
click on button1 : goest to 2nd frame, text is displayed, it is rightly determined whether scroll bar is needed or not - BUT! there’s NO SLIDING BUTTON on the scroll bar.
Then, I click button2 - same result for next text field.
Then I click AGAIN on button1 and SLIDING button is SHOWN !!!
So, what’s going on?
(B)
I would like to display some words of the text in bold, italic and also would like to display clickable hyperlink - as I’ve understood I need to use “render text as HTML” property.
So, I set it up, and tried to import onama1.text with this content :
" var1=
<B>is this bold?</B>
and nothing is being displayed. I also tried to begin with "$var1=" and "&var=" …
So, how to display words in bold, italic and how to put clickable hyperlink in text field?
Just dont tell me that I need XML - that I know nothing about
thnx in adance,
Joakim.