Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-03-2006, 12:06 AM   #1
Flash Newbie
Join Date: Jan 2006
Location: Orlando, FL
Posts: 10
Default Preloaders and FLV

I've been working on a preloader for a swf containing a flv and so far I've had no luck.

I know the preloaders work, I've tried several from this forum and they work fine with jpegs or other stuff but I think the problem is that the swf loads extremely quickly with the FLV being external and theirfore it doesn't show up for me at run time.

I'm very new to flash and I've been trying to learn as much as possible on my own but this has me a little stumped. Does anyone have a link to a tutorial or any tips on preloading an external flv?
Brownie is offline   Reply With Quote
Old 01-03-2006, 04:25 AM   #2
Billy T
Oops I did it again
Billy T's Avatar
Join Date: Oct 2001
Location: Melbourne
Posts: 8,579

how are you playing the flv? Through the Netstream object or using a component?
Online Galleries
iPhone Safety App - iStaySafe
Free Flash Video Tutorials
Photo Website Template

Don't email or PM me questions...
Billy T is offline   Reply With Quote
Old 01-03-2006, 07:19 PM   #3
Flash Newbie
Join Date: Jan 2006
Location: Orlando, FL
Posts: 10

Hi Billy,

Actually I just figured it out.

I'm importing the FLV into my movie and the wizard that comes up sets up a componant to load and play the video.

Here is what I had to do. First, because the FLV is separate from the .swf, I was not able to use the typical preload method of comparing total file size to the amount downloaded. Instead I created a preload animation that is 100 frames long.

Then I imported my movie from frame 1 and changed the autoPlay parameter for the movie to false.

On frame 101 I have my only bit of actionscript:


where the Instance Name of my FLV is introMovie.

So on frame 1 my movie begins to load and doesn't play until frame 101, so depending on my setting for frames per second I can vary the time that I give my FLV to download before playing.

Note that this will allow you to increase the bufferTime parameter for your FLV while still showing your visitor something animated.

Also, because I have a large FLV file I am not actually loading the entire thing, but just giving myself a large enough buffer so that the video can run smoothly from start to finish.
Brownie is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Delays and preloaders with an external flash file. Binbag ActionScript 2.0 5 06-09-2004 05:36 AM

All times are GMT. The time now is 11:48 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.