Really interesting, I'll check pixlib, it covers a few things that were 
making me reinventing the wheel.

Francis Bourre wrote:
> Hello,
> 
> if you're interested, you can use medias.VideoDisplay class of pixlib ( 
> http://www.osflash.org/pixlib ).
> It extends data.libs.AbstractLib class. It means it handles all its 
> features:
> - name identifier
> - url
> - events system built-in (onLoadInitEVENT, onLoadProgressEVENT, 
> onTimeOutEVENT)
> - timeout handling
> - errors logging
> - content getter.
> - You can use getPerCent() and getName() accessors to retrieve infos from 
> LibEvent instances and make your preloader UIs working easily.
> 
> Last but not least, this class has some powerful debugging features and any 
> instance of it can be stacked in a LibStack instance with other files for 
> mass-preloading/buffering.
> 
> /*
>  * most easiest use
>  */
> import com.bourre.medias.video.VideoDisplay;
> 
> var p:VideoDisplay = new VideoDisplay( holder, holder.videoObject );
> p.load('file.flv');
> 
> /*
>  * another basical example
>  */
> import com.bourre.data.libs.LibEvent;
> import com.bourre.medias.video.VideoDisplay;
> 
> function onLoadProgress( e : LibEvent )
> {
>  loader.text = e.getPerCent();
> }
> 
> function onLoadInit( e : LibEvent )
> {
>  p.play();
> }
> 
> var p:VideoDisplay = new VideoDisplay( holder, holder.videoObject );
> p.setAutoPlay( false );
> p.setBufferTime( 5 );
> p.addEventListener(VideoDisplay.onLoadInitEVENT, this);
> p.addEventListener(VideoDisplay.onLoadProgressEVENT, this);
> p.load('file.flv');
> 
> francis
> 
> ----- Original Message ----- 
> From: "John Giotta" <[EMAIL PROTECTED]>
> To: "MotionTwin ActionScript2 Compiler List" <[EMAIL PROTECTED]>; 
> "Open Source Flash Mailing List" <[email protected]>
> Sent: Friday, November 11, 2005 4:51 PM
> Subject: Re: [osflash] [mtasc] play flv
> 
> 
> 
>>Sort of off topic, but I have been experiencing some problems with
>>importing SWFs with precompiled video symbols.
>>
>>I just started a new project and I use SWFMill to create my library,
>>but some reason I can't seem to get the video to work. The strange
>>thing is that it works in a previous project just fine?? Loopy!
>>
>>_______________________________________________
>>osflash mailing list
>>[email protected]
>>http://osflash.org/mailman/listinfo/osflash_osflash.org
>>
> 
> 
> 
> 
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
> 


-- 
Ivan Mosquera

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to