I have made a flash video with a controller, I also made a button to appear on the first frame to help users with playing the video.

The first part which was to have the button display, and then on click it dissapears and video plays is fine, i got that as below:

PlayButton.onRelease = function() {
this._visible = false;
var myListener = new Object();
myListener.complete = function(eventObject) {
PlayButton._visible = true;
VideoScreen.addEventListener("complete", myListener);
And as you can see when the video is complete the button appears again.

But when i use the play button on the video controls I cant get the button to dissapear, and also when i click stop and the video returns to the start the button needs to appear again.

Can anybody help with this