all groups > flash actionscript > january 2005 >
You're in the

flash actionscript

group:

LoadVar, TextArea, images, CSS ...


LoadVar, TextArea, images, CSS ... lusalry
1/23/2005 8:55:23 PM
flash actionscript: I have my FLA set up to load an HTML file with <img> tags into a LoadVars
object, and onLoad to use a variable in LoadVars as the text of a TextArea
component. I'm having problems getting all of the text from the HTML file into
the TextArea, and I think it's because the LoadVars object is triggering onLoad
when the bytes of both the linked HTML images and the HTML text add up to the
total number of bytes from just the text. Therefore not all the text is loaded
into LoadVars when onLoad is triggered, and not all the text ends up in the
TextArea.

If anyone wants to see the project, it's
http://www.kriswallsmith.com/dshorter/text/styles.css.

Any ideas are welcome.
Re: LoadVar, TextArea, images, CSS ... lusalry
1/23/2005 10:19:15 PM
I've changed my approach and aligned the image to the right, with the text
wrapping around it.

I'm still having difficulties with the text not loading completely.

Actually, with a mouse scroll wheel and a PC computer, you can scroll all the
way down to the bottom of the text all the time, but sometimes the UIScrollBar
component that loads with the TextArea component doesn't let you go all the way
down to the bottom.

Am I going to have to hack the TextArea component to see what's going on?

And if you wondering - yes, I skinned the UIScrollBar.

http://www.kriswallsmith.com/dshorter/
AddThis Social Bookmark Button