Multimedia and Technology Training At the UC Berkeley Graduate School of Journalism
Save as PDF | Print | About
…In Four Easy Steps
In this tutorial, you'll learn how to integrate a video clip into the linear timeline of a Flash movie.
Keep the clip size small - no larger than 400 x 300. Smaller sizes won't pixelate so much.
Keep it short - no more than 20 to 30 seconds, more if REALLY compelling.
Flash supports QuickTime, MPEG, AVI and DV formats.
Create a new layer, and name it Vshark. Insert a keyframe where you want the video to start, and make sure it's selected before you import your video.
From the File menu, choose Import Video. The Import Video dialogue box appears.
Click CHOOSE to help you locate the clip.
Click on the file once you've found it.
Click CONTINUE once you have found it
At Deployment screen
Choose EMBED VIDEO IN SWF AND PLAY IN TIMELINE
Click Continue
At Embedding screen
Choose EMBEDDED VIDEO
Audio track INTEGRATED
Click PLACE INSTANCE ON STAGE
Click EXPAND TIMELINE IF NECESSARY
Click EMBED THE ENTIRE VIDEO
Click CONTINUE
At Encoding Screen
Choose FLASH 7 HIGH QUALITY
Choose SHOW ADVANCED SETTINGS
Choose Sorenson Spark
At Frame Rate, double-click on SAME AS FLA
At Data Rate, choose 48 kbs
At Finish Video Import screen, choose FINISH
Click on the video and choose FUNCTION > F8 to convert it to a symbol.
When it asks you to name it, it's best to put a V before the name so you know it is video.
A dialog bopx will open asking whether it's okay to add sufficient frames for the video. Make a note of the number of frames. Click Yes.
Comments? Contact us | ©2007-2008 The Regents of the University of California.
Comments
1) suzanne cook, April 14, 2008 at 12:59 p.m. [Link]
Hi,
How do you prevent the video from looping? I have tried applying your tutorial to a Flash photo slideshow, and after inserting the .mpeg I get into trouble. One main vexation is that the video I've just inserted keeps playing and replaying. The slideshow cannot advance at this point. What went wrong?
Thanks for your input
Suzanne
2) Robert Sala, April 21, 2008 at 12:42 p.m. [Link]
Same here. Mi embedded video never stops at the end. It loops over and over again. I've tried entering loop=false, stop() at the end of the timeline and even checking off the loop feature in the player. Also my visitors wont be able to stop, pause and replay. I'm using Macromedia Flash 8. Would appreciate some help... If there is a step by step instruction or video that would be great!
Robert
PS
My site is www.smartprofitablesolutions.com
3) Jeremy Rue, May 13, 2008 at 7:51 p.m. [Link]
To stop the video from looping, you have to create a keyframe at the point in your movie you want it to stop. Then highlight the keyframe and go to the top menu bar and click on Window --> Actions. This will open up your actions panel. With the keyframe on your timeline still highlighted (this is important) type in stop(); in the actions box. That is a lowercase stop with parenthesis and a semicolon. The word stop should turn blue.
Next, test your movie and it should stop on the stop action. If you want to make a video play, then you will need to create buttons. I recommend checking out our tutorial on building flash templates: http://localhost:8000/tutorials/webdesign/building-flash-templates/
Post a comment
Login to post a comment.