From: Chris Pugh <address@hidden>
To: swftools-common <address@hidden>
Cc: iosif budulai <address@hidden>
Sent: Wed, August 4, 2010 12:44:30 AM
Subject: Re: [Swftools-common] swfc video
On 4 August 2010 00:13, Ricardo Pedroso <address@hidden
> On Tue, Aug 3, 2010 at 10:49 PM, iosif budulai <address@hidden
>> I am trying to get .flv video streaming to work with swfc.
>> .flash filename="video.swf" fps=24 bbox=900x500 background="" version=8
>> video_nc = new NetConnection();
>> video_ns = new NetStream(video_nc);
>> video_holder = new Video();
>> What I get working from this is only the sound.
>> If I remove all the lines with video_holder the result is the same, only
>> The problem I guess here is the video object.
>> What I found out is that even in Adobe Flash you can't create the video
>> object only with actionscript 2:
>> Video streaming with flex:
>> Ming videostreaming example:
>> Here I can't find the correspondence of this line $stream = new
>> SWFVideoStream(); in
>> I am not sure this feature exist in swfc and I am not sure this can be
>> created with actionscript 2 alone.
>> There is any solution to this or any work around?
> Jens Michel Gens have a bunch of swfc samples
> This one is for video, but in as3 - http://jeanmichel.gens.free.fr/swfc/video.sc
It''s a good while back now.. can't actually recall whether I got this
going or not with swfc. Will have to check. It can certainly be done
Embedding the Video Object within a Movie Object, then embedding
that Movie Object on the Stage, may help..
The alternative is using the
Flash Player FLV component, or else
embedding a pre-compiled basic SWF.player, which allows full
customisation. Plenty of them out there to grab..
I was thinking about pre-compiles swf player, yes this can be a solution.
I haven't get it work embedding the video object into a movie
I have to dig more to get familiar with FLV component, and I like to keep the code as simple as possible and to have full control over it.