Live Cue Points?
Anyone ever find a way to embed live que points while you are encoding live?
FlashKit > Flash Help > Flash General Help
Posted on: 03-16-2007, 11:59 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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
Live Webcamp,live Chat And Sms Related Question.
Hi there,
My company had got a huge project there demand to
Show there company "live on there website, live chat and the worse part is send SMS from the mobile to the website. … and believe me I have no idea about any of these… please help. What we need and where to get it from if possible …. Please..
Convert WMV File With Defined Cue Points To FLV And Keep Cue Points?
Hello, I need to know how to do this. I have wmv files with defined already cue points. I want to convert the video in to a FLV to play it over the net with flash, but I want to keep the cue points defined in the wmv. Is there a way to do this automaticaly or can I save the script lying under the WMV file defining the cue points in to a flv script. It is important that everything is done almost automaticaly because I have a lot of wmv files....
Help
thank you in advance
Embed Live Cue Data In Live Stream?
I am currently using the new FME to encode live to a FMS. Both applicatioins are running on the same machine. Is there a way to embed live cue and metadata into the live stream? Once embedded we want to record the stream AND send it on to viewers. Is there a way to process this on the server. The live cue and metadata is coming in the serial port.
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.
Functions, Can't Live With Em, Can't Live Without Em
I'm new to functions and I need some help. I am trying to create a game in which icicles fall, and doing it by an action. I don't know how to use a function and use the "this._y" command. I cannot get a function to actually manipulate a movie clip when it has actionscript on it. I can normally, but I'm trying to do it with a function.
Could someone please give me a demo of how to use a function to make an MC's Y value move onClipEvent(enterFrame) ?
Thanks for your help,
-Kac
PRELOADERS, Can't Live With Them, Can't Live Without Them
I need a prealoader that has a bar to show how much has loaded. BUT, I don't want it to be dependant on how many frames the movie has, cause I still have a lot of work to do and a lot of frames to add, meaning that the whole movie may come to change. I have been ransacking flashkit and the web for a tutorial on this but I can't seem to find one...
thx for any suggestions!
Cue Points
Hi
In Director you can use cue points, does flash 6 allow you to use cue points?
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
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
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
[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!
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
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?
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.
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
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?
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?
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
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
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
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
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.
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 :)
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?
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
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 ="
Cue Points...
How To trigger "loadMovie" using cue points? When the video reaches the end I want to automatically load another external SWF. Anybody knows how?
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!
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.
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...
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
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
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
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.
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!
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);
Live Cam?
I would really like to make a web page with a live cam on it.. (not porn) but I was wondering if it is possible to do it in flash.. any ideas, thanks a lot..
Live Web Cam
2 questions:
1. Do you need Fash Media Server to do web cams?- Yes* Can FFServer be used in its place?- No* how? * Any tutorials?2. If I can use FFServer, anyone know How I can do it? I already have it installed on my web server, and it works (installed by web host).
Live XML
Hello, this is my first post lol,
I have a solution I'm working right now, and it will be running locally(in IE), I have XML data being loaded from an outside file.
I need this data to be live so right now I have a movie clip looping, so it will keep on loading the data, problem is that eventually this will cause my computer to run out of memory .
So my question is, is there a better way of keeping the xml data live without using a movie clip? and if there isnt is there a way to keep the amount of memory it uses down?
Thanks,
Jeff
jeff@nebsfunworld.com
Live XML
Hello, this is my first post lol,
I have a solution I'm working right now, and it will be running locally(in IE), I have XML data being loaded from an outside file.
I need this data to be live so right now I have a movie clip looping, so it will keep on loading the data, problem is that eventually this will cause my computer to run out of memory .
So my question is, is there a better way of keeping the xml data live without using a movie clip? and if there isnt is there a way to keep the amount of memory it uses down?
Thanks,
Jeff
jeff@nebsfunworld.com
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.
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?
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
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
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?
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-
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
|