A Flash Developer Resource Site














Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Featured Flash FLA
Gallery Downloads 11337 Flash Movies | 1 New Flash Movies Added
What's New | Top 100

Featured FLA

» Author: Bugra Ozden
» Title: Skatalog v9 - product catalog
» Description: Create your product catalog easly and publish on your website or Create your image gallery, documents list, portfolio. Fully XML Driven
» More by Bugra Ozden


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 5828 Flash Sites | 0 New Flash Links
What's New | Top 100 Flash Site

Featured Site

» Posted in the Flash Kit Links section
» Title: Creative DW Image Show PRO
» Description: Creative DW Image Show PRO is a Dreamweaver extension which enables the user to create multimedia presentations. It combines the features of the popular Creative DW Image Show with the ability to add professional text effects to slides (similar to After Effects). The product is very customizable: the user can choose the duration of the transition effects, the slide motion start and end position, zoom and panning type for both images and texts.


Random Links | Add your own Flash Related Links
Flash Tutorials 1280 Tutorials 7 New Tutorials Added!
What's New | Top100

» Make a Flash Slide Show Screen Saver
» Simple flash making tutorial for thanksgiving
» Create flash banner for website
» Create xml slideshow with free template
» How to Insert a Multilingual Subtitle Into Your Flash Video Studio
» How to Create Cool Halloween Slideshow
» Debugging flash using the Firebug console
» Create Flash Slideshow on Blogger
» FLASH TRICKS IN WEB ADVERTISING: FLASH BANNERS
» Unknown Tag: Title10
Random Tutorial | Add Site

Trading Customer Accounting (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » 3D

Categories Object VR In Flash MX
Author: Tim Murray | Website: http://www.gmg.com.au |

 
Page 6
«prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... next»

Loading your QuickTime Object VR movie

The Object VR movie that you load doesn't necessarily need to be in a QuickTime format: it could be an avi, mpg, wmv or any other format that Flash MX likes. Just as long as it is a movie of an object rotating before the camera. These were the images that made up the DivingHelmet.mov file, created by the very talented Darren Mok of the Western Australian Museum:

Now to do the import of your video file. But first, we need to do a quick test import so that we can get the frame rate of the video. If you know what the frame rate of your mov (or avi, or whatever) is then you can skip this bit. If you are at all in doubt about the frame rate, this quick test import will save you a whole world of pain later.

Select frame 1 of your mov layer and hit Ctrl+R to load a resource in to your library and put it in your timeline. When the Import file selector dialog appears, go find your mov video file and open it. You will be presented with an Import Video dialog like this:

Make sure that you have selected the "Embed video in Macromedia Flash document" option. We don't want to do all this hard work and still need QuickTime!

Select OK and you will get the Import Video Settings dialog:

The important bit is where it says "Length: 36.00 secs, 1.0 frames/sec". Okay, remember that 1fps. Now cancel the dialog. We're going to change the frame rate of the Flash MX movie to match it. And make sure the "Synchronize video to Macromedia Flash document frame rate" is checked. You'll see why later.

The easiest way to change the frame rate is to double-click on the 12.0 fps box in your timeline. This will open up the Document Properties dialog where you can set the frame rate to match the frame rate of your QTVR movie (in this case, 1 fps).

Now go back and select frame 1 of the mov layer and do the import again as we did for the test import, but this time don't cancel it: OK the import. If you want to, you can fiddle with the import compression settings.

Since we will be scrubbing back and forth along the timeline, it is critical that you generate a Keyframe interval of 1. If you let Sorenson generate its own keyframes or set it to anything higher than one, when you scrub backwards through the animation it will only skip to frames that have keys. This is because when a video file is compressed, a complete image is stored only when there is a keyframe in the video. Every frame after that up to the next key only stores changes to the image – Flash (or, more accurately, the Sorenson codec in Flash) only draws what has changed, and it can only start from a keyframe.

Change your frame rate back to whatever you were using. Remember that a higher frame rate gives you smoother looking object rotation, but at a cost of a higher CPU load for the computers that your Flash MX movie plays on. Your choice.

A final note on Flash MX frame rates: you can always play around with your frame rates when importing. Experiment with the values and try importing different video files. To see how our Object VR player will perform with your imported video, click and drag the playhead back and forth along the timeline. If you don't like what you see, you can always re-import the video with different settings until you find something that works well with the media that you have.

Save it.

«prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... next»

» Level Advanced

Added: : 2003-12-16
Rating: 8.25 Votes: 74
Hits: 1511
» Author
Tim is a co-director of the Glasson Murray Group, providing quality graphic design, illustration, 3D visualisation, interactive environments, virtual reality, multimedia and website services.
» Download
Download the files used in this tutorial.
Download (1028 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs