;

PDA

Click to See Complete Forum and Search --> : Flash 8 with improved html formatted textfield.


doorman
09-17-2005, 03:29 PM
Hello,

:thumbsup:
itīs fantastic that Flash 8 html formatted textfield now embeddes not only non-progressive jpg format but also png, gif and progressive jpg formats and of course swf file format.

When displaying images and text within a html formatted textfield in Flash 7 it was necessary to specify the width and the height of the image because, while the image was loading, the text was already inside the textfield. When the image was fully loaded it appeared on top of the text.
In Flash 8 there is no need to specify the width and the height of the image because after the textfield loads the image, the text is rearranged according to the image that has been loaded. These are very good improvements.

:thumbsdow
However I wish they had fixed the "bug" when displaying two images side by side which is very handy when displaying thumbnails forexample. Instead of being displayed side by side they appear on top of each other.

I also want to mention that the text floats around the images inside the textfield and itīs unfortunately not optional if you simple want to display a picture with a text below the image. You might use multiple break tags to push the text below the image but if you are dynamatically loading images you would need to make a script to calculate how many break tags to use.

tonypa
09-17-2005, 04:57 PM
You can easily display text below image without it floating around it. Just use
<br clear="all"> after the image.

Like this:

<img align='right' height='50' width='50' src='sample.jpg'><br clear="all">

No floating.

doorman
09-18-2005, 03:36 PM
Really !!! :) thanks alot for the hint. How did you figure this out ? Is it in the documentation ? Now Iīm back on the road :cool:

tonypa
09-19-2005, 03:37 AM
I dont know if its in the documentation, simply tried it and it worked :)

doorman
09-19-2005, 07:33 AM
Hi Tonypa , I am trying to make the <br clear="all"> tag work but unfortunately itīs not working. I used exactly this line <img align='right' height='50' width='50' src='sample.jpg'><br clear="all"> like you suggested and the image appear but the text is still floating around it. Are we talking about the same thing ? Iīm referring to html formatted textfield in Flash 8 are you too ?

tonypa
09-19-2005, 09:18 AM
Yes, you are right, I didnt test it enough. Ignore my reply, it doesnt work :(