怎么用FLASH制作

来源:百度知道 编辑:UC知道 时间:2024/05/21 17:40:39
我会简单的用遮罩制作的图片切换效果。但不知怎么制作带按扭控制的图片切换效果,按扭是怎么加进去的,具体怎么做。效果请看:http://tool.alixixi.com/demo/93/93/

右边的是按扭,你在按扭里加入代码就可以了,
代码:on(rollOver){gotoAndPlay(1);}
意思是,当SHU标放到按扭上的时候,播放指定帧

http://www.like-flash.com/Tutorial/topic/text/8FCFF4BC83E9D6B6.html

去看看
有添加 按扭

<html>
<head>
<title></title>
<meta http-equiv="content-Type" content="text/html;charset=gb2312">
<script>
if(typeof sas=="undefined")var sas=new Object();
if(typeof sas.ued=="undefined")sas.ued=new Object();
if(typeof sas.ued.util=="undefined")sas.ued.util=new Object();
if(typeof sas.ued.FlashObjectUtil=="undefined")sas.ued.FlashObjectUtil=new Object();
sas.ued.FlashObject=function(swf,id,w,h,ver,c,useExpressInstall,quality,xiRedirectUrl,redirectUrl,detectKey)
{
if(!document.createElement||!document.getElementById