Questions tagged [htmltext]

103 questions
0
votes
1 answer

Flash is ignoring my most of my tags in a HTML TextField

I've been trying to figure out for a while now. I usually manage to make my textFields work properly, but this is just driving me nuts. I have this TextField that I inject HTML formatted text (contained in a XML file). For some reason, almost all my…
gCardinal
  • 632
  • 2
  • 9
  • 27
0
votes
1 answer

Eliminate extra space between paragraphs when importing XML

Using the following code, I push data from an xml file into a classic dynamic text box that is configured to render text as html. For some reason there is an obscene amount of white space between paragraphs. I am not sure why it is there since I…
fishpen0
  • 619
  • 1
  • 10
  • 23
0
votes
1 answer

In Flash CS5, htmlText seems to work differently for textfields I create dynamically (works fine), vs ones I draw with the IDE (doesn't work). Why?

[I just worked this out - I needed to set 'use device fonts'.] When I initialise a textbox with the following code: var tf2:TextField = createCustomTextField(10, 50, 400, 22); tf2.htmlText = 'Lorem ipsum'; function…
Greg Pallis
  • 247
  • 2
  • 10
0
votes
1 answer

Remove text within certain identifiers from html string in AS3

For a project, I'm trying import htmlText into flash, and then remove any items flash will not process. For example, the html I want to import contains custom "[caption][/caption]" code. I essentially want to remove these identifiers and any text…
Ghost9
  • 249
  • 3
  • 7
  • 15
0
votes
2 answers

actionscript htmltext. removing a table tag from dynamic html text

AS 3.0 / Flash I am consuming XML which I have no control over. the XML has HTML in it which i am styling and displaying in a HTML text field. I want to remove all the html except the links. Strip all HTML tags except links is not working for…
Cole Peterson
  • 184
  • 2
  • 2
  • 12
0
votes
1 answer

html taglib struts

Good afternoon in my timezone. I have a few little doubts regarding the use of this tag library and the actionForm. I want to put a inputText in my page , but this input text will be read only.So i did not put any thing in the actionForm object…
tt0686
  • 1,771
  • 6
  • 31
  • 60
0
votes
2 answers

Flex. Images aligning in htmlText

I set htmlText property of a TextArea to the following value: Some text
Some text The top edge of "Some text" is aligned to the top edge of the corresponging image. How to align it by bottom edges (the…
alexey
  • 8,360
  • 14
  • 70
  • 102
0
votes
1 answer

How to make a button(input) work for only one textbox in html?

In the code below all submit and reset buttons works for all textboxes, however I want it to make it so that every button applies to the textbox one above it. I want one button to work for only one textbox.
0
votes
0 answers

How to display html content with JPG and GIF images in it in TextView in RecyclerView?

I have RecyclerView with simple items. But I need to display html formatted text in TextView. But this html can contain tags, and I need to display that images in TextView (if there are GIF files - I need to show them animated). Sample input…
yozhik
  • 4,644
  • 14
  • 65
  • 98
0
votes
1 answer

Silverstripe HTMLText field gives me non-rich text

im beginner at silverstripe and I dont know how to fix that issue. Couldn't find anything in the docs as well. I have added HTMLText Field (that tinymce editor) and everything seems to work OK. Data is saved and served on the web but the data is not…
0
votes
5 answers

How to tap to copy html text in flutter app

My developer is building an educational app for me and we kind of have a problem. I want to know how to tap a word or phrase on the screen to show copy, highlight, web search like the image below. The app was built with flutter and the code is in…
Mr Man
  • 67
  • 1
  • 8
0
votes
1 answer

Flex does not handle line breaks in htmlText

I store the htmlText property of a RichTextEditor in the database. I retrieve it in another instance and I want to show the user the first line of it as plain text So I let Flex handle the conversion by using a function like this var…
Ranhiru Jude Cooray
  • 19,542
  • 20
  • 83
  • 128
0
votes
1 answer

AIR: url navigation via link in htmlText

I have AIR application and mx:Label with htmlText property (Navigate to Adobe.com.). For some reason nothing happens when I click it. It works in not-AIR application, but does not in AIR one. Any suggestions?…
Timofei Davydik
  • 7,244
  • 7
  • 33
  • 59
0
votes
2 answers

Flash as3: Multiline htmlText scrolls on drag selection of text

Multiline htmlText scrolls on drag selection of text It also scroll on mouse wheel event.. var css:StyleSheet = new StyleSheet(); css.parseCSS('.red-text{font-family:"Lucida Grande";color:#ED1C24;font-size:10;font weight:bold;leading:-8;}'); …
Nilesh Ukey
  • 5,488
  • 3
  • 20
  • 22
0
votes
3 answers

AS3 htmlText is showing tags

I have a textfield created with AS3 as thus: (theDesc is a parameter passed through a function) var productDescTxt:TextField = new TextField(); productDescTxt.htmlText = theDesc; productDescTxt.multiline = true; productDescTxt.wordWrap =…
rson
  • 1,455
  • 2
  • 24
  • 43