ActionScript 2.0 :: FLVplayer Only Play One Flv File?

Aug 19, 2009

I have some flv file on a streaming server and I have a flash that have a FLVPlayback.

At the begin in the flash I have

ActionScript Code:
flvplayer.contentPath = "adress to the movie1.flv";
flvplayer.play();

[Code]....

The strange is when if I change movie2.flv to movie1.flv and then push the button, now it works

Do I have to clear something after I have play a movie to make it ready to play another movie?

View 0 Replies


Similar Posts:


.mov File Doesn't Play In Flvplayer Component

Aug 19, 2009

One of the .mov video file doesn't play in my flvplayer component. While other play as desired. Any clue what may be the reason and how to play that .mov file without conversion to .flv

View 2 Replies

Play .mov Files Through Flvplayer Component?

Aug 18, 2009

I want to play .mov video file in my flvplayer component.

I have to play that .mov file in that format only without any conversion to .flv.

View 7 Replies

Put Control On Play Button Of Flvplayer Component?

Aug 20, 2009

I want to put some control on play button of flvplayer component in AS2.0.How this can be done ??How I can call play button: I don't know how it to be referenced/its name.

View 1 Replies

Flash :: Flvplayer.swf Player To Play Video?

Apr 6, 2010

I am using flvplayer.swf player, it is playing the videos,but before playing the video the player has black screen and a play button. When I click the play button the video plays. Is it possible to show a screen-shot of the video with the play button on top, instead of the blank screen?

View 1 Replies

Professional :: Video Size Of FLVPlayer?

Apr 16, 2010

I have a videos of 16:9 and 4:3 ratio.When I play them in flvplayer having dynamically loaded skin, in 4:3 ratio video the video and skin both get squeezed.I put scale mode to 'mainaspectratio'as desired.But I want skin not to squeeze.As the controls are disorted. How to achieve this?

View 1 Replies

Actionscript 3.0 :: Making A FLVPlayer Stop?

Nov 11, 2009

Okay I'm struggling with my FLVPlayeback component. I have one on my stage, then when you click a button a movie loads in it, but as soon as i click on the home button to go back to frame 1 then the movieclip continues playing, (audio only) when i go back to the FLVPlayer, nothing is playing although you hear the audio and if you load another movie in the FLVplayer it plays over the other one.

I did try

Code: Select allMovieB.stop();

but its not working, it only gives me a

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at WorshipTeam_fla::MainTimeline/onPhotoClick2()

View 4 Replies

ActionScript 2.0 :: Passing A Variable To FLVPlayer?

Oct 11, 2006

I am working on a little gallery to play FLV clips. I have gotten the following working:Frame 1 (labeled list) has a list of the videos with thumbnails that have the following variables assigned for onPress:

videoPath = "path/to/video.flv";
returnTo = "list";
gotoAndPlay("player");

[code].....

View 1 Replies

ActionScript 3.0 :: Play Multiple Videos (all On Xml File) To Play On Button Action?

Jul 14, 2011

I am trying to make a swf with one FLV playback player and 6 buttons. I've got 6 different videofiles that I want to have linked to this swf. Some of the videos are quit large.When starting the Swf, the first video has to start, after playing it, it has to stop. Then you must be able to choose which video to play by clicking one of the buttons. I don't want to have small thumbnails of the video, just plain and simple buttons.I have to have all my files, both fla, swf and xml files in the same directory (I cannot have them stored in different folders, since I have to upload this to a cms system which has limited upload properties).
 
I've tried to find the right script on the internet, I'm not very good at scripting myselve, actually rather poor educated there.It seems to me that I have to make an xml file with a list of all my videos, I have my default swf ready, with a FLVplayback and buttons.Now there's just the coding part....

View 1 Replies

ActionScript 3.0 :: Play / Stop Button - Current Audio File To Play The Next One

Feb 27, 2012

I have created two buttons for separate audio files. Essentially if you click on the button it will play and stop. This works great! I have also injected a SoundMixer.stopAll(); to ensure if you click between both buttons that it will stop the current audio file to play the next one. My problem is when I select the 2nd button for the first time everything seems to be working...it's when I attempt to click on the first button again, that it will require 2 clicks and then it stops and plays accordingly...anyone know how I could eliminate this annoying two click process?

[Code]...

View 1 Replies

ActionScript 3.0 :: Append Flvplayer Setbuffertime From Array?

Mar 30, 2011

I have a flvplayer assigned to the id player and I am trying to set buffer times for videos I have embedded in an array, I understand how to pull the information from my array and have that value be set intoplayer.setBufferTime(value);but when ever I call that command it gives me the error1061: Call to a possibly undefined method setBufferTime through a reference with static type fl.video:FLVPlayback. player.setBufferTime(1);

View 2 Replies

ActionScript 3.0 :: FLVPlayer With Multiple Videos - Via Buttons?

Feb 9, 2011

