Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Apache flex 在flex中嵌入视频中的动态文本_Apache Flex_Video - Fatal编程技术网

Apache flex 在flex中嵌入视频中的动态文本

Apache flex 在flex中嵌入视频中的动态文本,apache-flex,video,Apache Flex,Video,我正在开发一个flex应用程序,在该应用程序中,一个人填写一个表单,然后在表单旁边的视频预览中动态添加文本 有人能告诉我们如何将表单中的文本动态添加到视频中吗?您可以编写一个JavaScript方法,从表单中的不同字段返回值。然后,您可以通过ActionScript在页面上调用此JavaScript函数: 以下是Adobe网站上文档的链接: 页面上有以下JavaScript函数: function jsGetFormValue(fieldName) { // note, this on

我正在开发一个flex应用程序,在该应用程序中,一个人填写一个表单,然后在表单旁边的视频预览中动态添加文本


有人能告诉我们如何将表单中的文本动态添加到视频中吗?

您可以编写一个JavaScript方法,从表单中的不同字段返回值。然后,您可以通过ActionScript在页面上调用此JavaScript函数:

以下是Adobe网站上文档的链接:

页面上有以下JavaScript函数:

function jsGetFormValue(fieldName) {
  // note, this only handles form fields with a value property, the jQuery
  // interface for getting form value is short and more elegant
  return document.getElementById(fieldName);
}
function jsGetFormValue(fieldName) {
  // note, this only handles form fields with a value property, the jQuery
  // interface for getting form value is short and more elegant
  return document.getElementById(fieldName);
}