Newsletter: Learn More ||| Multimedia Presentation Software |||
FLA for Flash Preload & Check Sound File
Note: Flix Pro will automatically create preloaders for your Flix-encoded files.
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
Wildform Preload & Check Sound
This movie preloads and checks the status of a streamed sound in a Flash movie. It is a fairly simple mechanism that you probably won't use every day, but the techniques used in this movie can come in quite handy and are a nice addition to every Flash designer's arsenal of available tools.

Other than dealing with sound, you can also study the FLA to see one way to use variables and dynamic text boxes to display the status of your movie or movie clip. This one sets a variable that lets you know if the sound is playing or not. But further, since the main timeline is longer than the actual streamed sound, it also tells you whether the sound was playing or done when you stopped it depending on which frame you are on when you press the stop button.

Download this .FLA
Top
This tutorial was written by Mark A. Rush.
 
©2008 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.