ActionScript 3.0 :: Control Bar On FLVPlayback?
Nov 29, 2010I am using a FLVPlayback component.Is there a way to turn off the 'control bar'?
View 1 RepliesI am using a FLVPlayback component.Is there a way to turn off the 'control bar'?
View 1 Repliesdoes anyone know how to make the flvplayback control accessible? meaning to be able to use the tab key to navigate the play,stop,fwd,back buttons? According to Adobe I should be able to load up a skin and its already set.
"All skins provided by Flash CS4 Professional support keyboard and screen reader access, so developers simply insert the FLVPlayback component on the stage in Flash no configuration is needed."
This is incorrect. I have tried to load several different skins and it fails, my coworker tried with her system "fail" I've managed to create my own playback bar (sorta) and was able to get the tab to work by assigning tab indexs however the flvplayback skins does not allow tab indexing.
I cant actionscript worth a lick so using my playback bar is not an option and the SkinUnderAllNoFullscreen playback was the chosen controller. point me in the right direction. Adobe and the forums over there were of no help.
I am facing a weird issue while using FLVPlayback control.I have created a class which internally creates an instanceof the FLVPlayback control and sets the skin toSkinOverPlayStopSeekFullVol.swf.In the main program I have created n instances for this classto load different flv files [just like any multi windowedapplication, with each window playing its own flv file]. Once I click FullScreen button the video loaded last alwaysget in to full screen mode; irrespective of the
View 1 RepliesI'm trying to control the video playback of a live video stream using ActionScript 3 code in Flash Professional.
There's a FLVPlayback component on my stage titled "flvPlayer", and in Frame one of my "Actions" layer, I have the following code:
import fl.video.FLVPlayback;
import flash.display.Sprite;
var vidURL:String = new String("rtmp://www.mycompanyserver.com/test/live
[Code]....
I can get it to work by adding the source to the Compenent Parameters window, but I need to be able to access those parameters in code.
I have a FLVPlayback on my stage, but I want to use my own controls rather than the ones provided by the skin.I read that I can make my own skin - but have not been successful.
View 2 RepliesHow would I go about using an external video in which the video would scrub (or move forward or rewind) when the user clicks on an object and drags the object left or right? I want to make a site in which the user has control over the movie, and when they choose left or right, the video will scrub to a certain cue point. wants it hits that cue point, the video will seek to another cue point and the story will continue. I want to make it so when the user clicks on the person, and drags them, it scrubs through the video as if the person is walking in a certain direction. I think I have the cue points set up properly, now to just figure out the rest.
View 2 Replies[URL]. It says FlvPlayback control can support MP4, M4A, MOV, MP4V, 3GP, and 3G2 but none of these formats are actually played in FLVPLayback control.
View 6 RepliesI'm trying to control the video playback of a live video stream using ActionScript 3 code in Flash Professional.
There's a FLVPlayback component on my stage titled "flvPlayer", and in Frame one of my "Actions" layer, I have the following code:
import fl.video.FLVPlayback;
import flash.display.Sprite;
var vidURL:String = new String("rtmp://www.mycompanyserver.com/test/live/livestream");
[Code].....
I can get it to work by adding the source to the Compenent Parameters window, but I need to be able to access those parameters in code.
I have an Adobe Air 2.5 app that has been written in Flash CS5.There is a need to play video's from within that app and I am not in the mood to write a video player from scratch. Soooooo... we attempted to use the FLVPlayer from http:[url].... but could not get the thing to work properly at all through their API.
The video player must go full screen and have the normal playhead scrubbing, play / pause / stop, and volume controls.Can you make the FLVPlayback control go fullscreen?
Is it possible to play SHOUTcast streams using the FLVPlayback control?
View 2 RepliesCreating a simple video for embedding by importing a video into flash creates a separate swf for the controls. Is there a way to have the controls embedded in the main SWF, so you don't have to worry about paths to the control swf?
View 1 RepliesI 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?
I have attached a video on a frame of my website in Flash. When I preview the movie the film plays as it should.But when I export the Fla. as a Swf. file it then doesn't have the movie there anymore?It does show this error:
**Warning** The linkage identifier 'FLVPlayback' was already assigned to the symbol 'Video/FLVPlayback', and cannot be assigned to the symbol 'FLVPlayback', since linkage identifiers must be unique.
I really don't know what that refers too.
I am trying to manipulate (move up and down, enable/disable and launch a form) child controls inside a panel control. However I am unable to get the id of the child control on which the click event occurs. To illustrate, I am trying to create similar functionality as is available. I am trying to create the up-down buttons that you see in the image at http:[url].......
View 2 Repliesim trying to make a music/sound control and FX sounds control,so i have my FX volume level as a variable(FX_vol) and also the Music/sound volume level as a diffrent variable(M_vol),so i set them as sounds that i can use trough coding:
[Code]...
Is it possible to control a Flash movie from JS when you have no control over the source? I have decompiled the movie to see its inner workings, but I know nothing about Flash, so I'm mostly in the dark. I found this resource, Interaction with JavaScript, but it's not working for me (probably because I don't know what message to send to the movie).
View 1 RepliesI have a flex application and have embedded a flash (SWF) file into it using <mx:SWFLoader>. There is an "Exit" button on the Flash file. I want to be able to handle the button click event on the flex application.
So when that button in the flash file is clicked, I want to perform an action in the parent flex application.
I went to start a video project this morning and can't get the FLVPlayback component to do anything. Opening a new Flash file, dragging and dropping a FLVPlayback object from the Components panel onto the stage and then building the movie results in the following laundry list of errors:
1119: Access of possibly undefined property isRTMP through a reference with static type VideoPlayer.[code]...
All these errors take place in the UIManager.as file.
I have a little Flash 8 FLVPlayback-based video player, designed to read a list of video URLs (pointing to a demo version of FMS 3.5) from XML. The player works the first couple of times you select a video but then stops displaying anything when you select more videos. The seek bar seems to move but there is not picture or sound. You can see it here:
[URL]
My ActionScript is as follows:
Code:
var vidList:XML = new XML();
vidList.ignoreWhite = true;
vidList.onLoad = function() {
[code]....
I have an FLVPlayback component in an video.swf, and it has a fullscreen button. video.swf is being loaded by another main.swf. when the fullscreen button is clicked, it goes into full screen. But, the FLVPlayback scales too big and even the overlaying controls are out of the screen.
View 9 RepliesI don't know why, I don't know how, but for some reason setting the FLVPlayback.bufferTime property to anything past its default value of 0.1 will (more often than not) make it so the .flv metadata does not ever make it to the video player. Granted, this may also have to do with my slow connection, but I know I am not the only one who has had this problem hose of you who have made players with custom seek-bars know the lack of metadata is can be a problem because the FLVPlayback.totalTime property is set directly from the"duration" property of the FLVPlayback.metadata objecty suspicion as to why this is not a more widespread issue is due to the "one video per player" nature of players on websites. I don't believe that players often reuse the net connection of the same FLVPlayback control to load one video after another (however, I could be wrong, this is all assumption on my part anyways).1) The FLVPlayback's net connection is reused (that is, you call the load() or play() method several times during the lifetime of the videoplayer.
2) You notice that occasionally meta information is never received when you increase the buffer time to a value above the default.3) Your seek-bar does respond or you get a run-time error when you try to seek (most likely because totalTime property NaN and the playheadPercentage property relies on this value)The simple solution (or so I am led to believe ): set the buffer time back to the default value before every call to the new connection. In other words, make sure that the the FLVPlayback.bufferTime property is set to 0.1 before calling the load() or play() method for a new video. This will ensure that the metadata is properly received by the component for playhead calculations.
Code:
//assume we have an existing FLVPlayback component
myFLVplayback:FLVPlayback = this.flvPlayer as FLVPlayback;
[code].....
I'm using the FLVPlayback component to play 4 FLVs.
There are 4 buttons in the swf that can call up each video to start playing. Here's what's on the button 1:
-----
function vid1(e:Event){
vidPlayer.source = "mymoviename.flv"
}
vid1_btn.addEventListener(MouseEvent.CLICK, vid1);
-----
All the controls in the skin (play, stop, pause, etc) are great, except I need to also have a "play next" control.
What type of script to do I need to attach to the "play next" control?
I have to use AS3 starting now and I have the AS2 script for a FLV1 to FLV2.how to have a FLV1 to Image1 for one part and another part for FLV1 to a SWF...Here's the AS2 code:
import mx.video.*;
var flv1:String = "flvs/VG1_01n02.flv";
var flv2:String = "flvs/VG1_Bintro.flv";[code]...........
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 RepliesI'm currently on a project where to build a site with with several video-clips being played and reached from a menu. The video-files will be in FLV-format.I've done some video solutions in flash a few years ago but this time it will be in CS5 (AS3) and I'm not sure which solution that will suite this project best.The video clips must run smooth and I guess we'll need some cuepoints and buffering to make the transitions from the user inputs smooth. I think they need some MovieClips on top the videopart as well for navigation/information.
Should I use the NetStream-way or use the FLVPlayback-way? I got some demo-video-files yesterday and I ran an example using the FLVPlayback-method and it showed up smoothly but is this the way to go?Why would you use either NetStream or FLVPlayback?
I'm creating an application in Flex that needs to use the DVR capabilities of FMS 3.5, ideally I would like to do this using the FLVPlayback 2.5 component, however I'm struggling to find any tutorials or info on this, I was wondering is someone could point me to one.
I heard that I need the DVRCast application to do this, but this hasn't been released yet, I was wondering if I could get a rough idea of when this is going to be released?
I am using the FLVPlayBack component and it is working when I access FLVs stored on my local machine or even another machine on my network. However with one particular computer I am getting a Connection error reported at the same time after I have started playing back any FLV file. It occurs 25 seconds after the playback has been initiated.
It is my preference to use the computer on which the playback error is regularly occurring so I would like to get to the bottom of why I am always getting the same error.
Flash CS3, and I have an FLV video(40 seconds) and a postcard which I want to show in the video farme after the video is complete. The postcard at the end will a link to a URL I've tried all the codes I could find on the internet, but I couldnt accomplish anything. I must be doing something wrong. Here is what I am doing:I put a FLVPlayback component in the first frame on the stage. Give the FLVPlayback component an instance name.Link the FLVPlayback component to a flv file on my server.Put the postcard in the second frame on the stage
View 12 RepliesI'm doing the exercises included in the book "ActionScript 3.0 for Adobe Flash CS4 Professional Classroom in a Book", but I have run into a problem I cannot solve regarding the use of the source property of the FLVPlayback component.
[Code]...
An error like this appears: "NetsStream.Play.StreamNotFound", saying that there is no video file there I also try with absolute paths, with slashes instead of backslashes..., and I just get to get it working if I copy this video file in the same folder in which lesson11_start.fla is, and enter "solution5.f4v".
I have the following situation:I have a SWF file, "A.swf" loading another SWF file, "B.swf" that contains an FLVPlayback. Using the Event.INIT of the loader.contentLoaderInfo, I add a listener to load and display file "B.swf". It loads and displays the file "B.swf" but it does not play the FLVPlayback which was intantiated in actionScript3 in the "actions" layer of frame 1 in "B.swf".
View 6 Replies