ActionScript 3.0 :: Pre-Caching Multiple FLVs At Once Possible?
Mar 11, 2009
Any input on precaching multiple flv's at once to make sure they all play properly at once? Fairly small filesizes/resolutions/compression all around. I'm open to ideas. I plan on using a preloader to go from 0 to 100 as the videos precache.
View 1 Replies
Similar Posts:
Dec 20, 2007
I have 3 videos to load into a single flv component. I want to be able to load these movies randomly. How would I go about doing that? I have no idea how to start
View 1 Replies
Apr 19, 2010
play a number of FLV files at the same time on one SWF? Basically I have a brief to create a video banner with a number of FLVs of people playing at the same time but starting at different points in the videos. My concerns are with loading times, memory consumption and the starting of each FLV at a different point and looping it.
View 1 Replies
Sep 2, 2011
On my main timeline i have some buttons. When you click a button you are diverted to the a frame label on the main timeline.
When the timeline stops at say frame 2 an flv is loaded into an empty movie clip on the main stage. If you click on button 2, same thing. So in total I have about four FLV's that play when a button is pushed. If i keep clicking my buttons to test the smoothness of my flv's, after about three clicks from navigating between my frames/loaded flvs, my entire main movie becomes slower.
Each FLV is about 5mb.
Below is the code that gets initated when I click my button and am taken to that frame. My question is this, if i'm jumping between FLV's at every button click is the FLV that played first still playing and causing the entire main movie to slow down? Is there a better way to manage this? Do I have to unload the movie being played when i click? I'm trying to see if there an more efficient way to have smooth streaming from my flv. The flv that is getting initated is simply looping when it's done and servers a 'moving background'.
is there something else i can implement into my code that will keep my loaded flv's playing smoothly?
[Code]....
View 11 Replies
Feb 17, 2010
I'm having a problem with Flash Media Interactive Server 3.5. I have a simple application setup. I would like to simply to be allow the user to record multiple flvs. This is just because we want them to record, preview and either publish or try again.
[Code]...
to start and stop recording. The problem I'm having is that while the first record seems to go ok, the second gets garbled. The video starts about 70% through, and then just plays a small portion. I've tried meta injection to fix it up, but it's just not working. I'm thinking maybe I have to reset the stream or something before starting a record again, but I don't know how.
View 18 Replies
Nov 12, 2010
I've an SWF which loads dinamically six FLV files controlled by actionscript code.My goal is to guarantee a smooth playback, so I've to do a global preload of each file.So, I've created an array. Each element of this array contains a custom objecte named PreloadFLV that contains a reference to a NetStream object in a field named flv_ns.To process the preloading, I do before a NetStream.seek(1), then NetStream.pause() and then with a Timer I check the percent progress.When the percent progress is equal to 100, I start the clip.This is a small piece of code:
preload_flv_array[queue_preloading].flv_ns.play(preload_flv_array[queue_preloading].path);
preload_flv_array[queue_preloading].flv_ns.seek(1);
preload_flv_array[queue_preloading].flv_ns.pause();
[code].....
View 3 Replies
Apr 19, 2010
Is it feasible to play a number of FLV files at the same time on one SWF? Basically I have a brief to create a video banner with a number of FLVs of people playing at the same time but starting at different points in the videos. My concerns are with loading times, memory consumption and the starting of each FLV at a different point and looping it.
View 2 Replies
Apr 9, 2007
I have 3 flvs, that are rather big in dimension, that I am using as backgrounds. When I use any of these flvs my movie works fine but when I switch to a new background my movie takes a big hit in performance. I am guessing this has something to do with the garbage collection in as3 because i explicitly get rid of the old background. What is the best way to cycle through multiple flvs without loosing performance?
Heres code I am using to switch backgrounds
removeChild(theBackground);
theBackground = null;
theBackground = assetLoader.getBackground(level);
addChildAt(theBackground,1);
[Code] .....
View 1 Replies
May 12, 2008
I've searched around and havent really found anything definitive about this. Im trying to preload five flv files and then get them to play one after the other with as little pause in between as possible. Im thinking I might need to create five netstreams and then pause them, check to see if theyre loaded, start playing then first when they are with the others hidden, then after flv one is done show the container for flv two, etc. Ive done a test and I still get a bit of a jump in between flvs. Has anyone done then and got it to work without that hiccup?
View 1 Replies
Sep 27, 2010
I am currently working on a flash project that need load and play 5 different external Flvs @ the same time. the flv files are between 2MB to 36MB. I am using AS to dynamic load them into the main SWF. it works locally on my laptop but when I upload everything on to JustHost, only the smallest one shows and start to play.
View 1 Replies
Apr 6, 2012
I have two FLV's that I have playing back to back. They use the following code, but I'd like to add the video controls/controller to the player, which I'm not sure how to do. This is what I currently have:
Code:
var videoList:Array = ["20120331_102028.flv", "20120331_102102.flv"];//we also define the currentIndex here:
var currentIndex:int = 0;
[Code].....
Unlike a typical FLV import where you can add the particular video controls that you prefer, I'm not sure how to add that manually via AS. What would be the best way to do this? I'd obviously like to be able to control volume and have a timeline scrubber that will work on both videos.
View 4 Replies
Jul 30, 2010
How can I add a single control bar to control 2 external FLVs inserted in FLA document so that when scrolled, both FLVs move simultaneously?Is there a better PPT to Video Converter out there than Moyea that I can purchase or even a freeware? Original documents One FLV is a PowerPoint presentation with videos in some slides, converted into FLV using trial version of Moyea PPT to Video ConverterAnother one is an AVI converted into FLV using Super
I saw a similar question posted on Aug 15, 2007 ([URL].. but the "Look Here" link that describes the solution is not available (removed by Adobe for security reasons).
View 19 Replies
Dec 30, 2009
I have this PHP page that lists several people. When someone clicks on one of the people they are sent to another PHP page that has their video greeting in a .swf embedded into the page. This works by the php writing the path to the greeting video to the xml file that the .swf loads and plays.
Well in firefox it works perfect, but in IE when they try to click on another greeting the original greeting still plays. Its like the swf is caching the first greeting and refresh of the page does nothing to alleviate this. Is this a problem with the swf caching? or XML caching? or am I totally clueless?
[Code]...
View 1 Replies
Jan 22, 2010
I have one .swf that references several FLVs in a separate folder. That .swf is embedded several times on one webpage and each one references a different video.My only problem is that they all load when the page loads. I would like the first video to load automatically (not play automatically, just load) and the rest to only load when they are clicked.I have been trying to control the buffering with JavaScript where the .swf are embedded but have been unsuccessful.I have also fooled around with the buffer time parameter of the FLVPlayback component and still no luck.
View 3 Replies
May 7, 2010
I have a Flash CS3/AS2 project containing swfs with FLVs. When I Publish the "START.fla" which pulls all the files together, I tell Flash to create a "Projector" for Mac and an "EXE" for Windows. On my (OS X) desktop this Projector thing works perfectly...swfs open from a menu in my GUI, the swfs reference flvs and the flvs play. The swfs are in the same folder as their flvs.
If I put this whole folder full of files over to the WinXP box (via shared folder), double click on the EXE - no flvs will appear. Everything "leading up to" an flv works - but where there should be a video there is none. Moving on I burn the project onto a CD. When I open the CD on the Mac and find the Projector - I double click and it still works great. Everything flawless.
I put that same CD into the WinXP (SP3) box, find the EXE and double click. As I expected - no improvement, the GUI opens,the swfs can be launched from the menu, but no flvs appear. I get the swf that references the flv - but no flv. I even waited extra time thinking it would eventually happen. No. Why it should work on Mac and not on XP? Where should I look for the glitch?
View 1 Replies
Mar 12, 2009
I am having an issue with setting CuePoints in a FLV that is not natively FLV. My code works on files that were exported directly from AfterEffects to .FLV. However, some of the video files I am working with are originally .MOV files. When I pass them through either Adobe or Flash Media Encoder, the CuePoints are not recognized. It seems very strange.
Here is the code, although the code works perfectly with native FLVs, so I don't think that is the problem. I'll put it on here just in case.
Code:
myFLVPlayBack.onRollOver = function () {
playHover.gotoAndPlay(2);
}
[Code].....
View 1 Replies
Apr 3, 2009
How to play flv's from Action Script2 one after another? Let's say I have 3 clips .flv. And I want to play them one after another.
In case I'm writing this:
myFLVPlybk.contentPath = "1.flv";
myFLVPlybk.contentPath = "2.flv";
myFLVPlybk.contentPath = "3.flv";
Only the last clip is playing actually. How can I implement "one after another"?
View 1 Replies
Apr 23, 2009
i need to play two FLVs continuously one after the other - you might think it's an easy task, but every time i try to do that there is this annoying gap between the videos that flickers, and it's have to be seamless.the ON_COMPLETE event worked poorly, so im sampling the playheadTime of the first FLV and test it for it's end, minus a certain offset value.. but the lag is still there.i ever rewrote the FLVPlayback component to my own NetStream object extending, hoping it will take less run-time memory consuming but noting...and the thing is,the lag sometimes happens, and sometimes don't..when trying to sample the gap it brings me different values every time, but there is no way to correct it,because changing the playheadTime causing a random, few milliseconds lag itself, and we are back to square one..
View 3 Replies
Feb 29, 2008
implement closed captioning into my FLVs. I have successfully set up the FLVplayback component, and the FLVplaybackCaptioning component to work. That's not the issue. The issue is, once I have my swf, flv, and xml files (needed to successfully use CC in a FLV), I need to insert that .swf into my captivate project.
It appears to insert/import OK, but once I publish the project, the swf does not appear, and in fact the FLV icon sits on the slide rapidly blinking. Neither the video plays, nor can I even see the playback component/closed caption component (swf) that holds the FLV.
All paths are relative, so the only things I can think of that may be causing the issue are:
a)Captivate doesn't support CS3 FLVPlayback or
FLVPlaybackCaptioning components
b)Since Captivate allows importing of FLV files directly, running the FLV through the component's swf is a problem
c)The hierarchy of files needed for the Closed Captioning FLV (xml, flv, swf), interfere with compiling the new Captivate .swf
upon publishing I've also been told that the FLV captioning component only works in Actionscript 3.0 which runs on Adobe Virtual Machine 2.Captivate publishes .swf files using Actionscript 2.0 which runs on Adobe Virtual Machine 1. Therefore, what I need to do will not work.
View 4 Replies
Dec 14, 2009
I have five videos that play on command when you click one of five buttons. I want to make two enhancements to this script and I need an expert's help (because clearly I'm clueless!).
#1 - Even though I have the vidPlayer (aka flvPlayback component) setting set to "true" for autoplay, the area where the videos are set to play remains blank until clicking on one of the buttons. How can I get the first video to truly "autoplay"?
#2 - I would like to have the videos play in sequential order when the last video is finished, then stop after the last (fifth) video has played. How can I get them to play back-to-back?[code]...
View 5 Replies
Jul 22, 2010
I have single FLV file which is quite big. I want to encrypt it and decrypt but it takes too long. My best idea was to split video into smaller videos using third party software and apply my encrypting and decrypting functions to each one separately. Unfortunately I have a problem with gaps between loaded FLV files. Video has to be smooth without any pauses.
View 0 Replies
Jan 31, 2011
I made a video player that plays through flv videos one after another for an in-store display. My problem is that volume levels between flvs are very different, one flv volume levels would be louder than other flvs vice versa.So I'm thinking if I could equalize the volume levels using sound channel but have no idea where to start. Can anyone point me in the right direction on how to properly adjust/equalize volume levels so they all sound the same?
View 4 Replies
Jan 2, 2007
I am having trouble getting my flvs to play incrementally. I can only get it to play the last flv in my array.
Code:
_root.stop();
//
vidList = new Array("item_overview_ae476x264768K.flv",
[Code]....
View 4 Replies
Apr 23, 2008
I'm adding a "view large" capability to my video player, however I have noticed that if I straightforward code
on press. got twice as big,
the color, tone , sharpness is greater than if I..
I'm using flash tween I don't know if there is a better tweener out there?
View 7 Replies
May 2, 2008
I'm tasked with creating a site that runs full-screen video in the background at all time. I have it set up in XML in "batches" of 10-second clips that correspond to navigation sections. Currently the video just selects a random clip out of that batch once the current video has stopped playing, so it gets a random chain of videos.Of course, when it gets onto the crappy server, my framerate plummets (first disappointment) and i get a little pause in between clips (second disappointment). What I'd like to do is start loading the videos once you get to the site and hope that they're cached by the time they come up. My first thought is to put those batches into shuffled arrays rather than pulling them randomly at load, so I can at least have a predictable order.
View 4 Replies
Mar 14, 2012
I am creating a flash "video jockey" station. I have 9 videos that are different parts of a song. Each video is loaded upon the loading of the swf with a volume of 0 . When the buttons given are pressed, they unmute and expose the video. I have it set to a 36 second loop. I have coded in a rewind for each video. When I export it for html, the rewind and play no longer matches up. I feel like there may be a simpler way to code what I am doing, and a way to say that all videos should match up based on their location within their 36 second play time. I have included the actionscript3 I have written for two of the videos. Imagine this with 9 total videos and background music all having the same rewind function.
stop();
import fl.video.*;
var pb:FLVPlayback = new FLVPlayback();
pb.source="videoOne_2.flv";
[Code]....
View 6 Replies
Dec 8, 2008
I have a presentation that runs fine when its being playednormally, but when I try to get it to go into full screen mode witha button click it goes black and won't load the videos.Somehow in the past I was able to see the errors, but now Ican't get the same error to pop up.
View 1 Replies
Jun 3, 2009
a lot of the details and actionscript for my project were dealt with in another thread[URL].. what I would like to do is use buttons to jump between videos that are being fed to flvplayback, I have the actionscript skills of a rural victorian coal miner, fortunately I have the drive and bloody mindedness of a rural victorian coal miner so hopefully these things should balance out.
the action scrip I have scrawled for my button so far is as follows...
function introductionHandler(evt:MouseEvent):void{ // load given movie videoIndex = 0;}introduction_btn.addEventListener(MouseEvent.CLICK,introductionHandler );
View 2 Replies
Jun 4, 2009
I have a list of flvs that are selectable with buttons and I would like to add cue points to the individual videos to trigger other events and I'm afraid my skills are lacking here.How do I target an flv in a list to add cue points and how do I target these cue points to trigger movie clips?
View 3 Replies
Nov 8, 2009
After wrestling this flash flv slideshow for the last few days, I finally have it running smoothly locally. The problem is that on a server it has serious issues. I see a blank screen where the flv should be... I assume it's still loading or buffering. That's a problem as is, but when it's in this state, nothing else works on the site (flash site-one swf). If you wait for sometimes 10 minutes the flv finally shows and the site works great. All of this obviously depends on the connection.
So I understand that this could be caused by the size of the 10 flvs. I'm using the FLVplayback component by the way. So that's fine for now, but I just want a preloader at the beginning to only go to frame 2 after the intro flv has been loaded. I thought this would be simple using bytesTotal and bytesLoaded. I was wrong. Below is the code I'm using. When you view the page the preloader seems to work, but after it runs - you are directed to the second frame... showing the "skip intro" button (which doesn't exist on the 1st frame)... but the flv doesn't show. It's actually still loading... 5-10 minutes later it shows up and the site works fine. My preloader isn't showing the progress of the flv load.
You can see what I'm talking about by viewing my project... if you're on a connection like mine you won't be seeing much: [URL]
Does anyone know of a preloader specifically for FLVs... maybe one that reads the buffer progress?
[Code].....
View 5 Replies