毕业设计网
开发环境 |

给flash加链接的几种方法

 

(1)在按钮的事件处理函数里加,如:
on (release) {
getURL("http://", "_blank");
}
(2)在影片剪辑的事件处理函数里加,如:
onClipEvent (mouseDown) {
getURL("http://", "_blank");
}
(3)在帧上加,直接在帧上输入代码,如:
getURL("http://", "_blank");
(4)在静态文本或动态文本上加。选中文本框,在属性面板的最下一行里有相关的输入链接网址的地方,直接输入代码即可,如:
getURL("http://", "_blank");

(5)在html中,使用button标签
<button style="width:400;height:400;background:transparent;border:0;padding:0;cursor:hand" onclick="window.location.href='http://www.fs526.com/'"><!-- IWMS_AD_BEGIN-->

<!-- IWMS_AD_END-->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 " width="100%" height="100%">
<param name="movie" value="ant.swf">
<param name="quality" value="high">
<embed src="ant.swf" width="100%" height="60" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer " type="application/x-shockwave-flash"  align="middle">
</embed>
</object>
 

以上是一部分介绍,如需要完整的资料或者如不符合您的要求,请联系技术人员qq:242219979咨询

上一篇:网页背景图片固定在一个位置不重复代码
下一篇:超级REALplay视频播放器


版权所有 毕业设计网联系qq:242219979 © 2007-2022