当前位置:软件学习 > Flash >>

3D Flash Animator教程:Html文本

  第三章 元素

  第四节 格式化文本 HTML

  Html是一种超文本语言,它被用于格式化文档和增加超级链接到其他文档。一个Html文档是由各种独立的开始和结束标签组成的。

  例如:<i>This sentence displays in italic.</i> ,每一组标签的结束标签都会有/表示结束的。

  在3D Flash Animator软件程序中,我们可以直接书写Html代码制作文本,和我们在网页里面写Html代码是一样的。

  现在我们来写一个Html文本:

  新建Flash Moive 文件,在Add an element菜单中选择“Formartted Text”,在弹出的属性对话框中我们书写Html代码:

  此时产生的文本效果如图所示:

  Html标签包括:

<a
href = "link to url"
target = "href target window">
</a>

<base
href = "base href url">
</base>


<b> bold </b>

<blockquote> indent a paragraph </blockquote>

<br> break to next line

<center> align everything to center </center>

<div
align = "center, left, right"
valign = "top, middle, bottom">
</div>

<font
<basefont
size = "0 to 12 preset sizes"
face = "font name"
charset =
"normal, symbol, arabic, baltic, chinese, easteuropean, greek, hebrew, japanese, johab, korean, russian, turkish, thai, vietnamese"
height = "4 to 48 point size"
color =
"#rrggbb or aqua, black ,blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, yellow">
</basefont>
</font>

<h0 to h5> bold heading preset sizes </hx>

<hr
width =
"width in pixels"
"width as percentage %">

<i>italic</i>

<img
src = "file name"
width = "width in pixels"
height = "height in pixels"
align = "right, top, middle, bottom"
hspace = "extra horizontal space in pixels"
vspace = "extra vertical space in pixels"
href = "hotlink to url"
target = "href target window">
</img>

<li - shows a bullet point for a list item
src = "file name of bullet point bitmap">

<p> break to next paragraph

<samp> sample code shows HTML tags </samp>

<spacer
width = "horizontal space in pixels"
height = "vertical space in pixels">

<table - starts a new table
width =
"table width in pixels"
"table width as percentage %"
cellspacing = "space around table"
cellpadding = "space around each cell">

<tr> starts a new row in current table

<td - starts a new cell in current row
align = "center, left, right"
valign = "top, middle, bottom"
width =
"table width in pixels"
"table width as percentage %"
"exact - exact width of contents"
height = "height in pixels"
colspan = "number of columns to span"
rowspan = "number of rows to span">

<tt> renders text in a fixed width font </tt>

<u> underline </u>

<ul>
unordered list
indents text before
use
<li> before each item of the list
</ul>



上一个:3D Flash Animator教程:按钮
下一个:3D Flash Animator教程:简单文字效果

更多Flash疑问解答:
今天教大家学会用U5制作成翻页相册
Flash MX 2004 ActionScript图文教程(九)
Flash MX 2004 ActionScript图文教程(八)
Flash MX 2004 ActionScript图文教程(七)
Flash MX 视频导入功能详解
Flash5 画任意直线教程
FLASH -- 关于变量的问题FLASH -- 关于变量的问题
Flash本地加密
flash场景之间相互跳转的实现方法
Flash那样动感十足制作PPT按钮跟我来
Flash Mx使用技巧十二则
使用Flash mx制作旋转的时钟效果
PowerPoint中插入Flash动画的方法
用FlashMX制作拖动悬浮窗口
在Flash中巧妙替换字体
Dreamweaver
Fireworks
FrontPage
Flash
Photoshop
Coreldraw
Excel
Word
Powerpoint
outlook
wps
AfterEffects
3D MAX
Director
Authorware
PremierePro
Foxmail
Maya
ISA
会声会影
其它软件
AutoCAD
如果你遇到软件学习难题:
请访问www.zzzyk.com 试试
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,