Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / January 2008



Tip: Looking for answers? Try searching our database.

flash video - navigation cue points from xml?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mickey - 17 Dec 2007 01:53 GMT
Is it possible to load navigation cue points from an xml file like you can
do with captions or do they always have to be embedded in the encoding?

If it's possible, can you PLEASE point me to a resource that shows you how?
I've searched and searched for weeks and found nothing!

Thanks,
Mickey
ProtoGabe - 17 Dec 2007 05:46 GMT
Sure, but it won't be the cue point info in the meta-data of the actual file.  
You would have to create the xml file with your own nodes, that contain your
custom cue point info, than parse the information programmatically.

Gabe Salerno
Project Development
protoactive.com
Mickey - 17 Dec 2007 12:57 GMT
Thanks for the reply, Gabe..  Do you know of any tutorials or prebuilt flv
players that accomplish this?

Thank you,
Mickey

> Sure, but it won't be the cue point info in the meta-data of the actual
> file.
[quoted text clipped - 5 lines]
> Project Development
> protoactive.com
Jamesabth - 05 Jan 2008 00:18 GMT
Assuming you xml is in this format:

<captions>
<caption time="0">First Caption</caption>
<caption time="5.56">Second Caption</caption>
</captions>

AS3 Code to add to video object:

//Code for loading video and loading XML file
var xmlList = xml.children();

md_obj.onCuePoint = onCue; //md_obj is the onMetaData listener

function onCue (info:Object):void {
    for(var i:uint = 0; i < xmlList.length(); i++) {
        if(info.time == xmlList[i].attribute("time")) {
            trace(xmlList[i]);
        }
    }
}
GenaroRG - 16 Jan 2008 00:17 GMT
look at this

http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?con
text=LiveDocs_Parts&file=00003518.html

Mickey - 17 Jan 2008 13:38 GMT
Thank you Jamesabth and GenaroRG for your responses.  Someone in the
flashcom newsgroup pointed out http://flowplayer.org/.  This looks like
exactly what I've been looking for.  I'll give it a try first.

Thanks,
Mickey

> Is it possible to load navigation cue points from an xml file like you can
> do with captions or do they always have to be embedded in the encoding?
[quoted text clipped - 4 lines]
> Thanks,
> Mickey
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.