|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Oct 2002
Posts: 126
|
Flash 8 with improved html formatted textfield.
Hello,
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. 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. Last edited by doorman; 09-17-2005 at 03:33 PM. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jul 2001
Location: Estonia
Posts: 8,105
|
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. |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Oct 2002
Posts: 126
|
Really !!!
thanks alot for the hint. How did you figure this out ? Is it in the documentation ? Now I´m back on the road
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Jul 2001
Location: Estonia
Posts: 8,105
|
I dont know if its in the documentation, simply tried it and it worked
|
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Oct 2002
Posts: 126
|
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 ?
|
|
|
|
|
|
#6 |
|
Moderator
Join Date: Jul 2001
Location: Estonia
Posts: 8,105
|
Yes, you are right, I didnt test it enough. Ignore my reply, it doesnt work
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|