braddoubleu
Technical User
I am creating a control toolbar (play, pause, rewind and fast forward) for an embedded flash movie in Director. I am able to get the movie to pause and resume where it left off using the script below, however, I am not able to jump around within the movie.
Upon inspection in the Object Inspector, my flash (swf - shockwave) movie has 4650 _totalframes and also has a _currentframe value. I am able to capture the _currentframe
by using sprite(1)._currentframe but i am unclear how to say jump 100 frames ahead or back.
Any assistance is greatly appreciate. Thank you.
Brad
Upon inspection in the Object Inspector, my flash (swf - shockwave) movie has 4650 _totalframes and also has a _currentframe value. I am able to capture the _currentframe
by using sprite(1)._currentframe but i am unclear how to say jump 100 frames ahead or back.
Code:
property pToggle
on beginSprite me
pToggle=TRUE
end
on mouseUp me
if pToggle=TRUE then
sprite(1).stop()
pToggle=FALSE
else
pToggle=TRUE
sprite(1).play()
end if
end
Any assistance is greatly appreciate. Thank you.
Brad