帮忙解释一个flash游戏中的actionlaye和影片剪辑的几段代码,急!!!!!

来源:百度知道 编辑:UC知道 时间:2024/04/29 15:04:41
第一段stop ();
minilogo.onRelease = function ()
{
getURL("http://www.minijuegos.com");
};
第二段stop ();
btReset.onRelease = function ()
{
btReset._visible = false;
gotoAndPlay("comienzo");
};
btLink.onRelease = function ()
{
getURL("http://www.minijuegos.com");
};
第3段stop ();
影片剪辑一:// Action script...

// [Action in Frame 1]
stop ();

// [Action in Frame 2]
stop ();
delete onPress;

// [Action in Frame 3]
stop ();
onPress = function ()
{
var _loc3 = this._name.split("_");
_parent._parent.click_cel(Number(_loc3[2]), Number(_loc3[1]));
gotoAndStop(4);
};

// [Action in Frame 4]
stop ();
delet

第一段stop ();
minilogo.onRelease = function ()//在名字为minilogo的影片剪辑上鼠标点击释放后执行:
{
getURL("http://www.minijuegos.com");//转到(打开)这个网站
};
第二段stop ();
btReset.onRelease = function ()//在名字为btReset的影片剪辑上鼠标点击释放后执行:

{
btReset._visible = false;//btReset元件不可见
gotoAndPlay("comienzo");//转到帧标签名为comienzo的帧并播放
};
btLink.onRelease = function ()//和上面语句一样
{
getURL("http://www.minijuegos.com");
};
第3段stop ();
影片剪辑一:// Action script...

// [Action in Frame 1]
stop ();

// [Action in Frame 2]
stop ();
delete onPress;

// [Action in Frame 3]
stop ();
onPress = function ()//这个是写在按钮上。具体写在那个按钮上不知道
{
var _loc3 = this._name.split("_");
_paren