ActionScript 3.0 :: CUE_POINT In FLVPlayback?
Feb 17, 2011Iam playing a .flv file with FLVPlayback component . when cuepoint reacheded the playhead how to show the currrent cuepoint data
View 3 RepliesIam playing a .flv file with FLVPlayback component . when cuepoint reacheded the playhead how to show the currrent cuepoint data
View 3 RepliesI 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 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 RepliesI'm doing a small Flash 10 site for a friend of mine at [URL] and my problem is if you click on the WATCH button, you'll see the FLVPlayback component comes up and the video starts playing. Fine so far. However, click on any other button and it takes you to the correct place in the timeline but the audio from the video keeps playing and I can't get it to stop even though the FLVPlayback component is nowhere on the stage anymore. How can I fix this bug?
View 4 RepliesWhat is the proper way to resize an FLVPlayback component? I am reading flashvars from a swf object that contains the proper demensions. Anybody know how to set those demensions and get the proper width and height?I've tried a lot of things, but now I give up.
View 1 RepliesIm 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 RepliesI would like to take a PNG image over the FLV media. While FLV is loading, i see the image, but when the FLV starts to play, the image goes under it.
I have two Layers. Layer 1 with the FLV playing, and Layer 2 with a transparent button for weblink (it works). Order of layers in the timeline area: Layer 2, Layer 1
[Code]...
to make a fast forward and backward functionality for my FLVPlayback I want to use the seek method to jump a second from the current video position. I tried to read the current time by .. video_mc.videoPlayers[0].netStream.time but I get an error message that this might not exist. How do I get the time where the video is? Or is there even a better method to do this?
View 1 Repliesi have an flvplayback component on stage, named the instance flvPlayer and added this code to frame 1, so a video loads in it. flvPlayer.source = "clip1.flv";
the videos plays from the local folder perfectly. I need a code that when the video ends, it jumps and stop to frame 1 of scene2.
[Code]...
I am using a FLVPlayback component.Is there a way to turn off the 'control bar'?
View 1 RepliesI'm experiencing the following problem with FLVPlayback in Flash CS5:
1. I create a new FLA file and drag FLPlayback 2.5 from Components panel to the stage
2. Then I'm setting it up using the simple expample from Adobe LiveDocs: [URL]
3. But when I'm compiling SWF file I'm getting 13 errors referencing classes VideoPlayer and UIManager, such as:
-- Error 1120: Access of undefined property PLAYER and Error 1120: Access of undefined property AIR (this one I could fix by setting compiling constants AIR and PLAYER in ActionScript 3.0 parameters window in Publishing Settings);
-- Error #1180: Call to a possibly undefined method VideoPlaybackErrorEvent.as - this class must be in fl.video package, but there is NO such file in C:Program FilesAdobeAdobe Flash CS5CommonConfigurationComponent SourceActionScript 3.0FLVPlaybackflvideo I manually created VideoPlaybackErrorEvent.as in fl.video package and this error has gone;
[Code]....
I'm working on a "TV" in Flash where I use several videos running at the same time, so the videos tend to be lagging in the beginning. I think I would need a loading bar to show the user when the TV is ready to be turned on. I can submit the fla-file as well if that is necessary.[code]...
View 1 RepliesI have searched all over and have yet to find an answer to this. Does anyone know of a way to clear an FLV from the player's cache? I saw suggestions to add a query string to the end of the FLV location, but this causes the video to not play.
View 4 RepliesAlright, so I'm playing several different videos at different sizes with the FLVPlayback component and something odd is happening that I don't remember happening before...Now, when I switch from video to video, the FLVPlayback physically resizes to match the height of the video... I don't remember this happening before. Before, the FLVPlayback would just vertical center the video no matter what size the height of the video is.
View 1 RepliesTrying to learn some flash and got a question. How do I play a flv video, below code compiles correctly and load flash player but doesn't play anything
var vid:FLVPlayback = new FLVPlayback();
var ui:UIComponent = new UIComponent();
this.addChild( ui );
[Code]....
I'd like to use the VideoPlayer class instead of FLVPlayback because in theory it uses up less space as it does not have all the skins etc.However I've found that if I want to throw a VideoEvent to check when the video has finished playing, if I do not have a component of FLVPlayback in my fla. file library I get a compilation error saying it can not find the "VideoEvent" class even t hough I have the correct import lines at the top.So what's the point? That would mean that by using VideoPlayer I cant make my swf smaller and I lose functionality.
View 0 RepliesI've been looking online to figure this out for like 4 hours now and everything I try from suggestions has gotten me no where so far, so I thought I best start my own topic. Basically I have imported a .mov file, which is on frame 6 and when you navigate to frame 6 is play automatically. I just can't seem to get it to automatically navigate to frame 7 once it finishes. I've tried using cue points in the clip but it doesn't seem to detect them.
[code]...
So I have a FLVplayback component on my site that plays two different videos. It works fine on my computer (not locally - but on the internet), but it wasn't working right on another person's computer and it wasn't at first on mine either. For some reason it's really inconsistent and I can't figure out why. I've tried using video indexes but couldn't get it to work properly. Here's my code:
[Code]...