2. Study and play around the "scripting" and "video" examples.
3. Use this script to control movie playing.
4. If you push the "pause" button, the movie pauses.
5. If you push the "resume" button, the movie resumes.

[canvas]
[button width="50" x="60" y="50" onclick="videoplayer.play()"]Play[/button]
[button width="50" x="120" y="50" onclick="videoplayer.stop()"]Pause[/button]
[view y="75" id="videoplayer" play="true" resource="http:jfk.swf"][/view]
[/canvas]
沒有留言:
張貼留言