  | |  | Best practice for creating FLV video files | Best practice for creating FLV video files 2005-10-28 - By elusive
Back Hi Stephen,
i took a look at the code and it's basically what the flash help says - so it wont make sense to paste it into this email. simply hit help/actionscript dictionary
what you need is video class NetConnection Class and NetStream Class
here's the example from video class/ Video.attachVideo:
var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(my_nc); my_video.attachVideo(ns); // my_video is a Video object on the Stage ns.play("myVideo.flv");
it's realy simple.
but dont forget to put a video object onto the stage. see "To place a Video object on the Stage:..." in video class
hope this helps
elu
Am 28.10.2005 um 15:30 schrieb Stevio:
> Would you say it is acceptable to just code it for version 8 and > put a note on the web site saying to install the version Flash 8 > player when prompted? > > If not, are you able to direct me to a help file or guide with > instructions for using those classes to create a version 7 file? > The difference in quality between Sorenson and On2 codings is quite > noticeable. > > Stephen > > > -- -- Original Message -- -- From: "elusive" <elu@(protected)> > To: "Mailing list for professional Flash designers and developers" > <flashpro@(protected)> > Sent: Friday, October 28, 2005 8:35 AM > Subject: Re: [flashpro] Best practice for creating FLV video files > > > >> i just did it using the netStream, vidStream and video classes. >> >> it's easy. >> >> e >> >> Am 27.10.2005 um 23:58 schrieb Stevio: >> >> >>> -- -- Original Message -- -- From: "eric choisy" <bbp@(protected) >>> online.com> >>> >>> >>>>> If so, I have another question - when I coded the video using >>>>> Sorenson for Flash player 7, and then created the SWF file in >>>>> Flash and set the Publish settings for Flash Player 7 version >>>>> and hit Publish, I get a warning saying that this movie uses >>>>> features that are not supported in Flash Player version 7: >>>>> >>>>> "Scene=Scene 1, layer=Layer 1, frame=1:The component >>>>> 'FLVPlayback' requires Flash Player 8 or later." >>>>> >>>>> How can that be if I have coded it using Sorenson? >>>>> >>>>> >>> >>> >>> >>>> you certainly use the flvplayback component that require flash 8 >>>> player !! >>>> >>>> >>> >>> How do you create a swf file that plays an FLV file for Flash >>> player 6 or 7 without using the flvplayback component? >>> >>> Thanks, >>> Stephen >>> > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- > send message to the list: mailto:flashpro@(protected) > [FlashPro] list info, subscribe, archive: http://flash-list.com/ > There's also a WebPro mailing list: http://webdesign-list.com/ > cutting-edge sounds for flash: http://flash-sounds.com/ >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- send message to the list: mailto:flashpro@(protected) [FlashPro] list info, subscribe, archive: http://flash-list.com/ There's also a WebPro mailing list: http://webdesign-list.com/ cutting-edge sounds for flash: http://flash-sounds.com/
Earn $52 per hosting referral at Lunarpages.
|
|
 |