Windows mediaplayer image switching (also applicable to status changes of other plug-ins ):
I. Public Variables
Bready: A preparation variable. If the preparation variable is not set to true, the status does not change.
Bseq: True indicates a clip, and false indicates a stream program. In both cases, the change of the play button is different.
Ii. Mouse status
Stop button:
Mover: Stop-Stop: Disable
Others-stop: hot
MOUT: Stop-Stop: Disable
Others-stop: normal
Play button:
Mover: Run-play: Disable
Others-play: hot
MOUT: Run-play: Disable
Others-play: normal
Iii. Event status
Do not place image changes in the Click Event function and put them in the event status function for processing.
Control status change event:
Undefined status (0 ):
Play: normal
Stop: normal
Stop (1 ):
Play: normal
Stop: Disable
Pause (2 ):
Play: pause_noraml
Play:
Play: stream mode: Disable fragment mode: pause_normal
Stop: normal
Others: omitted