This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > July 2007 > Re: How to Embed images into a scrolling text field





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: How to Embed images into a scrolling text field
dingsword

2007-07-09, 6:14 am

lostinscript said right. Use its "html" propery.
eg : mca is your dynamic text object
you can write like this

var my_lv:LoadVars = new LoadVars();
my_lv.onLoad = function(success:Boolean) {
if (success) {
mca.html = true;
mca.htmlText = this.toString();
} else {
trace("Error loading/parsing LoadVars.");
}
};
my_lv.load("mytext.txt");

you can write :
<img src="myimg.jpg"></img> .....
in mytext.txt.

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews