Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 12-30-2007, 01:41 AM   #1
lloydmav
Registered User
 
Join Date: Dec 2007
Posts: 31
Default [AS2] Using FLV Playback Component

Hi,

I'm trying to find a way of playing an flvplayback component in my as2 flash project. The only way I can find to do it is using the import video wizard but I need to be able to do this using actionscript.

I know how to do it in as3 but have no idea how to do it in AS2. I would like to use this instead of the netstream and netconnection methods so that I don't have to calculate buffering for different connections etc

Can't seem to find the code I'm looking for on the internet anywhere, can anyone help? is this possible in AS2?

Thanks

Lloyd
lloydmav is offline   Reply With Quote
Old 12-30-2007, 09:31 AM   #2
lloydmav
Registered User
 
Join Date: Dec 2007
Posts: 31
Default

Basically how do I convert these 4 lines of code back to AS2?????

ActionScript Code:
import fl.video.*; var my_FLVPlybk = new FLVPlayback(); addChild(my_FLVPlybk); my_FLVPlybk.source = "iiGym Promos/i_gym_video_master_2_12_004.flv";

Thanks

Lloyd

Last edited by lloydmav; 12-30-2007 at 09:34 AM.
lloydmav is offline   Reply With Quote
Old 12-30-2007, 12:28 PM   #3
lloydmav
Registered User
 
Join Date: Dec 2007
Posts: 31
Default

figured it out....

import mx.video.*;
stop();
this.attachMovie("FLVPlayback", "my_FLVPlybk", 10, {width:320, height:240, x:100, y:100});
//my_FLVPlybk.skin = "file:///install_drive|/Program Files/Adobe/Adobe Flash CS3/en/Configuration/FLVPlayback Skins/ActionScript 2.0/ClearOverPlaySeekMute.swf"
my_FLVPlybk.contentPath = "";
lloydmav is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using FLV Playback component to dispaly .flv fils using FMS Vikas Sharma Flash Media Server 2 01-24-2008 07:10 PM
FLV Playback Component Aurora Components 0 10-15-2007 03:49 PM
list component loading flv into flv playback component ad5k Components 0 09-19-2007 09:00 PM
Adding Images to the List component while using the FLV PLayback coldfusion.developer Components 2 08-17-2007 09:57 AM
FLV playback component VS video symbol pitale ActionScript 2.0 1 05-15-2007 09:28 AM


All times are GMT. The time now is 02:09 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.