首 页  文章中心    下载中心    视频课例     本站论坛     教案试题                                                  
课改专题 教学论文 教学研究 优秀教案 说课评课 课件教程
设为首页 加入收藏
中小语文
中小数学
中小英语
中小音乐
中小体育
中小美术
信息技术
科学思品
中学各科
综合其他
原创专题
您当前的位置:课件资源网 -> 课件教程 -> flash专题 -> 文章内容 退出登录 用户管理
栏目导航
· flash专题 · Powerpoint专题
· Authorware专题 · office专题
· 其它专题
热门文章
· 剑桥少儿英语教案
· 七年级上册语文教案..
· 2006年中考语文标准..
· 四年级语文教学工作..
· [注意] 下载课件的朋..
· 小学信息技术说课稿..
· 剑桥少儿英语教案2
· 人教版三年级下册《..
· 体育理论课教案2
· 初中八年级教案集
相关文章
· 如何指导学生突破FL..
· [图文] 在PowerPoint..
· 信息技术教案:《FLA..
· 其他教案-FLASH5简..
· flash入门
· [组图] Flash MX Pro..
· [图文] FLASH特效—有..
· Flash MX 2004新功能..
· [组图] 创建FLASH 塑..
· [组图] FlashMX2004分..
Flash MX 2004新特性实例(6)
作者:佚名  来源:不详  发布时间:2006-5-18 8:51:30  发布人:wuqing

减小字体 增大字体

实例六、Text Enhancements

  一、涉及特性

  在实例中,主要涉及在 MX 2004中引用和显示外部的css文件和html文件。这些都是在Flash target=_blank>Flash MX 2004中才有的新特性,应用也非常方便。本实例在Flash target=_blank>Flash MX 2004中的操作非常简单,不过这正从侧面反映了它的功能强大。

  二、制作过程

  1、建立一个文件,命名为sample.css。其内容如下:   

  headline {

   font-family: Arial,Helvetica,sans-serif;

   font-size: 16px;

   font-weight: bold;

   display: block;

  }

  subheadline {

   font-family: Arial,Helvetica,sans-serif;

   font-size: 13px;

   font-weight: bold;

   display: block;

  }

  mainBody {

   font-family: Arial,Helvetica,sans-serif;

   font-size: 10px;

   display: block;

  }

  biline {

   font-family: Arial,Helvetica,sans-serif;

   font-size: 11px;

   font-style: italic;

   display: inline;

  }

  A {

   font-family: Arial,Helvetica,sans-serif;

   color:cccccc;

   font-size: 10px;

   display: inline;

   text-decoration:underline;

  }

  上面的css文件中,中括号里面的是对应的属性。比如font-family是字符集,font-size是字体大小,display是字体的显示方式,等等。只要有简单的网页制作知识就应该可以看懂的。

  2、新建一个文件,命名为sample.html,其内容如下:   

   Giant Sea Lion Spotted

   Citizens scared, amazed   

  Today - Our City A giant sea lion was spotted today rampaging around the city's main square, scaring thousands of innocent people just out for a daily stroll in the beautiful downtown district.

  No injuries were reported after the animal's two-hour assault of the shopping district famous for it's sea lion purses and shoes, also known as the "sea lion district". Witnesses said the creature came out of the ocean near the Burger King at 42nd and 1st Avenue, startling many and stalling traffic.

  "The animal caused nearly four million dollars of damage to the neighborhood," said Joseph Valente, owner of "Sea Lions R' Us" at 43rd and 2nd. Onlookers to the scene said that the sea lion appeared ornery, but otherwise in good spirits.

    

本新闻共2页,当前在第1页  1  10_43_54_806_2.htm">2  


[ ] [返回上一页] [打 印] [收 藏]  
关于本站网站帮助广告合作下载声明友情连接网站地图┋  互联网违法和不良信息举报中心TOP
  业务/咨询/投诉 点击这里给我发消息
  渝ICP备05010292号 >>> 课件资源网-为您提供更多资源 >>>