Hi EKA,

Too easy. For this application I'm using the v2 text area component.
"condenseWhite" is not listed as a property. I realized that the text
area component doesn't inherit properties from the flash text field.

myTextArea.label.condenseWhite=true works fine though. Thanks for the
tip!

It's a bit strange that the default value for this property changes
depending on the version of the swf file.

Cheers

Robin



 where I should have looked up the text filed properties. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of eka
Sent: Wednesday, 30 August 2006 1:43 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] HTML formated text in Flash 8 SWF

Hello :)

try to use TextField.condenseWhite property :)

http://livedocs.macromedia.com/flashlite/2/main/00000816.html

EKA + :)


2006/8/29, Robin Burrer <[EMAIL PROTECTED]>:
>
> Hi all,
>
> This is wired. It seems html text in a flash 7 swf behaves differently
> than html text in a flash 8 swf.
>
> var myText ="<p><b>Headline</b></p>                      <p>Some
> text</p>";
> this.myTextField.html = true;
> this.myTextField.htmlText = myText;
>
> the swf 7 text filed displays:
> HeadlineSome text // the whitespace between the p tags is ignored.
>
> the  swf 8 text filed displays:
> Headline                             Some text
>
>
> Note that I use the flash 8 player to view both swf files.
>
> I have a few xml documents which have a lot of html formatted text in
an
> CD-DATA tag. Getting rid of the whitespace between the html tags would
> be a bit of a nightmare + the XML document would not be
> readable/editable anymore. Any ideas how to get around this problem?
>
>
> Cheers
>
>
> Robin
> _______________________________________________
> [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

Reply via email to