账号通
    

账号  

密码  

119649

查看

224

回复
主题:[推荐]超漂亮&实用的flash便民工具 [收藏主题] 转到:  
aqer 当前离线

11

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:231 分
登录次数:6 次
注册时间:2007/2/2
最后登录:2007/3/2
aqer 发表于:2007/2/3 13:18:00   | 显示全部帖子 查看该作者主题 楼主 
 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
aqer 当前离线

11

主题

0

广播

0

粉丝
添加关注
级别:学前班

用户积分:231 分
登录次数:6 次
注册时间:2007/2/2
最后登录:2007/3/2
aqer 发表于:2007/2/3 13:28:00   | 显示全部帖子 查看该作者主题 沙发 
科汛智能建站系统

//*****Main Moive

// Action script...

// [Action in Frame 1]
function hideBtn()
{
    for (i = 1; i < 7; i++)
    {
        ico_mc["btn" + i + "_btn"].enabled = false;
    } // end of for
} // End of the function
function showBtn()
{
    for (i = 1; i < 7; i++)
    {
        ico_mc["btn" + i + "_btn"].enabled = true;
    } // end of for
} // End of the function
System.security.allowDomain("www.renren.com", "www.mop.com", "www.dudu.com", "interface.renren.com");
Stage.showMenu = false;
Stage.scaleMode = "noScale";
stop();
var swfs = "http://www.renren.com/user/flash/swfs/";
local_data = SharedObject.getLocal("flashID");
if (local_data.data.myflash != undefined)
{
    hideBtn();
    if (local_data.data.myflash == "weather")
    {
        this.createEmptyMovieClip("weather_mc", 2);
        _root.weather_mc.loadMovie(swfs + local_data.data.myflash + ".swf");
    }
    else if (local_data.data.myflash == "worldtime")
    {
        this.createEmptyMovieClip("time_mc", 2);
        time_mc._lockroot = true;
        _root.time_mc.loadMovie(swfs + local_data.data.myflash + ".swf");
    }
    else if (local_data.data.myflash == "calendar")
    {
        this.createEmptyMovieClip("cla_mc", 2);
        _root.cla_mc.loadMovie(swfs + local_data.data.myflash + ".swf");
    }
    else if (local_data.data.myflash == "calculator")
    {
        this.createEmptyMovieClip("cal_mc", 2);
        _root.cal_mc.loadMovie(swfs + local_data.data.myflash + ".swf");
    }
    else if (local_data.data.myflash == "astro")
    {
        this.createEmptyMovieClip("as_mc", 2);
        as_mc._lockroot = true;
        _root.as_mc.loadMovie(swfs + local_data.data.myflash + ".swf");
    }
    else if (local_data.data.myflash == "tv")
    {
        this.createEmptyMovieClip("wtv_mc", 2);
        wtv_mc._lockroot = true;
        _root.wtv_mc.loadMovie(swfs + local_data.data.myflash + ".swf");
    } // end if
} // end if
this.createEmptyMovieClip("menumask_mc", 11);
with (menumask_mc)
{
    _x = 10;
    _y = 17;
    beginFill(0, 100);
    moveTo(0, 0);
    lineTo(275, 0);
    lineTo(275, 85);
    lineTo(0, 85);
    lineTo(0, 0);
    endFill();
} // End of with
ico_mc.setMask("menumask_mc");
right_btn._visible = false;
arrow_right_mc._visible = false;
left_btn.onRollOver = function ()
{
    dis = ico_mc._width - menumask_mc._width;
    ico_mc.onEnterFrame = function ()
    {
        this._x = this._x - (this._x + dis * 1.200000) * 0.400000;
        if (ico_mc._x < -20)
        {
            left_btn._visible = false;
            arrow_left_mc._visible = false;
            right_btn._visible = true;
            arrow_right_mc._visible = true;
        } // end if
    };
};
right_btn.onRollOver = function ()
{
    dis = ico_mc._width - menumask_mc._width;
    ico_mc.onEnterFrame = function ()
    {
        this._x = this._x - (this._x - dis * 1.200000) * 0.400000;
        if (ico_mc._x > 28)
        {
            left_btn._visible = true;
            arrow_left_mc._visible = true;
            right_btn._visible = false;
            arrow_right_mc._visible = false;
        } // end if
    };
};

//*****botton 1

// Action script...

on (release)
{
    _parent.createEmptyMovieClip("weather_mc", 2);
    _parent.weather_mc.loadMovie(_parent.swfs + "weather.swf");
    _parent.hideBtn();
    天气_mc.gotoAndStop(1);
    _parent.mask_mc.gotoAndPlay(6);
    local_data = SharedObject.getLocal("flashID");
    local_data.data.myflash = "weather";
    local_data.flush();
}

