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

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

问题描述

当我点击Flash Builder 4中的运行按钮时,我的应用程序的旧版本正在运行。我不能为我的生活找出原因。任何人都可以帮忙吗?

谢谢。

解决方案

如果我在运行一个活动的调试会话的时候更改代码并编译一个应用程序,就会遇到这个问题。因此,请务必在重新编译应用程序之前始终停止所有调试会话 - 如果您选择了自动生成,则每次保存时都会发生。
$ 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屋!

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