ActionScript 3.0 :: Load Different Flv's Into FLVPlayback Component On Stage Via Buttons

Oct 15, 2010

im trying to load different flv's into an FLVPlayback component on my stage via buttons.[code]1119: Access of possibly undefined property videoSource through a reference with static type flash.display:SimpleButton.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Flvplayback Component Buttons Don't Auto-Hide Sometimes In Some Browser?

Dec 21, 2008

I was wondering if anyone knew how to hide the skin in the flvplayback component on ROLL_OUT. SkinAutoHide seems to work whenever it feels like it and sometimes the button controls just stay over the video. This happens in Safari and IE I believe. I am used Actionscipt 3.0OR does anyone know how to get to the display list of the component, where all the names to all the buttons (and skin) is housed, using the instance names from the component fla file does not work. I looked at the documentation and the names of all the button sprites are there, but i need the name of the background that the buttons sit on top of.

View 5 Replies

ActionScript 3.0 :: Switching To Fullscreen With FLVPlayback Component On Stage

Sep 5, 2009

I've encountered a really frustrating problem recently when switching to StageDisplayState.FULL_SCREEN with a FLVPlayback component on the stage.

My movie:
bottom layer: a movie clip inside of which is a FLVPlayback component playing a flv movie
upper layer: movie clip (logo), second mc (fullscreen button)

Fullscreen button code:
function doFullscreen(event:MouseEvent):void {
if(stage.displayState == StageDisplayState.FULL_SCREEN){
stage.displayState = StageDisplayState.NORMAL;
} else {
stage.displayState = StageDisplayState.FULL_SCREEN;
}}bFullscreen.addEventListener(MouseEvent.CLICK, doFullscreen);

Effect (Before clicking the fullscreen button):
Everything is okay, the movie plays, logo and button are visible.

Effect (After clicking the fullscreen button):
The only thing that is visible is the playing movie, but logo and fullscreen button disappear.

What happens:
The mc with the FLVPlayback component gets the highest child index and covers the logo and button. It is not the problem with aligning logo and button on the stage, as without the FLVPlayback component they are perfectly aligned. I also tried to manually switch the depth of the mc with the FLVComponent, unfortunately without any result.

View 1 Replies

ActionScript 3.0 :: Load FLV Into FLVPlayback Component?

Feb 10, 2010

I have an array of videos coming from an XML doc. I am getting the name of my video in the trace statement okay, but am not sure how to go about loading the FLV video into the player.I have an FLVPlayback component on the interface named "video". The video I'm going to load will be ("videos/" + videoArray[0]))

View 3 Replies

ActionScript 3.0 :: Html Webpage Load Multiple Flash Simultaneously Which Uses FLVplayback Component?

Mar 28, 2012

Can a html webpage load multiple flash simultaneously which uses FLVplayback component ? Because I am trying to create a webpage then loads and play multiple videos in flv format simultaneously and was thinking of using 3 or more flash file to play the videos.

View 5 Replies

ActionScript 3.0 :: Putting Multiple Instances Of The FlvPlayback Component In Different Frames And Using Buttons To Navigate To Frames

May 2, 2011

there seems to be no accepted method of playing multiple flv using buttons. My latest attempt has me putting multiple instances of the flvPlayback component in different frames and using buttons to navigate to those frames. It works but nothing anyone has posted anywhere will result in removing the flv when you go to a different frame and instance. This was simple in AS2. Load movie to a traget and each time you load a new movie the other one goes away. REALLY goes away.

View 7 Replies

ActionScript 3.0 :: [CS3/4] Load "internal" FLV From Library Into FLVPlayback Component?

Jan 11, 2010

I have an interactive presentation which will have a small barker video with audio in the corner which will play through and loop as the user is moving through the presentation. On some screens of the presentation, I won't have room for the video, so I'll need to hide the video, but continue to play the audio from the same point.I thought the easiest way to accomplish this would be to just use a "skinless" FLVPlayback component which I could then just set to visible=false when I need to hide the video.

