一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

flash loadMovie 实例教程

时间:2009-03-21 编辑:简简单单 来源:一聚教程网

line.onEnterFrame = function ()
{
    if (this._currentframe != this._totalframes)
    {
        this.nextFrame();
    }
    else
    {
        container.loadMovie("zhuomianxiazai.swf");
        this.btn1.onRelease = function ()
        {
            container_2.loadMovie("team.swf");
   container.unloadMovie();
        };
        this.btn1.onRollOver = function ()
        {
            this.gotoAndPlay(2);
        };
        this.btn1.onRollOut = function ()
        {
            this.gotoAndPlay(1);
        };
        this.btn2.onRelease = function ()
        {
            container.loadMovie("yuyuekongjian.swf");
   container_2.unloadMovie();
        };
        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
};

热门栏目