Hi, I am trying to have links and images show inside an externaly loaded .txt file.
I can get the link to work, but the images don’t show up.
here is the code i have:
content.html = true;
loadhtmlText = new loadVars();
loadhtmlText.load("news.txt");
loadhtmlText.onLoad = function() {
content.htmlText = this.textstart;
};
in the .txt file, using “<a href=“websitelink.com”>link</a>” works,
but "<img src=“websiteimage.jpg”> doesn’t. the image doesn’t apear.
i’ve made sure that the jpg is not progressive.
i maneged to get images to show up in a text box about a year ago, can’t beleive i’ve forgot how to do it!
any help much appreciated
peace