• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

How to embed html (weblinks) in Spark TextArea?!

Guest
May 02, 2011 May 02, 2011

Copy link to clipboard

Copied

Hi everybody,

We want to put html-code (especially links) into our TextArea. We were looking for some examples, but in no example the links were working. So user couldn t click at the link to enter a new page. Anybody any suggestions or a good tutorial?

Even the example at the adobe page isn't working: (we tried firefox and safari on windows and os x)

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/TextArea.html?al...

(at the bottom)

Thanks,

K

Views

5.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 02, 2011 May 02, 2011

Copy link to clipboard

Copied

We fixed the problem in our case. Our mistake was, that we did set the attribute selectable to false instead of editable. Afterwards it worked perfect for us.

Spark Text Area:

<s:TextArea id="content" editable="false"/>

Import Text:

content.textFlow = TextFlowUtil.importFromString( yourHtmlText:String );

In mx.controls it works like that:

<mx1:TextArea id="myTextArea" />

Import Text:

myTextArea.htmlText = yourHtmlText:String;

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 09, 2018 Jul 09, 2018

Copy link to clipboard

Copied

LATEST

I also need to link in spark but it seems there is no way

im trying to link here propertyfinancepartners.com

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines