Control of Video player
Posted: Thu Oct 30, 2008 4:15 pm
I have a scrollbar to control the speed that a movie plays at- but I don't want the movie to play when the scrollbar is changed; that currently happens with the script:
on scrollbarDrag newValue
divide newValue by 100
add .75 to newValue
put newValue into field "PlaySpeed"
set the playRate of player "MovieScreen" to newValue
end scrollbarDrag
If it is playing I want it to continue playing, if it is paused I want it to stay paused.
I assume that if I can determine the status of the player I can test for it.
I am currently trying to determine the status of the various attributes of the video player ("MovieScreen"). Where can I view that information?
on scrollbarDrag newValue
divide newValue by 100
add .75 to newValue
put newValue into field "PlaySpeed"
set the playRate of player "MovieScreen" to newValue
end scrollbarDrag
If it is playing I want it to continue playing, if it is paused I want it to stay paused.
I assume that if I can determine the status of the player I can test for it.
I am currently trying to determine the status of the various attributes of the video player ("MovieScreen"). Where can I view that information?