_currentframe

可用性

Flash Lite 1.0。

用法

my_mc:_currentframe

说明

属性(只读);返回由 my_mc 变量指定的时间轴中播放头所处的帧的编号。

示例

以下示例使用 _currentframe 属性和 gotoAndStop() 函数指示 my_mc 影片剪辑的播放头从其当前位置向前移动五帧:

tellTarget("my_mc") {
    gotoAndStop(_currentframe + 5);
}

另请参见

gotoAndStop()