Flash Builder 'building' html files
I'm using Flash Builder 3 to edit my Flex app, but I noticed that every time I make a change on the .html files (index.template.html for example), even if it's not in the I开发者_如何学GoDE but with another program, Flash Builder rebuilds the whole project.
Is there anyway to stop this? Why would it need to rebuild the workspace everytime a html file changes?
If it was too long it wouldn't bother me, but it takes a lot of time (more than 1 minute) every time. For your information the html file is 95 lines of 'code'.
Thanks
In the main application menu, make sure Project->Build Automatically is unchecked. That will stop it from automatically rebuilding your project every time a file changes.
Looks like it's the HTMLWrapper that takes a long time for compiling.
If you encounter the same problem, you can deactivate the wrapper generation in the compiler option.
Ive written a short article about how to edit index.template.html so that your swf will centre on the page similar to Flashdevelop centering. You might find that useful, I wrote it mainly to explain to myself and the technique works fine.
See http://www.thumbleaf.com/journal/?p=239
, Thomas
精彩评论