Skip to Content

How to load FLV videos into Flash

Author: Bill Trikojus

This tutorial will demonstrate how to load multiple Flash videos (.flv files) into Flash and control their playback using the FLVPlayback component. An alternative to the method shown in this tutorial is to load the FLV files using the Netstream object. You can download a Netstream / FLV example here

bulletLaunch video file

bulletBack


Share

Like this? Click a link below to share it...


Subscribe and Download

Subscribe to the Swinburne Faculty of Design Podcasts

Comments

2008-07-16: bharath.M said:
how to load a video file/avi/any video format file into flash with actionscript2. please reply soon

2008-08-17: Santiago Csirke said:
Thanks! That's just what I was looking for. There should be more people like you, helping freely.

2009-07-08: Ian said:
This video was a tremendous help. Thank you!

2009-08-18: alireza said:
hi . i use your code's in my flash . it work but with problem . my problem is this :
i have 6 button's and i want change the video in video_mc when i click on them . i use your final code my mean's " var listenerObject.... " but when i click on my btn's the video size's get smaler with every click . i dont know why , cecause i use " var .. code " and i use " video_mc.setSize .... " . but it not work . pleas help me . pleas send your answere to my mail . thanks

2009-08-18: Bill Trikojus said:
yes I've seen that before. I can't remember the exact fix. Had something to do with getting the right combination of maintainAspectRatio, allowScale and other flvplayback properties.

2009-08-24: Daniel said:
Thanks, but please don't move the mouse around too much, its a bit distracting..

2009-08-25: Bill Trikojus said:
I can't promise I'll try, but I'll try to try.

2009-09-27: jack said:
Bill,

Thank you very much for your excellent tutorial, which has helped me on my AS2 journey.

Regards,
Jack


2009-09-27: jack said:
Bill,

I am currently working on a Flash AS2 Page-Flip Magazine... it is chokka with videos, external swfs, sounz, images etc. This causes a drain on CPU/memory/etc

How can I UNLOAD ALL a page's assets, after each page flip?

Post a comment

Garbage posts and SPAM will be deleted.

* Name:
* Email: (will not be made public)
* Comment:
* Reply Notification: