[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] swfc video
From: |
Chris Pugh |
Subject: |
Re: [Swftools-common] swfc video |
Date: |
Wed, 4 Aug 2010 06:44:30 +0200 |
On 4 August 2010 00:13, Ricardo Pedroso <address@hidden> wrote:
> On Tue, Aug 3, 2010 at 10:49 PM, iosif budulai <address@hidden> wrote:
>> Hi,
>> I am trying to get .flv video streaming to work with swfc.
>> .flash filename="video.swf" fps=24 bbox=900x500 background=grey version=8
>> .action:
>> video_nc = new NetConnection();
>> video_nc.connect(null);
>> video_ns = new NetStream(video_nc);
>> video_holder = new Video();
>> video_holder.attachNetStream(video_ns);
>> video_ns.play('600.flv');
>> video_holder._x=50;
>> video_holder._y=50;
>> .end
>> .end
>> 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
>> sound.
>> 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:
>> http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part3_Using_V2_Components_1.html
>> Video streaming with flex:
>> http://livedocs.adobe.com/flex/201/langref/flash/media/Video.html#includeExamplesSummary
>> Ming videostreaming example:
>> http://www.gazbming.com/
>> Here I can't find the correspondence of this line $stream = new
>> SWFVideoStream(); in swfc.
>> 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?
>> Regards,
>> Iosif
>>
>
> Jens Michel Gens have a bunch of swfc samples
> (http://jeanmichel.gens.free.fr/swfc/)
>
> This one is for video, but in as3 -
> http://jeanmichel.gens.free.fr/swfc/video.sc
>
> Ricardo
>
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
under AS2.
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..
Cheers,
Chris.
- [Swftools-common] swfc video, iosif budulai, 2010/08/03
- Re: [Swftools-common] swfc video, Ricardo Pedroso, 2010/08/03
- Re: [Swftools-common] swfc video,
Chris Pugh <=
- Re: [Swftools-common] swfc video, iosif budulai, 2010/08/04
- Re: [Swftools-common] swfc video, iosif budulai, 2010/08/05
- Re: [Swftools-common] swfc video, Ricardo Pedroso, 2010/08/05
- Re: [Swftools-common] swfc video, iosif budulai, 2010/08/05
- Re: [Swftools-common] swfc video, Ricardo Pedroso, 2010/08/05
- Re: [Swftools-common] swfc video, iosif budulai, 2010/08/05
- Re: [Swftools-common] swfc video, Chris Pugh, 2010/08/06