I have my stage with the FLVPlayer and its easy enough to get it to play one video, but I have a series of buttons on the right hand side (day1, day2, day3.. etc).How can I go about getting a button click to change the FLV srouce and begin playback? And do I need to stop the loading of the previous video, or is that handled automatically?

View 1 Replies

ActionScript 3.0 :: FLVPlayer Stop When Redirecting To Another Frame?

Aug 5, 2011

In main time line i have first frame used for preloader and second for intro. Frame 3 is first screen with videoand my MainMenu with buttons inside mc.
 
Now when I click on button it successfully redirect screen to next frame and load my page, but I still hear music from video. I need to stop playing video when i redirect to frames 4, 5 ....28 where are pages frame by frame. In MainMenu i use
 
import flash.events.MouseEvent;import flash.display.MovieClip;
//menu Domovfunction btnHome(event:MouseEvent):void{    (root as MovieClip).gotoAndPlay(4);}function btnOnas(event:MouseEvent):void{    (root as MovieClip).gotoAndPlay(5);}function btnBoard(event:MouseEvent):void{    (root as

[Code].....

View 2 Replies

ActionScript 3.0 :: Popup FLVPlayer - Cannot Connect After Once Closed

Oct 4, 2011

I am trying to popup (addChild) a movieclip with a close button, which has FLVPlayback component in it. When hit close button, movieclip is removed from the scene and flv is stopped. But when popup the same movieclip again, flv is not correctly loaded into player and progress continues forever.vance.

View 1 Replies

Flash :: Changing Path Of Flvplayer From Timeline In As3?

Sep 9, 2010

I can get the videos to play using the flvplauer component, but im having a little trouble figuring out if and how to dynamically change the path of the flvplayer while running through a timeline. If I can do something like mc.changeFLVPath that would be awesome!

View 1 Replies

ActionScript 3.0 :: FLVPlayer : Seeking To Any Point Like YouTube?

Aug 26, 2009

I am trying to achive is the "SEEK" effect that you find on YouTube. Like suppose the Video is 20 Minutes long and only 5 minutes are loaded and if you click on the 15th minute, the video will start playing from that point.I saw a PHP script some time back which would return the "FLV" which starts from the point which is requested to the PHP Script. I didn't bookmark that I don't know why and it was really long time back.

View 2 Replies

ActionScript 3.0 :: FLVPlayer - Manager Class For Playback?

Jun 18, 2010

So I've got a video player that works great. You hit 'play', it calls the public playVideo() function in the FLVPlayer class to begin playback, and then other things happen accordingly (the PlayerControls class updates to show playbar progress, etc). Currently, it's easy: there's only one type of 'playback', and it talks directly with the FLVplayer class (and PlayerControls, etc).

However, we're adding different types of 'playback' now, where a poster image could optionally show for xxx seconds ahead of the video (and still needs to update the playbar to show progress). We're also doing the same for a video bumper, which plays between the poster image and the video as well (and also needs to update the playbar class).

In all these cases, there is a common "playback" that needs to be able to be paused (in some cases automatically, like when you click on a menu button in the menu to open a separate section) or restarted. Rather than do a check to see isVideoPlaying || isPosterPlaying || isBumperPlaying, it seems to make better sense to lump all these things into a common playback manager interface.

View 1 Replies

Professional :: FLVplayer Question Preview Or Opening Image?

Jan 20, 2010

I hope I am placing this question in the right forum. I have searched everywhere trying to find the answer..
 
I am using Dreamweaver CS4 to insert a FLV video into a web page. Dreamweaver automatically uses FLVPlayer as the flash player. All is working beautifully except that when I first visit my web page, the video area is just a black screen. I would like to put a preview image there instead. Other players just seem to usually have a parameter that you set like "image=" and you point to the .jpg or whatever, but I can't get that to work here.
 
I can't believe I am having this much trouble, and this must be a super simple answer. [URL]..

View 5 Replies

ActionScript 3.0 :: Add A Listener On An Flvplayer That Listens For A Certain Time To Pass

May 6, 2010

is there a way to add a listener on an flvplayer that listens for a certain time to pass - lets say 1 minute so that upon reaching that 1 minute I can call a funciton?

View 1 Replies

ActionScript 3.0 :: Unload FLVPlayer Component - TotalMemory Increases Every Time

Jan 26, 2010

I have added a FLVPlayer component to my clip/class. On REMOVED_FROM_STAGE I call the unloadAndStop on the Loader object and null all references but the totalMemory increases every time. What can I do to remove it completly?

View 2 Replies

AS3 :: Media Server - Video Not Showing - Working On FLVPlayer Using FMS3

Jul 19, 2010

Currently I am working on FLVPlayer using AS3 and FMS3. When I test tthe connection
Traced NetConnection.Connect.Success And I had added eventlistener for NetStream. It also shown NetStream.Play.ResetNetStream.Play.Start But the video is not showing.

View 2 Replies