on (rollOver, dragOver)
{
    天气_mc.gotoAndPlay(2);
    cir_mc.onEnterFrame = function ()
    {
        this._x = this._x + (btn1_btn._x - this._x) * 0.400000 - 1;
    };
}

on (rollOut, dragOut)
{
    天气_mc.gotoAndStop(1);
}

//****botton 2

// Action script...

on (release)
{
    _parent.createEmptyMovieClip("time_mc", 2);
    _parent.time_mc.loadMovie(_parent.swfs + "worldtime.swf");
    trace(_parent.swfs);
    _parent.time_mc._lockroot = true;
    _parent.hideBtn();
    时钟_mc.gotoAndStop(1);
    _parent.mask_mc.gotoAndPlay(6);
    local_data = SharedObject.getLocal("flashID");
    local_data.data.myflash = "worldtime";
    local_data.flush();
}

on (rollOver, dragOver)
{
    时钟_mc.gotoAndPlay(2);
    cir_mc.onEnterFrame = function ()
    {
        this._x = this._x - (this._x - btn2_btn._x) * 0.400000;
    };
}

on (rollOut, dragOut)
{
    时钟_mc.gotoAndStop(1);
}

//****botton 3

// Action script...

on (release)
{
    _parent.createEmptyMovieClip("cla_mc", 2);
    _parent.cla_mc.loadMovie(_parent.swfs + "calendar.swf");
    _parent.hideBtn();
    日历_mc.gotoAndStop(1);
    _parent.mask_mc.gotoAndPlay(6);
    local_data = SharedObject.getLocal("flashID");
    local_data.data.myflash = "calendar";
    local_data.flush();
}

on (rollOver, dragOver)
{
    日历_mc.gotoAndPlay(2);
    cir_mc.onEnterFrame = function ()
    {
        this._x = this._x - (this._x - btn3_btn._x) * 0.400000;
    };
}

on (rollOut, dragOut)
{
    日历_mc.gotoAndStop(1);
}

//****botton 4

// Action script...

on (release)
{
    _parent.createEmptyMovieClip("cal_mc", 2);
    _parent.cal_mc.loadMovie(_parent.swfs + "calculator.swf");
    _parent.hideBtn();
    计算器_mc.gotoAndStop(1);
    _parent.mask_mc.gotoAndPlay(6);
    local_data = SharedObject.getLocal("flashID");
    local_data.data.myflash = "calculator";
    local_data.flush();
}

on (rollOver, dragOver)
{
    计算器_mc.gotoAndPlay(2);
    cir_mc.onEnterFrame = function ()
    {
        this._x = this._x - (this._x - btn4_btn._x) * 0.400000;
    };
}

on (rollOut, dragOut)
{
    计算器_mc.gotoAndStop(1);
}

//****botton 5

// Action script...

on (release)
{
    _parent.createEmptyMovieClip("as_mc", 2);
    _parent.as_mc.loadMovie(_parent.swfs + "astro.swf");
    _parent.as_mc._lockroot = true;
    _parent.hideBtn();
    星运_mc.gotoAndStop(1);
    _parent.mask_mc.gotoAndPlay(6);
    local_data = SharedObject.getLocal("flashID");
    local_data.data.myflash = "astro";
    local_data.flush();
}

on (rollOver, dragOver)
{
    星运_mc.gotoAndPlay(2);
    cir_mc.onEnterFrame = function ()
    {
        this._x = this._x - (this._x - btn5_btn._x) * 0.400000 - 1;
    };
}

on (rollOut, dragOut)
{
    星运_mc.gotoAndStop(1);
}

//****botton 6

// Action script...

on (release)
{
    _parent.createEmptyMovieClip("wtv_mc", 2);
    _parent.wtv_mc.loadMovie(_parent.swfs + "tv.swf");
    _parent.hideBtn();
    _parent.wtv_mc._lockroot = true;
    节目单_mc.gotoAndStop(1);
    _parent.mask_mc.gotoAndPlay(6);
    local_data = SharedObject.getLocal("flashID");
    local_data.data.myflash = "tv";
    local_data.flush();
}

on (rollOver, dragOver)
{
    节目单_mc.gotoAndPlay(2);
    cir_mc.onEnterFrame = function ()
    {
        this._x = this._x - (this._x - btn6_btn._x) * 0.400000;
    };
}

on (rollOut, dragOut)
{
    节目单_mc.gotoAndStop(1);
}

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.08203秒 powered by KesionCMS 9.0