简体   繁体   English

使用Flex提取Captivate 4文本标题(ActionScript 3)

[英]Extract Captivate 4 text captions using Flex (ActionScript 3)

I'm developing an application in Flex 3.5 for video tutorials, which uses a lot of Captivate 4 (AS3) videos (>200). 我正在Flex 3.5中开发一个用于视频教程的应用程序,其中使用了很多Captivate 4(AS3)视频(> 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. 由于我们有200多个Captivate视频,因此我们希望在搜索引擎中内置搜索功能,该功能将基于Captivate视频的文本内容。 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. 这个想法是:每次管理员将新的Captivate视频上载到系统中时,都会根据视频内容创建索引。

My question: how can I extract the text captions of a Captivate video using Flex or rather ActionScrip 3? 我的问题:如何使用Flex或ActionScrip 3提取Captivate视频的文本标题?

(I know, there is an Export/Import function of Captivate, but I would like to access those texts dynamically from Flex.) (我知道,Captivate具有导出/导入功能,但是我想从Flex动态访问这些文本。)

I appreciate your help. 我感谢您的帮助。

Regards, Tas 问候,塔斯

Okay, I've found the answer. 好的,我找到了答案。 Every Captivate video (at least Captivate 4) has a variable called movieXML . 每个Captivate视频(至少Captivate 4)都有一个名为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. 使用flash.display.Loader或URLLoader在Flex中加载Captivate视频后,您可以访问此变量并提取所需的所有信息。

Greetings, Tas 问候,塔斯

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM