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

flash actionscript

group:

HTML textfield with image


HTML textfield with image Dennis, I Sioux
5/27/2005 12:00:00 AM
flash actionscript: i was wondering if there is a option to prevent text from appearing next to a
image in the textfield that loads the html..

one option tried was using BR .. but if you scale the movie(and that's
needed).. the font size is reduced.. so text still come next to the image..

and if i use hspace the text moves aside.. although if i make the hspace
bigger then is left next to the image.. the text will render outside of the
textfield(not visible) .. and the image will even move to the right acoording
to the extra hspace i fill in..

any clue?

Many thanx!

Dennis
I Sioux
Re: HTML textfield with image .:}x-=V!P=-x{:.
5/27/2005 12:00:00 AM
non breaking spaces might work :
  = 1 space
   = 2spaces
ect.
Re: HTML textfield with image billwatson
5/27/2005 12:00:00 AM
you might want to go to

www.flashcomponents.net

Re: HTML textfield with image Dennis, I Sioux
5/30/2005 10:02:02 AM
no luck yet.. thanx anyway though..

Re: HTML textfield with image Dennis, I Sioux
6/1/2005 12:00:00 AM
you probably had autoSize on.. if i test it with the width tag in the img tag
in the html.. the textfield isn't rescaled... it's funny to see that the text
won't be wrapped around it to the next line though.. but fit next to the
image(out of the textfield render) ....

i guess one solution for rendering text under the image is to make all the
images as wide as the textfield.. and give it the same bg color as the
textfield..
but that would be kind off a lame ducktape fix..:S
Re: HTML textfield with image Dennis, I Sioux
6/1/2005 9:21:49 AM
Re: HTML textfield with image Pat D.
6/1/2005 12:08:48 PM
No help but I tried to get multiple graphics to line up side by side and
appeared to stack them with some tiny offset. I managed to get some text to
display under the graphics but not very close to the graphics. I used the
simple <br>. It acted like I needed to place the graphic in the htmlText field
then position it somehow. I was looking suspiciously at the ID field for that
but gave up the whole idea. I think some of this stuff isn't quite ready for
prime time.
Re: HTML textfield with image Dennis, I Sioux
6/1/2005 12:19:01 PM
Hey Pat D,

thanx for the fast reaction:)
yeah .. the use of BR seems to be the only way..
only when you have to have a scalable movie.. the font size will get smaller
when you scale down the movie.. and text get's next to the image again..

i must agree that it is still in the baby steps..

thanx anyway..:)

Anyone else?
Re: HTML textfield with image Pat D.
6/1/2005 1:39:55 PM
Yeah, I was trying to scale my graphics using the width and height attributes
of the <img> tag but that really didn't work for me. I didn't know at first
that the entire clip was being scaled to fit. I never quite figured out where
to disable that; just took advantage of it.
AddThis Social Bookmark Button