使用 Flex (ActionScript 3) 提取 Captivate 4 文本标题
我正在 Flex 3.5 中开发一个用于视频教程的应用程序,该应用程序使用大量 Captivate 4 (AS3) 视频 (>200)。在前端,用户可以在菜单结构中浏览视频。在管理部分,管理员可以上传更多视频并将它们组织到菜单结构中。由于我们有 200 多个 Captivate 视频,因此我们希望在前端构建基于 Captivate 视频文本内容的搜索功能。这个想法是:每次管理员将新的 Captivate 视频上传到系统时,都会根据视频的内容创建一个索引。
我的问题:如何使用 Flex 或 ActionScrip 3 提取 Captivate 视频的文本字幕?
(我知道 Captivate 有导出/导入功能,但我想访问这些文本来自 Flex 动态。)
非常感谢您的帮助。
问候, 塔斯
I'm developing an application in Flex 3.5 for video tutorials, which uses a lot of Captivate 4 (AS3) videos (>200). In the front end, the user can navigate thorough the videos in a menu structure. In the administration part, the admins can upload more videos and organize them into the menu structure. Since we have more than 200 Captivate videos, we wanted to build in a search functionality into the fronted, which would be based on the text contents of the Captivate videos. The idea is: every time the admin uploads a new Captivate video into the system, an index will be created based on the contents of the video.
My question: how can I extract the text captions of a Captivate video using Flex or rather ActionScrip 3?
(I know, there is an Export/Import function of Captivate, but I would like to access those texts dynamically from Flex.)
I appreciate your help.
Regards,
Tas
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我已经找到答案了。每个 Captivate 视频(至少 Captivate 4)都有一个名为 movieXML 的变量。使用 flash.display.Loader 或 URLLoader 在 Flex 中加载 Captivate 视频后,您可以访问此变量并提取所需的所有信息。
问候,
塔斯
Okay, I've found the answer. Every Captivate video (at least Captivate 4) has a variable called movieXML. After loading a Captivate video in Flex with flash.display.Loader or URLLoader, you can access this variable and extract all the information you need.
Greetings,
Tas