I did use the adobe media encoder, I have 3 cuepoints cp1 cp2 and cp3
those are events,
here is my as and I don't know why this is not working;
import fl.video.MetadataEvent;
import fl.video.VideoEvent;
miMovie.addEventListener(MetadataEvent.CUE_POINT, cp);
function cp(e:MetadataEvent):void {
trace("start");
if (e.info.name=="cp1") {
trace("we are cp1");
}
if (e.info.name=="cp2") {
trace("we are cp2");
}
if (e.info.name=="cp3") {
trace("we are cp3");
}
}
On Mar 3, 2010, at 10:11 AM, Sam Brown wrote:
you can embed cuepoints in the flv and listen for them to cue
events. Most
reliable way to embed them is via the Adobe Media Encoder
one way to access them is like:
import fl.video.VideoEvent;
import fl.video.MetadatEvent;
myVid.addEventListener(MetadataEvent.CUE_POINT, doThis);
function doThis(e:Event):void{
}
...
On Wed, Mar 3, 2010 at 9:45 AM, Gustavo Duenas <
[email protected]> wrote:
it might start automatically
Gus
On Mar 2, 2010, at 8:34 PM, Nathan Mynarcik wrote:
Or, you could trigger a timer when it starts and when it hits 45
seconds
call your function.
Are your users pressing play or does it start automatically?
------Original Message------
From: Gustavo Duenas
Sender: [email protected]
To: Flash Coders List
ReplyTo: Flash Coders List
Subject: [Flashcoders] web video
Sent: Mar 2, 2010 6:40 PM
Hi coders I know that I can control a flv from as3, but there is a
way to do the opposite?
I mean I have a video (flv) in one movie clip, when the video
reaches
the second 45, can I trigger an event?
is that possible?, if so there is a tutorial pointing to that in
the
internet?
Regards,
Gus
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Nathan Mynarcik
Interactive Web Developer
[email protected]
254.749.2525
www.mynarcik.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders