Flash, Html tags are supported

sponsored links
Flash Html tags are supported in

<a> hyperlink tag
Attribute: href: link address target: target window desirable value of _blank, _parent, _self, _top.
Example:

my_txt.htmlText="<a href='http://www.blueidea.com' target='_self'> Domain hosting  </a>"


<b> bold tags <br /> example:

my_txt.htmlText="<b> Bold </b>"


<br> wrap label <br /> example:

my_txt.htmlText="Title of Articles <br>" 


<br /> <font> font tag attributes: color: font color, format, # RRGGBB.
face: fonts, can be a single font or font list.
size: Font size in pixels.
Example:

my_txt.htmlText="<font color='#ff0000' face='Arial' size='12'>This is a text</font>"


<i> italic tags <br /> Description:
Example:

my_txt.htmlText="<i> Italic </i>"


<br /> <li> list item tag Example:

my_txt.htmlText="Sports:<li>Football</li> <li>Boxing</li><li>Swimming</li>"

Note that the text box to select the "multi-line."

<p> paragraph marks <br /> attributes: align: on their way to value left, right, center.
class: applying a css style class.
Example:

my_txt.htmlText="<p align='right'>align right</p><p align='left'>align left</p>"

Note that the text box to select the "multi-line." This example assumes that the css class of title and the body already exists.

<span> tags <br /> Note: The label on all the text in the application of css styles only in the definition of the css object effectively.
Attribute: class: apply a css style class.
Example:

my_txt.htmlText="<span>this is a text confined by css</span>


Note that this example assumes that css class body already exists.

<u> Underline Tag <br /> example:

my_txt.htmlText="<u> Underline </u>


Two special tags:
<img> image tag <br /> Note: This feature tag is not just insert a picture in the text box, you can also insert the SWF and MovieClip.
Attributes: src: to load a JPG or SWF's URL, or the MC's link ID, this property is necessary, other attributes are optional.
Note: Flash does not support the progressive format of JPG.
id: specifies embedded JPG, SWF or MovieClip the name of the movie clip.
width: image / animation width.
height: image / animation height.
align: on its way to values: left, right, default is left.
hspace: Text around the maps in the horizontal direction and the image of the gap.
vspace: Text around the maps in the vertical direction and the image of the gap.

<textformat> text formatting tags <br /> Note: This tab allows you to direct application of some of the properties of TextFormat object to the text.
Attribute: blcokIndent: Paragraph indentation size, the unit pixel.
indent: indent the first line of the paragraph the size of the unit pixels.
leading: the text line spacing, unit pixels.
leftmargin: text left margin, units of pixels.
rightmargin: Text the right margin, unit pixels.
tabstops: Forms division, unit pixels.
Note: About Property tabstops: its value is an array of columns used to represent the division of the table.
Escape character in the text using \ t to the output location to the next tab stop.
Example:

tabField="<b>Name\tSex\tAge\t</b><br>";
  tabRecord1="Jinni\t20\tMale\t<br>";
  tabRecord2="Sucy\t21\tFemale\t<br>";
  txt="<textformat tabstops='[50,150,150]'>"+ tabField+tabRecord1+tabRecord2+"</textformat>"; 
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of Flash, Html tags are supported

  • Hibernate primary key strategy-sequence

    Today, the use of hibernate in the company encountered a troublesome problem, the use of hibernate when the primary key generation strategy set sequence, but always reported in the implementation could not get next sequence value of the error, then o ...

  • hibernate call stored procedure

    hibernate call stored procedure

  • hibernate using c3p0 connection pooling

    Private http://www.lifevv.com/tenyo/doc/20070605102040991.html c3p0 for open source's JDBC connection pool, with the release hibernate. This article describes how to use the hibernate configuration in c3p0. c3p0 connection pool configuration is v ...

  • Hibernate configuration parameters hibernate.hbm2ddl.auto

    Hibernate in the configuration file: <properties> <property name="hibernate.hbm2ddl.auto" value="create" /> </ properties> Parameter Description: validate load hibernate, the authentication to create a database t ...

  • Build flex + spring + blazeds + hibernate application

    Build flex + spring + blazeds + hibernate application First, set up the project blazeds 1, will blazeds.war extract to a directory, such as: myflex /; 2, set up java works were such as: MyFlex, in the orientation of selection create project from exis ...

  • Hibernate connection pool configuration

    Hibernate connection pool configuration <! - Jdbc -> <property name="connection.driver_class"> oracle.jdbc.driver.OracleDriver </ property> <property name="connection.url"> jdbc: oracle: thin: @ 10.203.14.132:15

  • hibernate generic generic DAO

    package org.lzpeng.dao; import java.io.Serializable; import java.util.List; import org.hibernate.Criteria; import org.hibernate.Query; import org.hibernate.criterion.Criterion; import org.springside.modules.orm.hibernate.Page; /** * * @version 2009-1-10 *

  • Struts2 + hibernate + spring problem user log in

    dao layer services layer action jsp <tr> <td align="center"> <b> user name: </ b> </ td> <td> <s: textfield name = "czyNumber" cssClass = "textstyle" theme = "simple" size = &q

  • Hibernate secondary cache

    Hibernate cache: 2-bit cache, also known as process-level cache or SessionFactory level cache, secondary cache can be shared by all of the session Cache configuration and the use of: Will echcache.xml (the document code in hibernate package directory ...

  • Hibernate's lazy strategy

    hibernate Lazy strategy can be used in: <class> tag, it can be true / false Tags can <PROPERTY> values true / false type of necessary tools to enhance <set> <list> can tag values true / false / extra <many-to-one> <on ...

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries