当我运行 Flex 应用程序时,是否运行了不同的旧版本? [英] When I run my Flex app, a different, older version is run?

查看:30
本文介绍了当我运行 Flex 应用程序时,是否运行了不同的旧版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Flash Builder 4 中点击运行按钮时,我的应用程序的旧版本正在运行.我一生都无法弄清楚为什么会发生这种情况.有人可以帮忙吗?

When I hit the run button in Flash Builder 4, an older version of my app is being run. I can't for the life of me work out why this is happening. Can anyone help?

谢谢.

推荐答案

我发现如果在活动调试会话运行时更改代码和编译应用程序,我很容易遇到这个问题.因此,请务必在重新编译应用程序之前始终停止所有调试会话——如果您选择了自动构建",则每次保存时都会发生这种情况.

I find it is very common for me to run into this problem if I change code and compile an app while an active debugging session is running. So, be sure to always stop all debugging sessions before recompiling the app--it will happen every time you save if you have "Build automatically" selected.

如果应用不会改变.关闭调试会话;完全关闭你的浏览器——不仅仅是带有你的应用程序的窗口——然后清理项目.

IF the app won't change. Turn off the debugging session; shut down your browser completely--not just the window w/ your app--and then clean the project.

这总能解决我的问题.

如果在您执行这些操作后浏览器似乎没有显示 swf;这很奇怪.尝试直接加载 SWF,而不是包含的 HTML 页面.

If the browser doesn't appear to be showing the swf after you take these actions; that is odd. Try loading the SWF directly, not the enclosing HTML page.

这篇关于当我运行 Flex 应用程序时,是否运行了不同的旧版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