当我运行我的Flex应用程序,运行一个不同的旧版本? [英] When I run my Flex app, a different, older version is run?
问题描述
谢谢。
如果我在运行一个活动的调试会话的时候更改代码并编译一个应用程序,就会遇到这个问题。因此,请务必在重新编译应用程序之前始终停止所有调试会话 - 如果您选择了自动生成,则每次保存时都会发生。
$ b 如果应用程序将不会改变。关闭调试会话;完全关闭你的浏览器 - 不只是窗口w /你的应用程序 - 然后清理项目。
如果浏览器不显示swf你采取这些行动后,那很奇怪。尝试直接加载SWF,而不是封闭的HTML页面。
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?
Thanks.
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.
That always addresses the issue for me.
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屋!