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