Newsletter: Learn More ||| Multimedia Presentation Software |||
Flix Video Preloader - Preload Second Video
Contents
Top
Introduction

This brief tutorial contains an FLA file that you can download and use for your own projects. The file below is accompanied only by a fairly brief explanation of its purpose. It will be up to you to examine them and determine how they will be most useful to you.

In most cases, you can use the FLA as provided and you should only have to modify the graphics and perhaps adjust the function slightly to suit your needs. You will also likely need to change the size of the background graphic that the video plays in, but the very existence of this graphic is optional. I like to use a background graphic because it gives you a visual placeholder, allowing you to position your other elements around it so that they will not obscure the video while it is playing. The size of this placeholder (gleaned from the Info Panel in Flash) can also be transferred to the Custom SWF dimensions in the Flix Video tab so that all your parts fit together as expected. The clip that the video gets loaded into is just an empty movie clip and won't need to be resized, only repositioned to represent the upper left corner of the loaded movie.

We can't foresee all possible movie configurations though, so it could be that you only use certain elements from this file. I personally use parts from this file all the time. It is quite common for me to copy and paste either the Information Clips that return information about the status of loading movies or play controls that give viewers the ability to control the operation of the video. They provide quick functionality and you can pick and choose which elements you want to include.

Top
Flix Video Preloader - Preload 2nd Video
Here we have another preloader variation. The way this one functions is that it loads two movies at the same time into separate empty movie clips. The playback on the first video will begin once the second video has completely loaded. This exact functionality is not something you will be looking for every day, but it can be modified to work differently and does provide additional insight into the loadMovie process in general. This is not an ideal setup in my opinion, however, largely because the performance of your Flash movie will be greatly improved if you are not streaming two movies at the same time.

This movie makes use of two different sets of information clips that return information about the loading movies and two separate empty clips that the the movies get loaded into. The second clip is masked by a small shape that is off of the stage so it will be loaded into the viewer's cache, but won't be visible until it is called for.

There is also a bonus feature in this one. You can study the FLA to learn more about loading text from a TXT file into a dynamic text box as well as how to create the buttons that scroll the text.

Download this .FLA

Top
This tutorial was written by Mark A. Rush.
 
©2010 Wildform, Inc | Policies | Contact Us | Newsletter Options
 
Wildform provides a 100% satisfaction guarantee on all our Flash software. If you are not completely satisfied with our Flash multimedia software for any reason you may request a refund within 15 days of purchase.