Click to See Complete Forum and Search --> : No Media Components
andy_landers
02-17-2006, 01:09 PM
Hi guys, hope you can help...i'm using flash mx 2004 education version (i'm a teacher). I want to stream a .flv movie but don't have access to mediaPlayBack component in my version of flash. What are my options ?????
I can't really upgrade as I want to use this with the pupils s part of a new multimedia course we have just introduced..
I know its dead easy with professional but to upgrade would be expensive and I would also have to get the software validated by the people that run out local authorities servers and this takes months....
Any ideas.......
kortex
02-17-2006, 01:11 PM
You can use the 30 day free trials of pro.
andy_landers
02-17-2006, 02:05 PM
Not really an option as this will be an on going thing.. its not me producing a resource once for pupils to use but the pupils who will have to produce streamed video resources as part of their work.
Is there any way i can get the component and use it in my version of flash ?????
deadbeat
02-17-2006, 04:18 PM
For basic video streaming (progressive download, really):
First, click the popup menu in the Library panel and select New Video. Drag an instance of the video onto the stage and give it an instance name (ie: myVideo). Then add this code:
nc= new NetConnection();
nc.connect(null);
nc.onStatus=function(info){
trace("nc: "+info.code);
}
stream= new NetStream(nc);
_root.video.attachVideo(stream);
stream.setBufferTime(3);
stream.play("myfile.flv");
HTH,
K.
andy_landers
02-18-2006, 06:34 AM
Hi, thanks alot... I had a go at that and it will play fine but only the sound comes out no picture.... any ideas why this is happening..
andy_landers
02-18-2006, 07:58 AM
no worries...sorted it...wrong instance name...thanks for all you help i'm really new at this. just now need to add some control buttons and a progress bar.
Finally, any ideas why both using thsi code or using MediaPlayBack component both work fine on my local computer but when I upload to the my isp the video does not play...does my isp need to do anything to support .flv files ??????
flashkit.com
Copyright Internet.com Inc., All Rights Reserved.