swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] swfc video


From: iosif budulai
Subject: [Swftools-common] swfc video
Date: Tue, 3 Aug 2010 14:49:03 -0700 (PDT)

Hi,

I am trying to get .flv video streaming to work with swfc.

.flash filename="video.swf" fps=24 bbox=900x500 background="" 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]