However, the FLVPlayback component seems to want a URL to an external FLV file. I would prefer to just include the FLV in the FLA's library, so that I don't have to keep track where the external FLV is, or make sure that the published SWF can find the folder where the external FLV is stored.So, is there a way to point FLVPlayback.source to an FLV asset in the Library instead of giving it an external URL?I realize I could just import the FLV to the library and add it to the stage manually at authortime;

View 2 Replies

Actionscript 3 :: Control The FLVPlayback Component's Volume Using The Slider Component In Flash?

Mar 20, 2012

I was wondering if there was a way to get the sound from a FLVPlayback component and manipulate it with using a custom volume slider? Within my Actionscript I currently have this code which enables me to control the volume of a MP3:

import fl.events.SliderEvent;
var mysong = new music();
var myChannel:SoundChannel = new SoundChannel();
var myTransform = new SoundTransform();
myChannel = mysong.play(0,10);

[Code]...

But Instead of using the MP3 for sound, is there a way to use an FLV's sound instead?

View 1 Replies

ActionScript 3.0 :: UILoader + Load One Of The 2 Swfs - It Depends Of 2 Buttons On Stage

Oct 17, 2009

I`m using AS3 + CS4, and have a problem. At the main page I have "loader" - UILoader, in which I want to load one of the 2 swfs - it depends of 2 buttons on stage

[Code]...

By default main_ru.swf is loaded, and after I press en_button I can see only a part of main_en.swf, and larger part of main_ru.swf. why?

View 14 Replies

How To Loop Flvplayback Component

Aug 17, 2010

I know nothing about flash but this is what I am doind with CS5 Adobe Flash Professional:1. Import video. I type in the server location of my .mp4 file.Now when I save it and embed on a webpage it loads and works perfect, however it is not looping. So my question is in adobe flash professional what do I need to exactly?

View 1 Replies

Add Time To FLVplayback Component?

Feb 9, 2010

Im using the FLVplayback component for a project im doing. I want to add the time elapsed and time left on the controls. I dont really want to create my own controls, as im happy with the flv playback component. The FLVs playing in the component are external and are loaded into it via as3

View 13 Replies

ActionScript 2.0 :: Using The FlvPlayBack Component?

Apr 8, 2011

With autoHide set to true would like to have the skin show when a video is loaded then fade away after a couple of seconds.

View 3 Replies

Can't Get FLVplayback Component To Fullscreen Correctly

Sep 30, 2010

I have tried numerous things but when I insert the FLVplayback Component into flash that is linked to an external video source the fullscreen function will not work but the video plays as needed.

View 15 Replies

ActionScript 3.0 :: Refresh The FLVPlayBack Component?

Dec 21, 2010

I am working on AS3 project using Flash CS3. I have to display some videos using FLVPlayBack component. I am using the same component instance to display videos but when a new video is loaded the max duration property does not updates and hence the onComplete event is never fired. I somehow wanted to refresh the component when a new video is to be played.

View 1 Replies

ActionScript 3.0 :: Addressing A Flvplayback Component?

Jun 11, 2009

I imported the flvplayback component on-stage in one frame and gave the instance a name of hv.If a button takes the movie to another frame, how do I pause the flv at that point

View 1 Replies

ActionScript 3.0 :: How To Unload A FlvPlayback Component

Jun 29, 2009

What are steps to do unload a flv file after clearing necessary memory used for its loading and also to remove the FLVPlayback component.his is the code i have used for creating FLVPlayback component and setting its source.
 
public  var m_flvPlayer:FLVPlayback;
m_flvPlayer= new FLVPlayback();
m_flvPlayer.autoPlay = false;

[code].......

View 12 Replies

ActionScript 1/2 :: How To Recognize FLVPlayback Component

Jul 13, 2009

Publish to Flash 8 and using the FLVPlayback component as part of a larger elearning course.We have a legacy pause button that works by recursively looking through every item on stage and if the item is a movieclip following its children and so on. Something like this (there is more to the whole thing, but this is where the problem is):
 
findCurrent = function (obj){ // RECURSIVE SEARCH FOR MOVIECLIPS for (var i in obj) {  if (typeof (obj[i]) == "movieclip" && obj[i] != obj) {   if (obj[i]._name == "pauser"{
continue;   }   var m = obj[i];   m.frameWas = m._currentFrame;   isCurrent.push(m);   findCurrent(m);  } }};
 
The issue is that when using the FLVPlayback component the 256 recursions limit is reached. I'm guessing that the video part contains a reference to playback controls skin and the playback controls skin contains a reference to the video part and the recursion just goes round and round till it hits the limit and then all actionscript is disabled for the rest of the file.
 
I thought of adding a counter, and that is probabaly a good idea, but I was wondering if there is anyway to identify that I've hit a video player and stop following it?
 
Obviously the topeof(myVideoPlayer) is coming back as "movieclip" or I wouldn't be getting this problem. I don't think there is a getQualifiedName for AS2, right? I looked at the properties and couldn't find one that said, "clearlyVideoPlayer."

View 3 Replies

ActionScript 1/2 :: FLVPlayback Component Volume?

Aug 16, 2009

I'm using the FLVPlayback component to play a movie. In the parameters, I'm setting volume to "8" where the default is "1".This works great and gives me the right volume setting, but if the user touches the volume slider (which I'd like to keep), the new maximum volume is only one.

View 2 Replies

Play Mp3 File Using Flvplayback Component?

Mar 9, 2010

Is there any way that i can load a local mp3 file using flvplayback?

View 2 Replies

Professional :: Trying To Modify FLVPlayback Component

Aug 27, 2010

I try to modify ncmanager file. (I want add parameter when connect method is called). I've edited this file but nothing happens in my application. After two hours of headacke, I delete NCManager (I've made a copy on my USB key).I try to place a FLVPlayback on my scene : no problem ! I can place it, but it does'nt work as I want.So I discover that even I try to change NCManager, this file isn't read.I need help to understand what I must do when I modify these file. Should I have to put it somewhere ? must I compile them and how ?

View 14 Replies

ActionScript 2.0 :: Use Cue Points With FLVplayback Component?

Sep 12, 2009

I need to use cue points in an FLVplayback component to load other movies. I've looked at several tuts, but most are for navigation.

View 7 Replies

Actionscript 3.0 :: Looping .flv With The FLVPlayBack Component?

Sep 3, 2009

I've noticed, that placing an FLVPlayBack component on Stage, instancenaming it myFLVPlayer and using this code:

Code: Select allmyFLVPlayer.addEventListener(Event.COMPLETE, playAgain);
function playAgain(e:Event):void {
trace("starting over");

[Code]....

View 2 Replies

Actionscript 3.0 :: XML And FLVPlayback Component Won't Play

Apr 8, 2010

Video won't play from XML

I have been trying to pull a single random video (.flv) from an XML list to play it using the FLVPlayback component. I managed to get the description from the <desc> tag and the title <vidtitle> tag in the xml file but can't get the flv to play in the player.

I dragged a FLVPlayback component onto the stage and gave it an instance name of "display" but I still cannot get it to work. I get no errors when hitting "control + enter" the video never loads. My code is below.

Code: Select all//Let's load our video classes
import fl.video.*;
import flash.events.Event;
import flash.net.*;

[Code].....

View 1 Replies

ActionScript 3.0 :: FLVPlayback Component - SeekBarHandle?

Dec 28, 2009

I'm working with an FLVPlayback component in Flash CS4 and I'm trying to target the seek bar handle, which according to what I've read so far, is created at runtime and it's assigned an instance name of handle_mc.I've tried targeting that, but with no success. After researching for most of my day and trying several different methods, I have no idea what else to do to have access to that handle and change its alpha property

View 1 Replies

ActionScript 3.0 :: Highlight Color For Flvplayback Component?

May 14, 2009

I did a search, but couldn't find my issue, which was rather surprising. I have an actionscript 3.0 component (flvplayback) and I want to simply change the highlight color from the default green color. You used to be able to do this by a style manger "halo" color or something I don't remember exactly (AS 2.0), but this doesn't work w/ 3.0 components. I thought I could double click on the component in the library, but I can't seem to change the style that way either. I have also tried to place individual items on the stage, like the play button and change the styles there, but it doesn't inherit the changes to the flvplayback component.

View 2 Replies

ActionScript 3.0 :: Flvplayback Component Viewing Multiple Flv's?

May 14, 2009

i have set up a flvplayback instance and when a button is clicked i want it to load in and play a new flv
 
i have the following code:
 
// Add FLVPlayback Class (required for Playing flv's)import fl.video.*;// Create a new FLVPlayback object to hold the video var myVideo:FLVPlayback = new FLVPlayback();// set the width of the videomyVideo.width = 544;//set the video's widthmyVideo.height = 304;//set the video's heightmyVideo.x = 200;//set the video's horizontal positionmyVideo.y = 88;//set the video's vertical position// set the video source to the current video stored in the variable myFlvmyVideo.source = myFlv;// put the video on the stageaddChild(myVideo);
 
all this works fine and the first flv loads and plays fine no problems

[Code]...
 
I know how to use netstream but unless there is a way to use skins with it its not the way i want to go.

View 3 Replies

Media Server :: Akamai FMS And FLVPlayback Component?

May 27, 2009

I have a couple of lessons that I have created in Flash CS3 for Flash Player 9 with AS3.In the main timeline of the lessons I have an flvplayback component setup to connect to our instance of Akamai's flash ondemand application to stream down several videos.
 
I have a customer who is behind a client side proxy server that is having an issue where the first 10-15 seconds of the any video plays then the video drops out and it appears that the flash player attempts to make a connection on another port which causes multiple audio streams to play but the video never comes back.From the network sniffer read out that their IT send me it appears that the flash player initially attempts to get out on port 80 then attempts port 1935 then attempts 443. if there is anyway to stop the flvplayback component from attempting multiple connections?
 
I created a stripped out application that just has a flvplayback component in it and when the end user opens that one it streams the video fine. I can only assume that my lessons which are using scorm and webservices to make database updates are reaching some bandwidth limit that the end users proxy doesn't like.

View 1 Replies

ActionScript 1/2 :: Passing Value From Js To As In A Flvplayback Component Not Working

Jun 2, 2009

my flvplayback component is not working when i tried to pass the url of the video to be played from js to the actionscript.(using actionscript 2)
 
I properly embedded the swf and added the object ids as well. i just assigned the url to a string and then passed it to the function in the as but it's not working...

View 3 Replies

ActionScript 3.0 :: Flvplayback Component Not Progressively Downloading?

Jul 6, 2009

The problem is that f4v files that are not playing progressively. they fully download before starting to play.Here's the code (newly modified without success) for a simple module that plays 3 different f4v's on radio buttons. In theory they should stream progressively in a flvplayback instance called qualtestplayer when a radio button is pushed. [code]...

View 6 Replies

ActionScript 3.0 :: Will FLVPlayback Component Play MP3s Without FMS?

Sep 29, 2009

Will the FLVPlayback Component (version 2.5.0.15) play an MP3 file without it having to be streamed through a Flash Media Server? All I'm looking for is to place a player into my Flash that plays an MP3 file that's in the same directory as the SWF.

Here's my code... it's pretty simple:
import fl.video.FLVPlayback;
var myMusic:FLVPlayback = new FLVPlayback();
myMusic.source = "mySong.mp3";
myMusic.skin = "SkinOverPlayMute.swf";
myMusic.skinBackgroundColor = 0xCCCCCC;
addChild(myMusic);

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved