Dynamic Text Field Loading IMG tag (image)
by Matt Abron
on
May 14, 2008 at 8:13:36 pm
OK, Trying to load picture into my dynamic-scrollable text field...for a while now...I cannot see to get this to work...it will load text into the field if I REM the img tag, but when I add the html id I get a blank field.
here is my cut and paste of the HTML text from my test.txt (document) The second id is just there to make sure it is reading the html tags
/*
Here is an image you can use to link to us from your website:
Re: Dynamic Text Field Loading IMG tag (image) by Matt Abron on May 14, 2008 at 8:35:21 pm
Thank Pieter, and again I apologize for my mental break on this...I am actually a video editor trying to develop video for internet skills...hmmm
Well here is my actual text.txt...Note that my test pix is 80x80 pixels
OPEN BRACKET img src="/Users/mattabron/Desktop/DynamicTextField/test.jpg width="300" heigth="300" /CLOSE BRACKET I am triyng to set this crazy thing up to add pictures to my Dynamic text fields...so for god sake let this crazy shit work.
Flash AS3
var textLoader:URLLoader = new URLLoader();
var textReq:URLRequest = new URLRequest("/Users/mattabron/Desktop/DynamicTextField/text.txt");
function textLoaded(event:Event):void
{
external_txt.htmlText = textLoader.data;
}
Re: Dynamic Text Field Loading IMG tag (image) by Matt Abron on May 14, 2008 at 9:29:37 pm
yea, initial quick tests look like it will do what I need it to, I suppose I will be able to load multiple pictures through put the text in the same fashion, I plan on finishing this part tomorrow...
Re: Dynamic Text Field Loading IMG tag (image) by Adam Clark on May 14, 2008 at 9:35:18 pm
I too am trying to create scrollable thumbnails for my webpage image gallery. I think this method could work for me too, but I was wondering if perhaps the TileList component would work for this, and if so are there any tutorials on how to set this up?