ActionScript 3.0 :: Displaying Buffer Message/ Mc With FLVPlayback Component

Apr 6, 2009

Flash version CS3 AS version AS3 Skill level - AS2 Flash 8 - better than Average. Skill level - AS3 - a little better than beginner.

Problem: Creating an FLV movie using CS3 / AS3 FLVPlayback component. Having problems with buffering issues - large FLV file 23 MB

I'd like to add either text or an animated movie clip that displays a "buffering" message before the movie is loaded enough to play AND if the play head catches the buffer, I want it to show again until the movie has rebuffered and then disappear when it starts playing again.

how this can be done with a custom player using netstream, but having a heck of a time finding anything that shows how to do it with the FLVPlayback component.

What I've done:

This is my video as it stands at the moment. [URL]

I have added a progress bar per the instructions in this tutorial [URL] (I used the section titled: "Adding a progress bar component" - the code is identical to what is displayed there.)

However, even though the progress bar is displayed, it is not displayed long enough for enough of the FLV to be buffered to play smoothly.

Hence my interest in adding a 'buffering' message. Either that, or display the progress bar long enough to buffer enough of the movie so that it doesn't stutter or stall during initial playback.

View 1 Replies


Similar Posts:


ActionScript 1/2 :: Hide Buffer And Controls Of The FLVPlayback Component?

Apr 8, 2009

I tried to look this up, but can't seem to find what I am looking for. How do I hide the FLV Buffer in the beginning and the playback controls that come with it?

View 1 Replies

ActionScript 2.0 :: FLVPlayback Ideal Value For Buffer Time?

Jan 11, 2008

I wanted to know if there is any ideal value for the buffer time for a video streaming. What factors determine the video player's buffertime so that the video plays smoothly at the client end. I'm using a buffer time of 6 sec. My video is expected to be between 1 - 7 min. and The player is be hosted on a public website, which means the audience could be with varying internet bandwith. How do i know if 6 sec is perfect for my audiences or not. Is there bright idea?

View 1 Replies

ActionScript 3.0 :: Flvplayback, Rewinding With .seek(0) Getting An Audio Pop - How To Clear Buffer

Sep 28, 2011

I have an flvplayback component on the stage of a parent flash project. One can preview a video that has some text overlaying it that the user entered in a previous scene.  Dynamic cuepoints sync the video with the overlaying text.If the viewer doesn't like the preview they can go back to the previous scene, edit the text, and rewatch/preview the video with the overlaying text to make sure they like it.
 
I'm running into an issue when they stop watching the video preview, they go back to the previous scene and they return to the video preview scene. I stop the video with a .stop() and I rewind it with a .seek(0) but when they return to the video player and rewatch the video there's a brief audio pop. I'm assuming the pop is a bit of video/audio left in the buffer of the flvplayback component.
 
My question is - is there a way or what is the best way to clear the buffer of the flvplayback component when I rewind the video so it can be replayed?Is there a better way to rewind an flvplayback to the beginning other than .stop() & seek(0) so I don't get a audio pop when it's replayed?

View 1 Replies

Professional :: FLVPlayback Buffer: Video Loads Invisibly Until Fully Loaded?

Jul 28, 2011

A website I've recently encoded has HTML5 video that falls back to a Flash video for IE browsers. The MP4 video is played through a SWF file with an FLVPlayBack component, and works perfectly on my company's staging environment. However, once we moved the files to the client's live site, the video's buffering does not work properly. Instead of showing the video controllers and progress bar as the video loads, nothing is shown until the video file is completely downloaded (about 50MB)Here are the settings used for the SWF file and FLVPlayBack Component:

FLVPlayBack:
autoPlay: off
autoRewind: on

[code].....

View 3 Replies

Flash :: Send A Message To Stage If AS3 FLVPlayback Stream Isn't Found?

Mar 10, 2011

