【问题标题】:How to change the output name of index.template.html in Flash Builder?如何在 Flash Builder 中更改 index.template.html 的输出名称?
【发布时间】:2011-10-20 13:09:56
【问题描述】:

好的,当我在 Flash Builder 4 中编译我的动作脚本项目时,它会在我的 html-template 文件夹中创建一个基于 index.template.html 的 html 包装文件。该文件会自动获取我的项目或主应用程序的名称(项目名称.html)。但通常我希望它具有 index.html 的名称。

有什么办法吗?

【问题讨论】:

    标签: flash flash-builder


    【解决方案1】:

    打开 index.template.html 并复制所有代码。
    在名为 index.html 的 html-template 目录中创建一个新文件
    打开 index.html 并粘贴模板中的代码


    [编辑]
    右键单击 src 文件夹
    并创建一个新的应用程序
    将其标记为索引

    我之前没有建议过这个,因为它不像其他方法那么干净,但我想这不起作用。但是我知道这种方法有效。

    【讨论】:

    • 感谢您的回答。这确实在我的构建文件夹中创建了一个 index.html,但它保持不变,这意味着它仍然有它的占位符标签,例如:${bgcolor} 和 ${swf}。我希望它被视为模板或模板的名称与主类不同。
    • 这很奇怪,我很确定它会替换任何文件上的预处理器命令。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-15
    • 2011-05-28
    • 1970-01-01
    • 2011-08-09
    • 1970-01-01
    • 2021-04-26
    相关资源
    最近更新 更多