Flash, Html tags are supported

Flash Html tags are supported in

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

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.

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

<i> italic tags <br /> Description:

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.

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.

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.

  txt="<textformat tabstops='[50,150,150]'>"+ tabField+tabRecord1+tabRecord2+"</textformat>";
分类:Flash 时间:2010-06-24 人气:179
blog comments powered by Disqus


  • The default CSS styles HTML tag summary 2010-07-14

    In the html, even if we do not specify the page element to show the css style elements will be in accordance with the standard default css style to the show. Therefore, a grasp of basic html tags to a certain extent, to streamline your css code, html

  • JS code examples: of random load different CSS styles 2010-04-19

    JS random loading CSS styles to achieve good results in fact, this code is as follows, the specific idea is to use a default CSS style: default.css. Other then the name of three other CSS: skin1.css, skin2.css, skin3.css. Of course you can use more o

  • According to IE version of the CSS styles of different calls in different files 2010-05-24

    Zai webjx.com article does not advocate such an approach, but still there are many CSSer Will used that the information stored here in case about access, please note, not a last resort, do not use this approach. <!--[if lte IE 6]> <LINK rel="

  • Production of a variety of links to CSS styles 2010-10-15

    Making a variety of links to very simple style, see the following method for creating multiple instances of link styles, you will understand how to make a variety of links with CSS styles of the <html> <head> <title> CSS style produced a

  • as3 design patterns and css styles 2010-05-06

    as3 design patterns and css styles

  • Click to display multiple rows of different CSS styles 2010-12-07

    Tr in the Table, or add the following method: onmouseover = "MouseOver ()", these methods can be achieved with CSS style changes, the specific js as follows: <script type="text/javascript"> var highlightcolor='#E0F2FE'; var click

  • Sina blog CSS styles 2010-12-10

    Today, write down, in the analysis have the opportunity to learn the benefits of style sheets to write and inadequate. @charset "utf-8"; /* Text color */ /* Basic is the text color ( Notes default color body text ) */ body{ color:#323e32;} /* Wo

  • CSS styles and a number of common solutions 2011-05-31

    html, body, div, p, ul, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, form, input, select, button, textarea, iframe, table, th, td {margin: 0; padding: 0;} / / we should all understand these styles so that the selector is to own the original addition remov

  • css教程 css和document 2014-06-07

    页面与css之间的联系,老手和新手都需要了解 Cascading Style Sheets: The Definitive Guide, 2nd Edition is a thorough review of all aspects of CSS2.1 and a comprehensive guide to CSS implementation. The book includes new content on positioning, lists and generated content,

  • Lesson03_01 什么是CSS和CSS的设置方式 2014-10-02

    第3讲 CSS 何为CSS CSS的几种设置方式 样式规则选择器 样式规则的注释与有效范围 样式属性详解 什么是CSS和CSS的设置方式 作者:Loncer 更多学习资源尽在:wwww.loncer.cn 什么是CSS CSS即:Cascading Style Sheets这几个英文单词的缩写,中文为:层叠样式表.它除了可以轻松设置网页元素的显示位置和格式外,还能产生滤镜,图像淡化,网页淡入淡出的渐变效果.简而言之.CSS就是要对网页的显示效果实现与Word一样的排版控制. 例如下的代码: <b

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.220 (s). 12 q(s)