ActionScript 3.0 :: Loading SWF On Cue Point In F4V Video
Oct 17, 2011
I'm simply trying to load an external swf on a cue point in an F4V video. I used the FLVPlayback component to add a cue point where I want it, and I have a separate swf that's just an animated button I want to play, but I can't figure out the AS to use to play the swf on the cue point.
View 2 Replies
Similar Posts:
Jan 6, 2010
I have a project where I am bringing in one video with a cue point at the very end with the name of "End." I'm trying to have the next video play when the first video reaches that cue point. I keep getting this error: 1046: Type was not found or was not a compile-time constant: MetadataEvent. Here is the relevant code I believe:
[Code].....
View 7 Replies
Dec 10, 2009
how to make a video start playing at a specified point in the middle of the video rather than from the beginning. Not sure if it's something that easily can be done in Dreamweaver or if it's involved with the flash settings.
View 21 Replies
Aug 25, 2010
I'm working with Actionscript 3.0 and I'm working on a project that requires me to know where a certain point in a video is at all times and have it relay that information to me via trace. I'm having a hard time figuring out how to select a point within the video and getting that point to move with the subject.
View 3 Replies
Feb 23, 2012
I'm having trouble with a simple AS3 (CS5.5) project I have imported a video encoded through Adobe media encoder as a FLV file and have added a Navigation Cue Point at the end of the video as I would like the video to simply go to a frame number when the video has ended so it doesn't stop on that video.
I have used a code I have used on many occasions in AS2 which I put on a keyframe at the top where the video runs under and give the video an instance name of vid:
[Code]..
Ideally I just want the code go to a frame number when the video finishes instead of staying on the video.
View 1 Replies
Oct 12, 2010
I have a video that I don't want the beginning of, I know how to set the Cue Points but I am not very familiar with ActionScript 3.0 and would like to learn some code to start my video out at a cue point so I can put this video inside another flash video.
View 0 Replies
Mar 31, 2009
Using flash 8 pro, I've imported a video clip and embedded cue points at the first and last frames - these are named 'intro' and 'outro'. I have the flv paused at the first and last frames via the component inspector, and it is a 'talking head' type affair - all good so far.
At the very end of the video clip I want the 'outro' cue point to dynamically load a movie clip from the library with the linkage name 'p-overlay_mc' which will, in effect, blend a logo over the video when it ends. Can this be done?
I guess this sort of cue point triggered event is the equivalent of an 'enterFrame' event. My guess is that i will need a script from the root timeline targetting the cue point within the .flv, but i really don't know the script needed.
View 1 Replies
Feb 8, 2012
I've been working on a video-centric project that requires a very specifically designed video player, which I've built from scratch -- no skin. Things were going great until I actually uploaded the video and SWF to my server and tried it out. Here's the issue: The video, which is an F4V that's been imported into Flash as an external asset -- I'm not using NetStream, nor am I using a Flash media server -- starts loading almost immediately. But when you use the custom-built scrubber bar to jump ahead in the video, it freezes up until, I presume, the video has loaded to that point, at which time the video starts again. If you open the SWF and let it sit for a few minutes, this isn't an issue -- you can jump back and forth as much as you want.
So clearly the problem here is that the video is loading from the beginning and the user can only get to a certain frame when that frame has already been loaded. But it must be possible to start loading from a specified point, right? After all, the video doesn't load all together and become available only when the whole thing is done. It starts loading at 0:00 and continues progressively. I just want to change where it starts loading by telling it not only to play at that point but to start loading at that point, too.
View 1 Replies
Jul 27, 2009
I have the code that works for one button to find a cue point but how can I make this work for several buttons and their respective cue points?[code]
View 3 Replies
Jan 19, 2010
I've created a video player using the flv component. I have images of cue points. The user should be able to click on an image and the video should skip or start at that cue point
View 9 Replies
Feb 26, 2010
Basically the code below has been designed so that a video starts at 52 seconds (rather than the beginning) when you press play. It works good right now, starts where it's supposed to, but I want to change the code so that it autoplays the video starting at 52 seconds. The problem with this though, is that when I try and set it for autoplay, the video starts at the beginning and doesn't wait for it to load to 52 seconds before it autoplays. Any input on the coding? I need it just so that the autoplay doesn't kick in until the video is loaded to the 52 second point
import fl.video.MetadataEvent;import fl.video.VideoProgressEvent;
import fl.video.*;
my_FLVPlybk.addEventListener(VideoEvent.COMPLETE, rewind);function
[code]....
View 3 Replies
Feb 27, 2010
I have been trying to do this locally on my machine by using the download simulator but the simulator doesnt seem to work especially when I give the player a 2GB file to load over a 14kbps connection, the file seems to load within a split second and absolutely no buffering occurs.My problem below needs to be answered before I can persue and purchase and set up a web server to run FMS as a production server, but understandably I do not want to do this until I know it is possible to do what I want to do.
Let say I have put a 60min video on the server which I want to stream. But I only want to stream the last 20mins of it. Am I able to set the player to stream from the last 20mins and for there to be no progressive download required before? I need the stream to start almost immediately from the start of the last 20mins and for it to continue plaing until the remainder of the video completes So essentially I only want to load a part of the movie into a stream and disgard the part of the movie I do not want to show.
View 1 Replies
Aug 6, 2010
I'm very new to AS3 and have not really worked much since AS1 and a little with AS2.I have a video that I set a cue point named "getURL". It was imported into flash as Load enternal video with playback componet. The instance name for that video is "gunny".The code written is suppose to detect that cue point then forward to another html document. The video runs fine but never forwards to another web page.
[Code]...
View 4 Replies
Jan 25, 2011
If i broadcast a video and divide it into packets, and when a users connect to the netgroup and receive the object from the group( the user will receive from specific time let say actual video is 10 minutes and user connect to the group, and seek video for last 5 minutes). how can i achieve this task. is it possible ? i am using flash player 10.1
View 1 Replies
Mar 3, 2011
Is there any way to change the registration of a video object (so that you can apply a tween effect)?
View 1 Replies
Sep 19, 2011
I'm having a problem and I do not think the solution. I'm new using Flash.I have a video player and now we are implementing an HD button, the player always starts the video and 360P format and stream begins, if the user click on the HD I need to save the time of the video when it was clicked and then call another file. mp4 720P and start it at the same point that was recorded.I've tried various ways using CONNECTION.STREAM.seek(TIME); and always starts at (0), I feel that because of not being in Buffering he does not understand
View 1 Replies
May 22, 2010
I'd like to start playing a web-based video at a specific time, say 2 minutes in, even if the video hasn't been downloaded that far. I thought I could just "seek" to that time but that apparently only works when the video is buffered first.
So for example, this:
Code:
nc = new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
ns.play("[URL]");
ns.seek(123);
video.attachVideo(ns);
Seems to work if you have the video cached or buffered or whatever, but if you don't it gives the "NetStream.Seek.InvalidTime" error, which makes sense. I want to know if it's possible to start playing a video at a specific time, even if the video hasn't loaded up to that point.
View 1 Replies
Sep 19, 2011
Good afternoon staff. I'm having a problem and I do not think the solution. I'm new using Flash. I have a video player AS3 and now we are implementing an HD button, the player always starts the video and 360P format and stream begins, if the user click on the HD I need to save the time of the video when it was clicked and then call another file. mp4 720P and start it at the same point that was recorded. I've tried various ways using CONNECTION.STREAM.seek(TIME); and always starts at (0), I feel that because of not being in Buffering he does not understand. Can anyone help me solve this?
View 0 Replies
Mar 17, 2010
I have the code that works for one button to find a cue point but how can I make this work for several buttons and their respective cue points?
seek-btn2" to find cue 2(named "lou2")
import fl.video.*;
// Video component instance namevar flvControl:FLVPlayback = display;var flvSource:String =
[code].....
View 1 Replies
Nov 26, 2009
I'm trying to make an interactive quiz show type thing. The video shows someone reading the questions, then the answers appear as four clickable images after the question has been read. Then a user clicks on an answer it updates the score and moves to the next question.
Video has been imported and it plays perfectly. Movie controls (Play, pause etc) work fine as well. But since the video doesn't appear in the flash timeline (but in the external FLVplayback component) how can I get the images for the answers to appear on the screen at the right time? I have to use the FLV playback for a number of reasons so I have to find a solution to this problem within that context.
I put in navigation and event cue points in the flash video encoder first, the idea being to have the video pause at that point and make the buttons appear then, but I'm getting constant errors with everything I try.
(I believe you use event listeners to wait for the cue point and then use addChild to put in the video, vid.pause(); to pause it but I'm just getting tons of errors every time I try anything like that so clearly I don't know my syntax well enough)
View 1 Replies
Oct 7, 2011
if i click 'Play' Button video playing normally, after i click 'Pause' button video pause, next i click 'Play' Button video playing from starting point. what is the problem
solution pls...... Code:
[Code]...
View 2 Replies
Oct 17, 2011
start a video playing from a precise point in time?Using rtmp protocol to stream a video:rtmp:\my-servervodmy-video.mp4is it possible to use a similar form, as the following:rtmp:\my-servervodmy-video.mp4 =00:20:21to start video file from that point?
View 13 Replies
Jan 31, 2011
I am trying to use Flex Video Display as a preview player. The player is streaming the video from the server.While The buffering is not complete, if we try to drag the play head to an area beyond buffered region, the player will drag the playhead back to the current playing position. I need to implement the player like you tube video player which allows to drag to anywhere in the track even when data is not fully buffered.Is there a way for doing this.
View 1 Replies
Apr 30, 2009
I am using progressive download to play video files in a video player. When I seek to a point that has not downloaded yet the video player freezes. The player enters the seeking state and stops playing.Clicking the play and pause buttons has no effect. The video player comes out of the seeking state and resumes playing only when the video file has completely downloaded. How do I implement the functionality where the player when seeked to a point that has not downloaded simply seeks back to the amount that has downloaded.
View 1 Replies
Sep 22, 2010
I am currently trying to create a function (or set of functions) that automatically fades in a button for each cue point in a video the first time a video loads. This way the buttons only become accessible once that point in the video has passed. The buttons should stay active once the video is loaded.
The code below is what I have so far. Essentially all I have managed to do is trace the name of the cuePoint. I believe what I need to do is somehow assign the cue point name to an object, pass that reference to the "fadeIn" function and run the "fadeIn" function.It is worth noting that the buttons I am fading in are already on the timeline, so I do not need to create them in code. I just need to reference them.
import fl.video.MetadataEvent;
import fl.transitions.Tween;
import fl.transitions.easing.*;[code].............
View 3 Replies
May 8, 2008
i want it so that if you scrub back through the video to any point, the correct subtitle appears. I'm thinking something like...
[Code]...
View 1 Replies
Apr 9, 2004
I am trying to use a sound controller in a flash movie to play music and I am using loadMovieNum to load the sound controller movie at a particular point in the main timeline. I get the sound player to load up fine and the sound loads fine when a user presses play, but about a minute through the song the sound starts to play again, overlapping the song that is already playing. This happens with no user interaction...it just takes about a minute. I also noticed that it is only when the sound player is within one of the movies. It doesnt happen when the sound player is all by itself. Is there something in my movie that is making it loop over? What happen to the search that used to be at the bottom of the page?
View 2 Replies
Aug 20, 2010
Is the Flash Video (or Flex VideoDisplay) component capable of seeking to an exact moment in a video?It seems to always 'snap' to keyframes (which is understandable). I'm just wondering if there are any mechanisms in the video classes for seeking to exact frames, ie it should do the translation from keyframe to specific frame in the background rather than having to actually play the video forward to the desired frame.This is not a streaming file and has nothing to do with buffering. The player is just downloading a movie file from the web and playing it from memory.
View 1 Replies
Jul 7, 2010
Setting up a web page to progressively stream video to whoever goes to that page. We are not streaming live video but streaming a video fileon the server.
The Question: Instead of starting the video at the begining we want the video to start at some mid-point based on the time of day... (therefore emulating "joining" a live broadcast.)
View 3 Replies
Dec 9, 2011
Im pushing Point locations into an array to Shift em out later. like this:
tempmoves.push([new Point(roundx,roundy)]);
..
ob.movestoplayer = tempmoves;[code]....
What am i doing wrong?
View 8 Replies