我的Flex应用程序是使用ant构建的。 html包装任务如下:Html包装问题
<target name="wrapper">
<html-wrapper
title="{$title}"
file="login.htm"
height="300"
width="400"
application="app"
swf="Main.swf"
version-major="9"
version-minor="0"
version-revision="0"
history="true"
template="express-installation"
output="${APP_ROOT}"/>
</target>
我的目的是在浏览器禁用JavaScript的情况下向用户显示消息。 我修改了快速安装文件夹中的文件index.template.html包括在标签下面:
<noscript><my message here/></noscript>
没有得到显示该消息。有没有一种方法,我可以找出哪些index.template.html文件被蚂蚁任务使用或是文件被覆盖不知何故?
任何人都可以解决这个问题吗?任何帮助,将不胜感激。 :)
是的,我已经测试过了,修改了index.template.html文件的位置:“C:\ FlexSDK \ templates \ express-installation”,但没有奏效。我仍然无法找到它正在使用的文件。 – Suga 2010-10-29 05:12:18
可能是Flex Ant任务中的一个错误。如果你使用命令行选项做同样的事情,它是否像你期望的那样工作? – 2010-10-29 10:50:48