Flex - 对 mxml 的更改未反映在浏览器中

发布于 2024-08-06 16:56:14 字数 331 浏览 4 评论 0原文

我有一个 Flex 项目,正在使用 Adob​​e Flex Builder 3 的试用版来构建它。

我执行以下操作: 1. 更改项目中的 mxml 文件(为简单起见,假设我更改了标签中的文本)。 2.右键单击项目,Export,Release Build 3.右键单击主mxml文件,Run As -> Flex 应用程序

浏览器窗口打开,一切运行正常,但我看不到我在步骤 1 中所做的更改。

我认为浏览器(尝试使用 IE、Chrome)可能会缓存内容,所以我在删除所有临时 Internet 文件后尝试,但是我看到同样的行为。

我是不是很蠢,错过了什么,或者这里发生了什么?

I have a Flex project and am using a trial version of Adobe Flex Builder 3 to build it.

I do the following:
1. Change an mxml file in the project (for simplicity, assume I changed the text in a label).
2. Right click on the project, Export, Release Build
3. Right click on the main mxml file, Run As -> Flex Application

A browser window opens, everything runs fine, but I cannot see the change I made in step 1.

I thought the browser (tried with IE, Chrome) might be caching stuff, so I tried after deleting all temporary internet files, but I see the same behavior.

Am I being dumb and missing something or is there something going on here?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

红焚 2024-08-13 16:56:14

检查发布文件夹中 .swf 的时间戳。您可能正在从不同的文件夹运行。

Check the timestamp on your .swf in your release folder. You might be running from a different folder.

回忆那么伤 2024-08-13 16:56:14

在浏览器中检查 Flex 应用程序的 URL,看看它运行的是调试版本还是发布版本。

文件:///C:/ASWorkspace/FlexTest/bin-debug/FlexTest.html

当您运行 Flex 应用程序时,Flex 构建器通常会运行调试版本。项目完成时导出发布版本 - 发布版本中不会包含任何调试信息,因此会很紧凑。如果您在“项目”菜单中选择了“自动构建”,则在保存文件时将自动重新编译调试版本。您只需按 F11 即可运行它。

Check the URL of the flex app in your browser to see if its running the debug version or the release version.

file:///C:/ASWorkspace/FlexTest/bin-debug/FlexTest.html

When you run a flex app, flex builder normally runs the debug version. Exporting the release build is done when the project is completed - release build won't have any debug information in it and hence will be compact. If you have selected Build Automatically in the Project menu, the debug version will be recompiled automatically when you save a file. You can just hit F11 to run it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文