Play() 播放动画
StopPlay() 停止动画
IsPlaying() 动画是否正在播放(true,false)
GotoFrame(frame_number) 跳转到某帧(frame_number+1)
TotalFrames() 获取动画总帧数
CurrentFrame() 回传当前动画所在帧数-1
Rewind() 使动画返回第一帧
SetZoomRect(left,top,right,buttom) 放大指定区域
Zoom(percent) 改变动画大小
Pan(x_position,y_position,unit) 使动画在x,y方向上平移
PercentLoaded() 返回动画被载入的百分比(0-100)
LoadMovie(level_number,path) 加载动画
TGotoFrame(movie_clip,frame_number) movie_clip跳转到指定帧数
TGotoLabel(muvie_clip,label_name) movie_clip跳转到指定标签
TCurrentFrame(movie_clip) 回传movie_clip当前帧-1
TCurrentLabel(movie_clip) 回传movie_clip当前标签
TPlay(movie_clip) 播放movie_clip
TStopPlay(movie_clip) 停止movie_clip的播放
GetVariable(variable_name) 获取变量
SetVariable(variable_name,value) 变量赋值
TCallFrame(movie_clip,frame_number) call指定帧上的action
TCallLabel(movie_clip,label) call指定标签上的action
TGetProperty(movie_clip,property) 获取movie_clip的指定属性
TSetProperty(movie_clip,property,number) 设置movie_clip的指定属性
VC中CShockwaveFlash的常用函数
最新推荐文章于 2013-11-30 20:34:03 发布
本文介绍了一组用于控制Flash动画的API方法,包括播放、暂停、跳转帧、获取动画状态等功能。通过这些API,开发者可以实现对Flash动画的精确控制。
2539

被折叠的 条评论
为什么被折叠?



