html-template and filename macros in FlexBuilder
When you create a new project in FlexBuilder and look in the html-template folder, you will see a file named index.template.html.
From this file Flexbuilder generates two html files based on the MXML Application file’s name. For example, if your application is called main.mxml, after compiling, your bin folder will contain both main.html and main-debug.html
However, if you want to deploy the wrapper as something other than html you will run in to problems, and this is where the macro substitutions come in. This is undocumented in FlexBuilder 2.0.1 and so here are some very useful links on the subject, from Mike Morearty’s blog – thanks Mike!
For general info go here, and to see what macros are available go here
1 comment
1 Comment so far
Leave a reply
[...] a post by Neil Webb I bumped into a post by Mike Morearty in which he talked about changing the index.template.html [...]