wierd...how do you suppose they did it here then?:

http://www.mambers.com/chat/preloader.swf

i thought about picking the string apart and piecign together some new
movieclips/text fields to display the content, but that would get crazy when
the text spans multiple lines.  the link above handles it pretty well
though.



On 9/8/06, Marcelo Volmaro <[EMAIL PROTECTED]> wrote:

You can´t do that because flash doesn´t support images as in-line
elements, only as block elements.

On Fri, 08 Sep 2006 17:30:43 -0300, Rich Rodecker <[EMAIL PROTECTED]>
wrote:

> thanks...its not the text thats going to the next line though...the text
> is
> all appearing on one line, but the image is appearing on the next.
>
> so for instance when the image is supposed to be in the middle of the
> line
> of text:
>
> hey there <img src="http://www.thewhole9.com/chat/smilies/smile.jpg";
> width="19" height="19" VSPACE="0" HSPACE="0" /> hows it going?
>
> is turning into this (visually anyway, the html is still correct in the
> textarea):
> hey there hows it going?
> <img src="http://www.thewhole9.com/chat/smilies/smile.jpg"; width="19"
> height="19" VSPACE="0" HSPACE="0" />
>
> does that make sense?  thee image is appearing on the next line, after
> the
> line of text when it should be right in the middle.
>
> On 9/8/06, Lori Hutchek <[EMAIL PROTECTED]> wrote:
>>
>> Check that you are setting this VSPACE="0" HSPACE="0" it's the vertical
>> and horizontal space around the image which may be pushing the text to
>> next line
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Rich
>> Rodecker
>> Sent: Friday, September 08, 2006 12:55 PM
>> To: Flashcoders mailing list
>> Subject: [Flashcoders] Re: inline images in a textarea
>>
>> hmmm..anyone?  i know i've seen it done a couple of times, but I'm
>> pretty
>> stuck.
>>
>>
>>
>> On 9/7/06, Rich Rodecker <[EMAIL PROTECTED]> wrote:
>> >
>> > ok, i know working with images in a text area is only going to lead
me
>> to
>> > heartache, but I've seen this done and if anyone can point me in the
>> right
>> > direction that would be awesome.
>> >
>> > I have a chat app that im building with support for emoticons.
>> everyhting
>> > works great except the smiley image always appears on the next line
>> after
>> > the text, so I wind up with something like:
>> >
>> > here is my smiley
>> > :)
>> >
>> > when i really want:
>> >
>> > here is :) my smiley
>> >
>> > The one quirk i can see that might cause some wierdness is that i am
>> > setting the contents of the textarea using the .text property, though
>> the
>> > textarea is set to html = true and everything renders out ok.  I dont
>> want
>> > to use .htmlText because I'm letting the user choose any font, and
>> htmlText
>> > wont seem to render without the text embedded.
>> >
>> >
>> >
>> _______________________________________________
>> [email protected]
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>> _______________________________________________
>> [email protected]
>> To change your subscription options or search the archive:
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>> Brought to you by Fig Leaf Software
>> Premier Authorized Adobe Consulting and Training
>> http://www.figleaf.com
>> http://training.figleaf.com
>>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com



--
_____________
Marcelo Volmaro
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to