Flash video mouse over start og stop

“File” -> “Import” -> “Import Video” -> “Load external video with playback component”

On stage, give it an instance name, such as ‘flvPlayer’

THEN, turn that into a movieclip symbol, and give it an instance name of “btn”

btn.flvPlayer.stop();
btn.addEventListener(MouseEvent.MOUSE_OVER, vidPlays);
btn.addEventListener(MouseEvent.MOUSE_OUT, vidStops);
function vidPlays(e:MouseEvent):void
{ btn.flvPlayer.play()
}
function vidStops(e:MouseEvent):void
{ btn.flvPlayer.stop()
}

Resource: http://forums.creativecow.net/thread/190/867463

Leave a Reply

Your email address will not be published. Required fields are marked *