This content has been marked as final. Show 3 replies
"playing" isn't a property of a QT sprite/member - check the docs.
While you're there, have a look for "movieRate"
i tried this code:
on exitframe me
if movieRate=0 then
go to the frame + 1
but it may be not right way,,
is there helper..?
This really is a FAQ and you should have found the answer by searching
the forum. However, try something like the following attached to the QT
sprite (watch for reader-introduced line breaks):
on isOKToAttach(me, sType, sNum)
if sType = #graphic then return ( sprite(sNum).member.type =
if not(the currentSpriteNum) then exit
return [#myTargetMarker: [#comment: "Frame to go to when finished:",
#format: #marker, #default: #next]]
on beginSprite me
my = sprite(spriteNum)
myDuration = my.member.duration
on exitFrame me
if ( my.movieTime = myDuration ) then
go to the frame