-
[RESOLVED] Preloading data from XML file? (please help)
So.
I have an xml video library, the problem is when I put it up online the videos take forever to load and that really isn't acceptable.
Is there a way, to preload the flv data from the xml file in the initial pre loading swf? Or is there a way to easily load up these flv's behind the scenes to make play back quicker?
I didn't know if I should post this in as3 or in the video category.
Thank you so much, I really hope someone can point me in the right directions!!!
-
Senior Member
First load your xml file, then create an array of all the FLV files. Then put the end size of each FLV into a variable, and make a loader based on file size loaded vs file size of all, and then populate an array with the loaded FLVs.
It's easier to explain with source, if you want to attach one, I'll try to explain myself a bit more.
-
Senior Member
You can play them while they are loading. Make images as thumbnails for the videos. I guess you are using the videos themselves as thumbnails. Here is an example:
http://www.mydailyfile.com/video/myvideos.php
- The right of the People to create Flash movies shall not be infringed. -
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|