I've successfully created an FLVPlayback component using the component library and it's playing the streaming video that I want it to. My question is, if that stream is not online or cannot be found, how would I go about displaying a message on the stage to let the user know, there is no active stream.

UPDATED:
Here's my code -

thestream.addEventListener(NetStatusEvent.NET_STATUS, onNCStatus);
function onNCStatus(event:NetStatusEvent):void {
trace(event.info.code)[code].....

There's no output still. It seems like the function isn't getting invoked. However, if I place a trace outside the function (before it), I get a response: trace(NetStatusEvent.NET_STATUS);

the output:

netStatus

View 3 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 :: Possible To Add A Buffer To A Video That Is Loaded Though FLV Component?

Feb 3, 2011

Works fine however online it takes some time to start and it just has a blank screen for about 7-8 seconds before it starts the videoIs there any way to add a buffering message until it loads the video?I know that buffering is easier to do with NetStream.. but in this case im using Flash's CS5 FLV component which it doesnt give it as an option in the properties...

View 6 Replies

ActionScript 2.0 :: Set The Buffer Time For A Media Component?

May 27, 2008

how to set the buffer time for a media component. Like the mediaController or Display?

View 2 Replies

ActionScript 3.0 :: Displaying User Input In Welcome Message

Feb 8, 2009

The goal is to have the user enter their name in the input text box and then click start. When they click start a ball starts rolling and a welcome message should display "Welcome + name". At first the ball is rolling fine and the name is displayed - but after about 3 seconds the frames sort of flip and "Welcome name" turns into just "Welcome" (name dissapears)

I'm sure it's something really dumb but my eyes are crossing.
- layer 1 is my circle image (myCircle)
- layer 2 is my button (startButton)
- layer 3 is the input field (inputName) and the dynamic field (displayName)

Here's the code:
stop();
var inputName:TextField = new TextField();
inputName.type = TextFieldType.INPUT;
inputName.x=200;
inputName.y=100;
inputName.width=150;
inputName.height=20;
inputName.border = true;
addChild(inputName);
[Code] .....

View 1 Replies

ActionScript 2.0 :: Array And Multiple TextBoxes - Displaying Message?

Aug 28, 2010

I have an array and 4 text boxes (named lane1, lane2, lane3 and lane4), and the array tells me which text box to put text in. This is my current code:

Code:
lane = ["lane1", "lane2", "lane3", "lane4"];
messageLane = ["2","3","1","3","1","1","1","1","1","1","2","3","2","1","1"];
messageLetter = ["4","4","0","4","0","2","6","0","2","0","6","4","6","5","2"];
step=0;
onEnterFrame=function(){
number1=(messageLane[step]);
number2=messageLetter[step];
lane[number1].text = number2;
step++;
}

I used an array called lane because it wasn't working without the array, but still isn't. I kept the array just because it keeps it just a bit organized. The trouble is the line:
lane[number1].text = number2;
Because lane[number1].text isn't recognized as a text box, well not a text box with the same name as I want at least... Each four text boxes do not show anything?

View 4 Replies

ActionScript 3.0 :: SubmitButton - Error Message Not Displaying In Dynamic TextField

Nov 13, 2009

I have this code (below) where a user enters 6 numbers ranging from 1-49 but they cannot enter any other number apart from the ones specified. If they do press the submitButton at this point it should trace the error message 'OUT OF RANGE' into a dynamic text field. My problem is that I don't know why the error message wont display in the dynamic text field in the scene.

submitButton.addEventListener(MouseEvent.CLICK, submitInfo);
function submitInfo(event) {
var index:int = -1;
var num:int=0;
var myArray_array:Array = new Array ();
[Code] .....

View 5 Replies

Flash - Put A Button Component Getting Error Message?

Oct 18, 2011

I was to just put a button component and the script below for the page to go back to home when pressed:

[code]...

For some reason, it's giving the following error messages below Don't know why this is happening - it is supposed to be a simple script to work quickly error-free right?

View 1 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

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

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







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