FLV, Cue Points, And Other Streamy Goodness
How can I grab a "frame" of a FLV based on it's cuepoint and use it as a thumbnail?
ActionScript.org Forums > Flash General Questions > Flash 8 General Questions
Posted on: 08-04-2006, 01:32 AM
View Complete Forum Thread with Replies
Sponsored Links:
Reverse Goodness
Bonjour tout le monde!
I was wondering how I could reverse the process in this attached file so that I could rerun the XML file that is outputted.
In other words at the end of this prsentation you can choose to see the code. I want to be able to write something so that the movement is declared by this code...
sorry, you'll have to see the example
thanz
vshadow
View Replies !
View Related
Bell Curved Goodness
I have an equation, that i made up i guess, cause i didn't get it out of a text book. And its (a^3)*(b^3). Not very exciting. But a is a continous count from 0 to 30 and goes back to 0. And b is a count from 30 to 0, and goes back to 30. I have my counters set up good, and there are no syntx errors, unless they are extremly obscure.
My problem is when i start the movie, a and b start there count and do fine, untill b, for no apperant reason stops at 9. a will continue to count to 30 and then restart its count down, but b is still stuck at 9 for some reason.
Does anyone know why this is? If you want the whole movie to see wtf im talking about just send me a mail. kaisersoze03@hotmail.com
and i'll send you the .fla
thanks for your help.
View Replies !
View Related
Stop Looping For Goodness Sakes
I have a movie clip with an 8 frame motion tween & have placed this clip into my 1 frame scene.
Can someone please explain how to get this movie to stay on the last frame after the animation and NOT LOOP. Seems like a stop action… maybe…???
Please be explicit.
THANKS a ton!!!!!!!!!!!!!!!!!
-Phil
View Replies !
View Related
Text Boxes, HTML, And All That Goodness
Is it possable to have a dynamic text box load a html file as it's input? I know that there is an option to "render text as html".
Basically, i want to make a flash document that can read a HTML file and display it in a pane of some sort.
Any help is appreciated.
View Replies !
View Related
.:pure Actionscripted Animation Goodness ::...
ok i have read many tutorials. including the one all about the drawing api in my flash mx 2004 actionscript bible... but i still have yet to understand the simplest & most basic fundamentals involved with (creating objects &) animating via actionscript.
i'd like to know... for example... how to (PURELY WITH ACTIONSCRIPT !) ::...
. make a vector based (or any) object scale, & tween as it does it. (like i see on some juxtinteractive sites... and many others...)
. make a point draw into a line. then into a shape. i want to see it draw. not just appear in full.
. move an object. from current x/y position to another x/y position... though i want it to appear to move, not just pop over to another coordinate.
** robertpenner... i keep seeing your name on more and more forums/tutorials/sites... & i've gone through one or more of your tutorials (on as.org i think) but it's still a little too complicated... the proverbial lightbulb hasn't gone off on this topic for me.
...any help or even pointers to already existing tutorials on this(/these) topics will be greatly appreciated!
T H A N K S !!
marzstar aka cyberblue aka wannabeflashgoddessvixon
View Replies !
View Related
Using Actionscript And The Drawing API To Animate A Line (2 Points) To 2 New Points
hi everybody - what is the best way to go about this?
at its most basic - i need to animate a line's beginning and end points using tweener to 2 new points somewhere else on the stage.
my first thought is to start with the excellent 3d spinning cube example that kirupa made on kirupa.com and backtrack from there.
http://www.kirupa.com/developer/acti...ces_depths.htm
but i'm hoping to find a much simpler and efficient way of accomplishing what i need.
the problem that i know i need to get around is this.... i have to find a way to have the Tweener class give me updated positions of the x and y of the two points which make up the lines. and somehow i have to use the drawing api to 'get inside of' tweener to update the stage accordingly - reason for this is that these lines will need to use the elastic tween and bounce around a bit.
i'd appreciate any help
cheers! - tom
View Replies !
View Related
Finding Points Between Two Points
This seemed more likely to be answered here but if this belongs in Math and Physics please move it.
If I were given the following coordinates, how would I calculate the end points of the red segments? There's a 5 point gap between the endpoints and the corners.
EDIT: I've written the function, I just need the math.
View Replies !
View Related
Map And Points
I have an access DB with all the zip codes, I want to make a map that when a new location is added it will show as a point on the map, would I have to put x and y values for every zip code and then a movie clip as the dot on every point, or is there an easyier way about this, any tutorials to get me started or anything. I'm using asp as backend.
Thanks in advance
View Replies !
View Related
FLV Cue Points
Hello,
I have encoded my video and added 3 cue points, BEGIN, MIDDLE, END. What I would like to do is while the streaming movie is playing and it gets to the "MIDDLE" cue point, jump ahead to another frame in the timeline of my flash movie. Is there a way to do this without writing code from scratch? I'm not very good with code.
Thanks,
T
View Replies !
View Related
Cue Points And XML
Hi All
Really getting me down this one.
I have a page that pulls in all it's info from an xml file (works fine). I have a video frame (from library drop down) that displays my flv video just great.
All this is controlled by actionscript ( play, pause etc.). But now I need to get to the Navigation cue points added to the videos from a selection of buttons on stage.
Is this possible?, Do I need to use an flv component?
All is working great bar the cue points
I am also posting in the Flash video and xml posts
Please help, desperate to get past this
Cheers
View Replies !
View Related
[F8] Cue Points And Flv
hi, repost:
(AS 2)
i have read a few tutorials and web pages about placing cue points in an flv and having them communicate with the swf that houses the flv, but i cannot seem to get it to work, can anyone help me with the code?
simple: flv has 8 points where i just need a clip on the main timeline to jump to a certain frame, bullet points pertaining to the content in the flash video. i cannot find a clear cut example that says HERE is what you put in the cue point settings, and HERE is what you put in your AS frame.
thanks!
View Replies !
View Related
Using Cue Points
Hello,
I'm using Flash 8. How can I make a video "go to and stop" on another frame after it is done playing so it is not left with a blank screen. Basically, I just cue points be placed at the end of a video. Please look at this page I'm having difficulties with.
http://www.nightvisionphm.com/media.htm
How do I use cue points for this. is there a script?
Thank You,
Swift75
View Replies !
View Related
Even Cue Points
I am trying to learn how to make an event happen with a cue point in an FLV file. I know how to put the cue point in the FLV, but how do I program the Actionscript?
View Replies !
View Related
Cue Points
I have put 2 cue points into the flv during encoding. The variables are events called "music" and "end" the value is default for both. I need to either load an external swf to play the loop or insert the mc on "music". At "end," I need to load a button for the user to enter the site. My video is tiger_walk4.flv.
I really really need to get this together. I have used everyone's script examples and can't figure it out. If you reply to this post, assume that I am a moron and spell everything out as mush as possible so I can find the problem.
Oh... I'm using flash 8 if that matters.
View Replies !
View Related
Cue Points
I need some help with cue points. I am playing a streaming video with 3 cue points within it question 1, question 2 and question 3. When the video reaches a question 2 cue points I am trying to pause the video, display the question text to the right of the video and then have a button to continue. I am unfamiliar with using cue points and have looked through forums and adobe livedocs and can not get my head around them, any help is greatly appreciated. Thanks
View Replies !
View Related
Why Can't I Add Any Cue Points ?
I imported a FLV and I selected cue points in the component inspector and got the dialogue. The problem is It lets me add cue points but It wont let me edit them!! Ugghh so frustrating! I uploaded a screen shot of what I see. The tutorials I have read says you can change the type and times just by clicking in them. It wont let me edit anything. Anyone know why?
View Replies !
View Related
MP3 Cue Points
I opened up Sorenson squeeze 4.5 and it allows me to add cue points to an mp3 file. Now how can I receive these as an event in flash through the sound Object when it doesn't have an onCuePoint event like NetStream does?
Is there a way to do this by adding an event?
View Replies !
View Related
Flv Cue Points Help
Hi there people
I have asked this question before but I still can't get an answer so ill asl again.
I am trying to navigate through an flv with butons,
I have 1 flv with 2 cuepoints cp1, cp2, I have 1 button b1,
i want the flv to play from the start and play through cp1 and then when it hits cp2 i want it to go back and play from cp1 basiclly a loop between the two cuepoints.
I then want To be able to hit my button b1, and when this has been hit i want the flv to play from cp2 and on complete goto timeline frame 2 andStop
Please can anybody help me as I have spent litterally weeks tring to find the answer.
You Can Access the FLV at http://www.blacklightmedia.co.uk/1.flv
ANY HELP WITH THIS WOULD BE MUCH APPRECIATED
CHEERS
View Replies !
View Related
Add Cue Points Using AS3
I am working on a project that plays flv in the flvplayback component, but my question isn't really about that component.
I am wanting to add cue points to an flv using actionscript. So that any flv played will always contain the same cue points.
Thanks
View Replies !
View Related
Arc Between 13 Points
Hi all,
This is a bit of a tough one and is completely above my programming capabilities, so I guess I could use a bit of advice on this one.
I have a project where users manipulate a simulation of a Gamma adjustment curve, changing a pictures CMYK values accordingly. That's not the problem, however adjusting the curve is!
Did some searching around and found this cool little file created by ericlin on this site....it serves my purpose brilliantly with one problem..... There needs to be thirteen points along my curve including the original 3 that his file came with. Needless to say the code blows my mind and although I've tried to work through and understand it, adding additional points for a curve to run through is completely over my head. Each 'dot' also needs to be constrained to just the y-axis and although I tried to do this by modifying the paramenters of the startDrag(), the whole thing goes haywire and I don't really know why.
If any Flash guru wants to have a look at the file and offer advice/suggestions etc, it would be really appreciated. Thanks
Caff
View Replies !
View Related
Need Cue Points Help Please
The problem:
I have a progressive video of a man talking which loads into the FLVPlayback component on the main timeline. I want to have different movieClip captions play in tendem which visually describe what he's saying- Just like watching the news. Text captions are unfortunately too generic for my needs on this project.
The setup:
Above the video layer on the main timeline, I have a layer called "captions". I've created an "mCaptionsHolder" mc instance and placed it above the vid layer on the "captions" layer.
In the "mCaptionsHolder" mc I've made 5 keyframes: one on frame 5, 10, 15, 20, and 25. I've put lables on each of those as well: C1, C2, C3, C4, and C5.
My 2 options are:
1) I could use embedded cue point events if I knew how to target those labels to play within the "mCaptionsHolder" mc. But it's those "name" and "parameters" fields to the right in the cue points dialogue box that confuse me. I looked through help, but couldn't find anything useful for this issue.
or, 2) I could create actionscript cue points (more flexible, but more code too)- I'm a designer btw!
Any help/code/suggestions would be greatly appreciated.
Thanks
View Replies !
View Related
Cue Points
Can I assign actions to the cue points that are created while using the Import Video wizard? For instance, have text appear on the stage to the right of the flv file when a cue point is reached.
View Replies !
View Related
MP3 With Cue Points
Dear Adobe users,
Can you please help me with this ....
I am trying to create a file which load an external MP3 ( easy part ), but I dont know how to use the cue points with it
I have my cue points on MXL file ( done with sound booth ) ... so, with each cue point I will display an image.
Can you please guide me how to do it.
Thank you in advance :)
View Replies !
View Related
CS4 And Cue Points
I upgraded to CS4 last week, and encoded a mov to F4V with 4 cue points for chapters.
However, when I drop this file into the video player (with chapters and subtitles) the cue points are not working.
I then encoded it to the usual FLV and the cue points do work.
Can anyone advise why this doesnt work on a F4V? Is there something Im doing wrong, or has the way in which cue points are set on F4V's changed?
I'm assuming such an incredibly useful function as cue points was not removed on F4V or was it?
View Replies !
View Related
Using Cue Points With FLV And AS
I have an FLV and I want to have several cue points, each will "cue" different text to appear.
I have a movie clip on my stage (instance name "hello") which is set to not be visible until the 5 second mark of the video, where the cue point "sayHello" tells the clip "hello" to become visible.
The AS on frame 1 looks like this:
stop();
hello._visible = 0;
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object):Void {
hello._visible = 1;
}
vid_evan.addEventListener("cuePoint", listenerObject);
This works fine and I'm happy (I'm not a coder so I grabbed the code from http://www.mediacollege.com/flash/video/cuepoints.html for this).
However, at the 10 second mark of the video, I want the clip instance "hello" to go to frame 2. I've added the cue point "sayGoodbye" but I can't seem to create code that works for more than the one cue point action.
Can anyone help please?
Thanks.
JP
View Replies !
View Related
Cue Points?
I've embedded 2 cue points in an flv file using the Flash Video Encoder. They are "middle_frame", type Navigation and "last_frame", type Event. I'm now trying to get a Flash CS3 script to move the playhead to the "middle_frame" cue point when the video player reaches the "last_frame" cue point.
I mostly have this working with the below code but when the player moves to the middle_frame cue point, the video is sometimes all pixelated. Is this because the source is at a website and if so, how can I test locally. I tried using a local path for the source file but the video won't play.
import fl.video.*;
import fl.video.MetadataEvent;
flvPlayer.source ="
View Replies !
View Related
Using Cue Points In FLV's
I am SUPER confused on how to make use of the cue point that I embedded in my FLV.
It is called "END", is at time 00:00:46.114 and is Event type.
How do I go about calling an action, say loader.loadMovie("info.swf), when the movie reaches that point? The Flash help only confused me more! Thanks!
View Replies !
View Related
FLV And Cue Points
Hi,
I've been experimenting with flv's and cue points. I posted an example to show you the problem I'm having. The movie plays fine the first run through, but if you choose 'play' and watch it a second time, the cue points are ignored? You have to refresh the page for it to work again. Anyone know what's going on?
http://seanmacintosh.com/video/see_you3.html
http://seanmacintosh.com/video/see_you3.fla
Thanks.
View Replies !
View Related
Help With Xml Cue Points And Flv
I created a presentation that loads flv's and images (the images are based on cue points from an xml file)...
Everything works great, but how do I trigger the cue point if the user scrubs through the video?
this is the code that works when the flv has reached a certain position that's equal to the xml cue point:
//this is within the same function that shows the elapsed time of the video, progress bar, etc.
var current_flvPosition = Math.round(ns.time);
for(i=0; i<cuePoint_arr.length; i++){
if(current_flvPosition == cuePoint_time[i].attributes.time){
//trace("HIT CUE POINT = "+cuePoint_time[i].attributes.time);
var cuePointSlide = cuePoint_time[i].attributes.name;
load_cuePointSlide(cuePointSlide);
}
}
...that was pretty easy to figure out, but how do I make the scrubber work with it? Any ideas would be greatly appreciated...
View Replies !
View Related
Could Use Some Help On A Few Points...
I'm not too good with flash but I've (almost) managed a menu to go on a webpage I'm doing but I'm having trouble finishing it. There's a few bits I just can't do so some help with any of them would be greatly appreciated. (deep breath!)
1, How do I add a sound to play when each button is rolled over and stop as soon as it's rolled out of?
2, How do I get the buttons to link somewhere?!! (They need to link to other html pages which will have the same menu back up)
3, I would like the menu (only 2kb) to come up straight away and then the background pic to pop up when it's loaded. At the moment the menu seems to wait for the picture to fully load.
4, I still don't understand preloaders but I'd really like one for the picture. Any pointers?
Might have a few more questions but I think that'll do for now. If anyone has any other suggestions I'm all ears. Not sure if I've got the right way about it, it's just been trial and error.
Cheers
View Replies !
View Related
Cue Points In MX 04
Any best practices for reading in cue points into a net stream and triggering actions when the cue point is reaches in an flv? I am NOT using components for this, so they are not an option. TIA
View Replies !
View Related
Too Many Cue Points?
Hi guys,
Just a quick question,
I'm adding cue points to an flv with actionscript, I have loads, perhaps one every 2 seconds, and I was wondering if there is a limit to the amount of cue points I should embed?
Does anyone know if there is a drop in performance or accuracy of the cue points when there are a lot of them?
I know that AS cue points can be inaccurate (up to a tenth of a second) but just wanted to know if the accuracy will be further decreased if I add allot of cue points
Thank you
Roark
View Replies !
View Related
Cue Points FLV
i have an flv with cue points that i read like this.
ActionScript Code:
/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
*/
// specify name and location of FLV for default player
import mx.video.*;
my_FLVPlybk.contentPath = "demo.flv";
var listenerObject:Object = new Object();
listenerObject.ready = function(eventObject:Object):Void {
// add a second video player and specify the name and loc of its FLV
my_FLVPlybk.activeVideoPlayerIndex = 1;
my_FLVPlybk.contentPath = "demo.flv";
// reset to default video player, which plays its FLV automatically
my_FLVPlybk.activeVideoPlayerIndex = 0;
};
my_FLVPlybk.addEventListener("ready", listenerObject);
listenerObject.complete = function(eventObject:Object):Void {
// if complete is for 2nd FLV, make default active and visible
if (eventObject.vp == 1) {
my_FLVPlybk.activeVideoPlayerIndex = 0;
my_FLVPlybk.visibleVideoPlayerIndex = 0;
my_FLVPlybk.closeVideoPlayer(1); // close 2nd video player
} else { // make 2nd player active & visible and play FLV
my_FLVPlybk.activeVideoPlayerIndex = 1;
my_FLVPlybk.visibleVideoPlayerIndex = 1;
my_FLVPlybk.play();
}
};
// add listener for complete event
my_FLVPlybk.addEventListener("complete", listenerObject);
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object):Void {
//trace("Elapsed time in seconds: " + my_FLVPlybk.playheadTime);
trace("Cue point name is: " + eventObject.info.name);
}
my_FLVPlybk.addEventListener("cuePoint", listenerObject);
This works very well. But using the Flash 8 Video Encoder i added a parrameter called "slideName" to these cuepoints. how do i trace this parameter?
ActionScript Code:
trace("Cue point name is: " + eventObject.info.slideName);
trace("Cue point name is: " + eventObject.slideName);
both don't work.
anyone?
I now use this methode with the FLVPlayback component.
Any reason i should use netStream?
thanks.
View Replies !
View Related
New To Cue Points...help?
I have an "intro" .flv and I want to insert a cue point on the last frame to trigger it to move to the next frame on the main timeline where I have the "home page" of a website. I'm using Sorensen Squeeze to add the cue point, but I'm not sure what code to use to make this happen. I have this set up for the .flv:
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
videoLoader.attachVideo(ns);
ns.setBufferTime(5);
ns.play("JPJ_Intro_MainVP6_Lg.flv");
And I named my cue point endMovie in Sorensen....but outside of that I'm lost. Any suggestions? Thanks!
View Replies !
View Related
FLV And Cue Points
I followed some of the sample code on cue points and ended up with the below code - which works. The FLV plays and once it hits 6.9 seconds, it displays the movie clip named nemoImg.
However, the one thing I haven't figured out is how to reset the cue points if the FLV is played again. So when it plays through, it stops on the last frame. But if you hit the play button again, the nemoImg movie clip remains visible.
Any help would be appreciated.
Code:
my_FLVPlybk.contentPath = "ThankYou.flv";
nemoImg._visible = false;
var cuePt:Object = new Object();
cuePt.time = 6.9000;
cuePt.name = "nemo";
cuePt.type = "actionscript";
my_FLVPlybk.addASCuePoint(cuePt);
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object):Void {
nemoImg._visible = true;
}
my_FLVPlybk.addEventListener("cuePoint", listenerObject);
View Replies !
View Related
Line And Points
can anyone tell me how to create a line and have the points dragable hence, moving the line?. Or where I can find a tutorial on this?
I'm guessing it's got something to do with two dragable movieclips and then some scripting to create the line.
View Replies !
View Related
Registration Points
Does anyone know if you can dynamically change the registration point of a movie clip at runtime.
My problem is this. I have a dummy MC which I use to load different photos into at runtime. The problem is I have to place the dummy clip at the top left at the moment. But, I don't know the exact size or orientation of the picture I'm loading so I would prefer it to be centred, therefore whatever the shape of the photo it would still be in the centre of the display area.
Can anyone help or come up with an ingenious fiddle?
View Replies !
View Related
Distance Between Two Points
I was looking for a tutorial on this, but havent found one, so maybe you guys can help.
I am looking for something that can teach me how to draw a line between two points, or where there is always a line connecting two movie clips. I have downloaded some .flas from around the net, but they havent really been what Im looking for, or I havent been able to fully understand whats going on where I can modify it for myself.
ANy help on this will be greatly appreciated.
-dduck1934
View Replies !
View Related
Ploting Points
hello, i work for a company that sells assessments, and i would so impress my boss if i could plot those results in flash. i am wondering if anyone can help me. i want to have soemthing that the user can enter their number result into a text box and it move the point that coresponds to that letter, i also need these points to be connected witha line. here is an example graph, along with the type of interface i would like to do.
http://www.tamcoinc.com/flashkitrules/
can anyone help me?
thanks,
alex
View Replies !
View Related
Automating Hot Points
I am attempting to add icons to a map using FLASH from a parsed weather message. I want to read in points from the file and place them on the map in specific locations and have them hyperlinkable. Got any ideas?
View Replies !
View Related
Line From 2 Points?
Hello,
I am looking for a tut..or some threads on having 2 'anchor' points (which are draggable) and line connected between the two...no matter where you drag the 'anchors'.... ANy direction is appreciated..
-whispers-
View Replies !
View Related
10 Points To Who Ever Can Answer This
hey, i made this title bar (750 x 100) with a pop down menu(for example that microsoft ad for visual studio that sometimes appears on this site or others) and thats what i want to do but the problem is on the website when it pops down you cant see it any more so i was wondering if there was a way of like it overlapping everything else.
thank you in advace
View Replies !
View Related
50 Points To Who Ever Can Answer This
i have this pop down menu that looks ok, when your mouse rolls over a button it grows bigger then when the mouse rolls off it bouces back to size, now the problem is that its a movieclip, and in that movieclip is littler movieclips that make the animtion, but now the problem is that how do you get it so there buttons with commands (like getULR) and still have the animation
i got it from http://www.tableau.com.au/tutorials/slide_in_menu/
- thank you
View Replies !
View Related
An Easy Ten Points
Been workin o this whole load external movie clip for way to long. Need some help. Animation for Preloader is attached below.
I would like "preloader.swf" play displaying the perectage
loaded below the animation. One of those red gradient bars
that starts in the middle and fills outward would be perfect.
Once "intro.swf" is loaded I would like it to play once through
and then got to "menu.swf"
Im also wondering if I would benefit by loading the graphics
dynamically in "intro.swf" to speed things up.
For the most part Im trying to load 3 movie clips
"preloader.swf"
"intro.swf"
"menu.swf"
I want the preloader to be my animation you watch while you wait for
"intro.swf" and "menu.swf" to load
Ill gladly give ten bucks to get this darn thing solved
View Replies !
View Related
Decimal Points
i have a dynamic chart that displays values from mathmatical equations from other entered variables. The resulting values are price figures, so i need them to stop at 2 digits to the right of the decimal. how do i do this?
View Replies !
View Related
Hmm..points/scoring
I have a question, and I know its possible. say you have a site with accounts, games, and points ( ill use neopets as an example ).on neopets you play games to get points and blahda blahda. now, how on flash ( MX ) can you create a game, that will allow you to log in through flash, and create points, by clicking a button. ( im talking about a log in form (( for the site!! (((neopets))) )) and button actions (( you press button and it generates how many points in the account )) so..anyone know how? :-D
View Replies !
View Related
Four Points On The Car For The Hit Test
I am trying to make a car that will not drive through certain boundrys, and the common problem as occured. it says the car hit the wall, when the "car" really didnt. i have heard this is because of the boundry box surrounding the car does not rotate with the car, but simply grow bigger to fit it in. It has been suggest to me to put four points on the car's corners and "run the hit test on them".
what would be the action scripted need in the blank MC's, that are inside the car MC itself, that would properly stop the car's movements.
any help would be great thanks.
View Replies !
View Related
|