|
Using Video |
|
Step 3
On your main movie canvas, create two buttons at the very bottom. Select the first button, expand the Actionscript window and enter the following code:
on(release({
myVideo.stop()
}
Select the second button and enter the following code:
on(release({
myVideo.play()
}
The two buttons have been set up to act as Play and Stop buttons for the first video instance (myVideo). If you wish, repeat the process by creating two additional buttons for the second video instance. Remember to change the instance name to myVideo2 on these buttons.