最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
flash as 2.0调用外部movie 实现代码
时间:2009-03-18 编辑:简简单单 来源:一聚教程网
line.onEnterFrame = function ()
{
if (this._currentframe != this._totalframes)
{
this.nextFrame();
}
else
{
container.loadMovie("team.swf");
this.btn1.onRelease = function ()
{
container.loadMovie("team.swf");
};
this.btn1.onRollOver = function ()
{
this.gotoAndPlay(2);
};
this.btn1.onRollOut = function ()
{
this.gotoAndPlay(1);
};
this.btn2.onRelease = function ()
{
container.loadMovie("yuyuekongjian.swf");
};
this.btn2.onRollOver = function ()
{
this.gotoAndPlay(2);
};
this.btn2.onRollOut = function ()
{
this.gotoAndPlay(1);
};
btn_close.onRelease = function ()
{
container.removeMovieClip();
};
delete this.onEnterFrame;
} // end else if
};
-
上一个: flash 2.0 解析xml文件代码
-
下一个: flash安全策略解决方案
相关文章
- chrome flash过期怎么办 07-13
- FLASH制作春意盎然花园效果 06-18
- flash如何画绿色的小草 05-22
- 利用flash制作出太阳发光的动画 05-18
- flash太阳发光的动画怎么制作 05-16
- flash怎么画绿色的小草 05-15