to expand on uan:
var myPlayState:Boolean = true;
On button click:
if (myPlayState == true) { pause the movie } else { play the movie }