首页 | 互联网 | IT动态 | IT培训 | Cisco | Windows | Linux | Java | .Net | Oracle | 软件测试 | C/C++ | 嵌入式开发 | 存储世界 | 服务器
网络设备 | IDC | 安全 | 求职招聘 | 数字网校 | 网页设计 | 平面设计 | 技术专题 | 电子书下载 | 教学视频 | 源码下载 | 搜索 | 博客 | 论坛
 Dreamweaver | Flash
 Fireworks  | Frontpage
 HTML/CSS  | Javascript
 Photoshop  | CorelDraw
 AuotoCAD   | Illustrator
 Freehand
 3DMax    | Authorware
 Director   | Maya
 PP点点通 | 迅雷 | BT
 eMule | FlashGet | Nero
 Ghost | Outlook | IE
 Maxthon | Office
 QQ | MSN | 网易泡泡
 Skype | 雅虎通 | 新浪UC

最新文章

您现在的位置: 中国IT实验室 >> 多媒体 >> Director学习教程 >> 正文

Director教程-AVI播放器制作


ChinaItLab  2006-8-10 佚名  保存本文   推荐给好友  收藏本站


◆ 网页平面多媒体培训、认证考试免费咨询热线:400-700-5807   进入网络咨询平台

(12) 选中舞台上的精灵6,打开Script窗口为其添加以下的Lingo语句,如图7-156所示。

on mouseUp me

  set the movierate of sprite 1 to 2

  set the castnum of sprite 2 to member("lau")

  set the castnum of sprite 3 to member("lu")

  set the castnum of sprite 4 to member("playu")

  set the castnum of sprite 5 to member("stopu")

  set the castnum of sprite 6 to member("rd")

  set the castnum of sprite 7 to member("rau")

  updatestage

end

7-156  精灵6Lingo脚本

(13) 选中舞台上的精灵7,打开Script窗口为其添加以下的Lingo语句,如图7-157所示。

on mouseUp me

  if (the castnum of sprite 5 = 12) then

    set the movierate of sprite 1 to 0

    set the castnum of sprite 5 = member("stopd")

    updatestage

  end if

end

7-157  精灵7Lingo脚本

(14) 至此,AVI播放器动画的制作完成了,播放电影,效果如图7-158所示。

7-158  AVI播放器播放效果

上一页  [1] [2] [3] [4] 

【责编:runlz】


 相关文章  推荐文章
AfterEffects制作流光溢彩新年字幕
Painter手绘精美水彩荷花
灯光照明效果的Vray教程
三维设计专用技术名词解释
DIRECTOR去背技法步步高
使Director创作过程自动化
幻影动画特效制作
Director8新手上路--绘图工具
Director8新手上路--快速入门
Director中飞行动画特效制作
 文章评论