Flex Builder 3 executing old source codes

只谈情不闲聊 提交于 2019-12-05 13:52:24

I ran into this problem as well. What you can do is this:

  1. Execute the clean command in Flex builder.
  2. Close the project with the problem.
  3. Go to your project folder in windows explorer / Finder etc.
  4. Delete the debug/release folder in the filesystem.
  5. Reopen the project and rebuild.

Problem should be solved after that.

Try Project->Clean to dump everything and rebuild from scratch.

Yes I forgot to say - that doesn't help too.. Usually first thing I try in that case is to switch off Automatic Build, Clean the project and Build All again.. The same thing.

My guess is that maybe Builder is not able somehow to rebuild remote SWF and runs the old one.

Check your problems tab, if there is any error it will launch the last build that was successful.

If all the problems are solved and it still happens than preform project cleanup as RickDT states.

Normally when I update from SVN and the main.swf got overwritten I have to 1: revert main.swf and 2:perform project cleanup for it to launch normally again :)

Took me a damn while to figure out tho.

I have lived with this annoying problem for a while now. This begins to happen every few days. The best solution i have found is to (a) cleanup (b) change the default Web browser under Windows->Properties. I switch between FF & chrome. Please let me know if you have a better solution.

UPDATE: I found out that I was improperly using SWCs and actually compiling parts of my project into them. When I did this Flash Builder assumed I wanted to use the SWC classes instead. I did a blog post about it here: http://inchwormstudio.com/blog/flash-builder-flash-workflow-and-the-danger-of-careless-swcs/

ORIGINAL: I've been running into this as well lately. So far Gorro's solution has been the only one that works for me. Backup to SVN or whatever you use. Delete the project in flex builder including the files on your HD. Checkout the project again and rebuild. It's a very annoying bug especially since the first time I ran into it I almost had a heart attack. It kinda throws the safety net of SVN out the window when you realize that your source is fine but the compiler is just doing what it pleases. I should point out that this occurs in Flash Builder as well as Flex Builder.

I deleted the myProject.swf from the HTML-template directory... seemed to do the trick for me then and there.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!