Jump to content
Search Community

Trying to build queue of videos from an array.

little_fat_girl test
Moderator Tag

Recommended Posts

I'm loading in an array (using loadermax as well, thanks!) which contains links to some facebook videos and i'd like to queue them up with loadermax. i'm hacking together some code based on the tutorial you helped with here.

 

i get the following error:

 

 

----

Error on VideoLoader 'myVideo3' (http://video.ak.fbcdn.net//cfs-ak-prn1//v//611182//748//10151093028945843_20102.mp4?oh=2d61fa37f6a76e667a93767da7ac99f7&oe=5085B2D1&__gda__=1350940320_f137165199e04b3bf2a087d0624cf2d5): NetStream.Play.StreamNotFound

----

 

can you please help me understand what i did wrong here? thanks!

 

var queue:LoaderMax = new LoaderMax({onComplete:completeHandler, maxConnections:1});

var tempLoad:VideoLoader;

for (var i=0; i<tempDataArray.length; i++) {

var videoString = tempDataArray[i].video as String;

tempLoad = new VideoLoader(videoString,{name:"myVideo" + i,width:720,height:406,scaleMode:"proportionalInside",centerRegistration:true,bgColor:0x000000,autoPlay:false,volume:0,requireWithRoot:this.root,estimatedBytes:75000});

queue.append(tempLoad);

}
queue.load();

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...