Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-02-2012, 08:04 AM   #1
Arioman
Registered User
 
Join Date: Aug 2012
Posts: 15
Question [AS3] Help me to use FLV playback To play various Flvs

hi

i use flv playback component and i have some movie clip buttons for click on every of theme play one of my flv file

my flv playback component instane name is : pubPlayer

i set script :

Code:
btn1_mc.addEventListener(MouseEvent.CLICK, clickm);

function clickm(event:MouseEvent):void
{
	pubPlayer.source = "flvs/03.flv";
}
for exmaple and all my project work well




but i have some problems specially when i want to use some third party tools like : northcode swf studio

so i want to do exactly this with script but i dont know how !!

for 1 flv file it must be easy and something like this :


Code:
import fl.video.*;

var vid:FLVPlayback;
vid = new FLVPlayback();
vid.scaleMode = VideoScaleMode.MAINTAIN_ASPECT_RATIO;
vid.fullScreenTakeOver = true;
vid.skinScaleMaximum = 1;

function onFullscreenButtonClick(e:MouseEvent):void 
{
	vid.enterFullScreenDisplayState();
}

vid.scaleX = 1;
vid.scaleY = 1;
vid.skinAutoHide = true;
vid.source = test.flv"; 
vid.skin = skin.swf";
vid.skinBackgroundColor = 0x000033;
vid.skinBackgroundAlpha = 0.5;
addChild(vid);

but what about play various flvs ??? how set my movie clip buttons script to play my flv videos ??!?

and i dont want to use xml , i just want to use buttons for play local flvs in a folder


i attach my projet maybe it help to get my point better ...

thanks
Attached Files
File Type: zip arioman.zip (340.9 KB, 22 views)

Last edited by Arioman; 08-02-2012 at 08:36 AM.
Arioman is offline   Reply With Quote
Old 08-03-2012, 06:52 AM   #2
Arioman
Registered User
 
Join Date: Aug 2012
Posts: 15
Default ??!?

no one know can help me to solve this ?!?
Arioman 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


All times are GMT. The time now is 12:46 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.