这段flash代码什么意思

问题描述:

这段flash代码什么意思
on (rollOver)
{
    gotoAndPlay(2);
}
on (releaseOutside,rollOut)
{
    gotoAndPlay(11);
}
on (release)
{
    if (_root.flag == 1)
    {
        _root.i = 9;
        _root.flag = 0;
        _root.oldlink = _root.link;
        _root.link = 3;
        _root.pgap.play();
        if (_root.oldlink == 0)
        {
            _root.oldlink = 1;
        } // end if
        if (_root.oldlink == 1)
        {
            _root.rotate.gotoAndPlay("rot31");
        } // end if
        if (_root.oldlink == 2)
        {
            _root.rotate.gotoAndPlay("rot32");
        } // end if
        if (_root.oldlink == 4)
        {
            _root.rotate.gotoAndPlay("rot33");
        } // end if
    } // end if
}

还有我想问一下为什么出来的效果是按钮,但是我双击进去的元件是影片剪辑里面,看不到按钮,只能通过动作窗口看到这样的
1个回答 分类:综合 2014-10-16

问题解答:

我来补答
只是把影片剪辑变成按钮了 - -
再问: 怎么变的?
再答: on(Event) {…}
例如 on(Press){}
 
 
展开全文阅读
剩余:2000