Flash Q. Inserting an image.
- Started
- Last post
- 6 Responses
- tonks
Could someone help me with a tiny bit of html. I have a external txt file which updates a news section in flash. If I wanted to insert an image beneath each block of text whats the HTML for that? How do I call it?
Also how do I make my active email link look active? ..ie make it underlined. Thankyou !!!!!!
- unfittoprint0
txt.html = true;
txt.htmlText="< img src="ball.jpg" /> mytext ";underlining will require a stylesheet [external or otherwise]
http://livedocs.macromedia.com/f…
- tonks0
Thanks man. But not quite sure how it all works? ...this is what i have i put in file called 'news.txt'
text=Usual text would go here.
This should work right?
- tonks0
Thanks man. But not quite sure how it all works? ...this is what i have i put in file called 'news.txt'
text=Usual text would go here.
This should work right?
- tonks0
Thanks man. But not quite sure how it all works? ...this is what i have i put in file called 'news.txt'
text=Usual text would go here.
!!! !!!
This should work right?
- tonks0
ha ha.. damn it I cant get the text to show up!
img src="test.jpg"
but with the greater and smaller tags.
- pkmlta0
this uses an XML file rather than HTML:
var ss1:TextField.StyleSheet = new TextField.StyleSheet();
ss1.load("css/myStyles.css");
news = new XML();
news.ignoreWhite = true;
news.load("sometext.html");
news.onLoad = function() {
news_mc.createTextField("newsbox... 2, 15, 40, 240, 265);
with (news_mc.newsbox) {
styleSheet = ss1;
html = true;
multiline = true;
wordWrap = true;
selectable = true;
htmlText = news;
}
};