|
主题: 有什么办法可以确切控制FLASH的帧数?
|
 土豆
职务:普通成员
等级:1
金币:0.0
发贴:103
|
#12000/12/15 1:02:22
我在DIRTEROR中导入一段FLASH! 但没法让它停在某一帧!或让它返回当前帧! 哪位老兄知道,请指点一二!
|
 草原战狼
职务:普通成员
等级:1
金币:0.0
发贴:15
|
#22000/12/15 3:15:37
Syntax sprite(whichFlashSprite).goToFrame(frameNumber)
goToFrame(sprite whichFlashSprite, frameNumber) sprite(whichFlashSprite).goToFrame(labelNameString) goToFrame(sprite whichFlashSprite, labelNameString)
Description Command; plays a Flash movie sprite beginning at the frame identified by the frameNumber parameter. You can identify the frame by either an integer indicating a frame number or by a string indicating a label name. Using the goToFrame command has the same effect as setting a Flash movie sprite抯 frame property. Example This handler branches to different points within a Flash movie in channel 5. It accepts a parameter that indicates which frame to go to.
on Navigate whereTo sprite(5).goToFrame(whereTo)
end
|
 土豆
职务:普通成员
等级:1
金币:0.0
发贴:103
|
#32000/12/15 19:33:35
谢谢草原战狼! 可我怎么才可以知道FLASH当前放到第几帧了呢? 还有控制FLASH的播放率的命令似乎不是很有效,WHY?
|
 5D精英
职务:普通成员
等级:3
金币:10.0
发贴:1340
|
#42000/12/15 22:03:16
sprite().frame member(whichCastMember).frameRate --This property can be tested but not set.
|
 土豆
职务:普通成员
等级:1
金币:0.0
发贴:103
|
#52000/12/16 20:59:46
谢谢游侠,HELP里面果然有这个参数,怪我自己没仔细看! 现在恍然大悟了!
|