-
Using NetStream Cue Points to sync animation to video
Hello!
When Netstream finds my video cue point "cend" i want my Main Movie Clip
to go to a label which has the same name "cend" as the video cuepoint, i
want to syncronise the animation of grafics to the video cuepoint.
To find my cuepoints i use this code:
nc.connect("rtmp://url", false);
var ns:NetStream = new NetStream(nc);
ns.setBufferTime(3);
my_video.attachVideo(ns);
ns.onCuePoint = function(infoObject:Object)
{
if(infoObject.name == "cend")
{
ns.play("VideoUrl", null, null, false);
}
}
ns.play("VideoUrl");
Is there anybody out there that knows the solution?
Respect for reply!
/ Johan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|