ActionScript 2.0 :: Create A Custom Video Player Without Using Default FLVplayer?

Jun 19, 2009

How can i create a custom video player with out using the default FLVplayer

View 1 Replies

ActionScript 3.0 :: Button Click Function In FLVPlayer - Converting To Arrays?

Feb 8, 2010

Basically, I have a FLVplayer called vidPlayer and 3 dynamic text fields that put text in when they are clicked. I want to be able to keep the button clicked in the 'over' state, and to do this I believe arrays are needed? Also, an array might be easier, as there is a lot of code to sift through.

Below is the code for the buttons in my flv;
Select all//video player script
function fenwick(event:MouseEvent):void{
vidPlayer.source = "flvs/adver/Fenwick.flv";
}function moneyshopGold(event:MouseEvent):void{
vidPlayer.source = "flvs/adver/MS_Liquid_Gold.flv";
[Code] .....

View 1 Replies

ActionScript 3.0 :: Play An Mp3 File Using NetStream.play?

Mar 23, 2010

I have a "movie player" that plays flv files using the code below (videoToPlay is the name of the file to play and is just a string). I want to use the same setup to play an mp3 file also.I tried using mySound = new Sound(); and then mySound.attachNetStream(ns);, but it gives me this error: 1061: Call to a possibly undefined method attachNetStream through a reference with static type flash.media:Sound.

View 5 Replies

ActionScript 3.0 :: FLVPlayer Error - Seeking Bar / Volume Control Turned Pink

Aug 6, 2009

I just ran into an error I haven't come across yet. The player's seeking bar turned pink and so does the volume control. Don't know what would have caused it. That's what it looks like. And the link is the errors I'm getting when the movies finish playing. I don't know if that as anything to do with it. I tried to narrate what I was doing. [URL].

View 2 Replies

ActionScript 3.0 :: Flash FLVPlayer Video Component Doesn't Works Correctly

Apr 1, 2011

I am trying to add videos to my project, but none of them seems to work correctly. I have a movieclip, which has 3 layers and 2 frames on each layer, 1 frame at nr.1, and frame 2, at nr. 5 in the timeline. I tried to add a FLVPlayer, using a tutorial, but it doesn't works correctly. 1st frame has a stop(); a blank, and 4 buttons + FLVPlayer component. the last frame nr.5, has the AS3 code, the frame label "videocontent", and the same 4 buttons and FLVPlayer component as in the first frame. I've created a classic tween between 1st and 5th frame on the timeline for the buttons and component. even with or without animation, the video is throwed by the Flash on the stage without any coordinates, where he wants by default. The FLVPlayer's buttons are throwed in other place on the stage, and none of them seems to work.

the second issue is that after i click the main menu button, the sound of the video is still playing and to be heard, so that means it is still there. In AS 2, once upon a time, i used some function called removeclip, or unLoadMovie, and it worked.

View 6 Replies

ActionScript 2.0 :: Adding Pause,Play,FastForward,Rewind Controls To A Swf File Via A Loaded Swf File?

Jan 19, 2012

I will try to be as clear as I can. I have an existing swf file that I want to add Play,Pause, FF and Rewind via an externally loaded swf file that has the controls contained in it.I am loading an external swf file that has all of the controls on it via this code:

// Set up the Mouse to use a listener
var mouseListener = new Object();
Mouse.addListener(mouseListener);

[code].....

View 1 Replies

ActionScript 2.0 :: Adding Pause,Play,FastForward,Rewind Controls To A Swf File Via A Loaded Swf File

Mar 25, 2012

I have an existing swf file that I want to add Play,Pause, FF and Rewind via an externally loaded swf file that has the controls contained in it.

I am loading an external swf file that has all of the controls on it via this code:

// Set up the Mouse to use a listener
var mouseListener = new Object();
Mouse.addListener(mouseListener);

[Code]....

I am doing this so I can rollover the viewing window and have it appear. I cannot get any code to work to control the timeline (which is broken down into sections with individual MC's in each section.

What I am looking for is the code to apply to the buttons on the external swf file that has the controls to control the playing of the movie.

View 5 Replies

ActionScript 1/2 :: Loading Swf File Into An Existing Flash File - Script For Waiting It To Play Until It's Fully Loaded?

Feb 6, 2010

I have a flash file that is 1.5mb in size. As it takes about 6 minutes for someone on dialup to load this file, I have created a smaller swf file and loaded the larger one from it but I don't want the larger one to begin to play until it's fully downloaded. How do I set this up? I have set up the action script 2 as follows: loadMovieNum("top2.swf", 0);

View 7 Replies

Attach A Sound To A .fla File That Starts To Play When The File Is Opened?

Sep 8, 2009

I would like to attach a sound to a .fla file that starts to play when the file is opened. I have created a button and would like to be able to use this button for a visitor to the site to mute the sound. So, I'm trying to accomplish two things, first attach a .wav file, then get the mute button to work.

View 1 Replies







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