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.
This
movie shows you how to create a video player
that will play up to six different videos depending
on which button you press. Each video needs to
be named "videoA.swf", videoB.swf", "videoC.swf",
etc. Each button sets a variable, "movieNum",
which is appended to the file name when the movie
gets loaded. This is specified in frame 4 of
the "Movie Loader Clip" and can be
changed to suit your purposes. Otherwise, just
rename your videos and everything will work beautifully.
As it is set up now, the Verification Clip on
the last frame of the Movie Loader Clip checks
for the variable "DONE" that is set
on the last frame of the Flix-encoded video.
When this variable equals "1", it will
first set the variable back to "0" then
send the playhead back to frame 1 of the Movie
Loader Clip. It is important to note that this
variable is scoped to the specific timeline of
the empty clip that the video gets loaded into.
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.