To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash 8

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Old 09-17-2005, 03:29 PM   #1
doorman
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.
doorman is offline   Reply With Quote
Old 09-17-2005, 04:57 PM   #2
tonypa
Moderator
 
tonypa's Avatar
 
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.
tonypa is offline   Reply With Quote
Old 09-18-2005, 03:36 PM   #3
doorman
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
doorman is offline   Reply With Quote
Old 09-19-2005, 03:37 AM   #4
tonypa
Moderator
 
tonypa's Avatar
 
Join Date: Jul 2001
Location: Estonia
Posts: 8,105
I dont know if its in the documentation, simply tried it and it worked
tonypa is offline   Reply With Quote
Old 09-19-2005, 07:33 AM   #5
doorman
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 ?
doorman is offline   Reply With Quote
Old 09-19-2005, 09:18 AM   #6
tonypa
Moderator
 
tonypa's Avatar
 
Join Date: Jul 2001
Location: Estonia
Posts: 8,105
Yes, you are right, I didnt test it enough. Ignore my reply, it doesnt work
tonypa is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash 8

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:30 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.