一段flash代码的意思

来源:百度知道 编辑:UC知道 时间:2024/06/14 17:24:31
onClipEvent (load)
{

flex = 0.700000;
FGscale = 100;
step = 0;
}

onClipEvent (enterFrame)
{
step = step * flex + (FGscale - _xscale) ;
_yscale = _yscale + step
_xscale = _yscale + step
}

onClipEvent (load)
{

flex = 0.700000;
FGscale = 100;
step = 0;
}//这里是影片剪辑载入时,初始化一些变量的值
onClipEvent (enterFrame)
{
step = step * flex + (FGscale - _xscale) ;
_yscale = _yscale + step
_xscale = _yscale + step
}//这里是影片剪辑在进入每一帧时,影片的大小进行变化,应该是逐步变化到影片剪辑100%