English 中文(简体)
如何使用flex-htmlfilter?
原标题:How to use flex-htmlfilter?

I can t seem to find any sort of documentation about usage of flex-htmlfilter? Can anyone be kind enough to give me a few sample usage of it? Like, how do I use HTML codes from external pages? E.g. I want to pull the content of the flex-htmlfilter from an external php file.

问题回答

我不敢肯定,到现在,你会找到答案,但下面的法典对我工作:

import com.htmlFilter.htmlFilter;
private var theHtmlFilter:htmlFilter = new htmlFilter();      

[Bindable]
private var theText:String = theHtmlFilter.filterContent("<p>nothing
important</p><ol><li>item</li><li>item</li><li>item</li></ol>");

• 确保你具备软体-html过滤器。 swc in You libs /build path, 然后进口习俗 html 案文部分和案文财产归“Text” 您可以将相容的html代码从您的实验室中抽取,并利用这一技术对其进行过滤。

xmlns:custom="com.htmlFilter.*"

<custom:htmlText id="customText"
    bottom="0"
    verticalScrollPolicy="off"
    text="{theText}"
    cssFile="styles.css"
    width="100%"/>




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签