Keep edits to auto generated html wrapper

Keep edits to auto generated html wrapper

Post by flashharry » Mon, 05 May 2008 08:15:40


HI,

In flex builder 3, I setting up a wen app using eternal interface to
javascript.

For dev and testing I just want to pop the JS functions in to the wrapper page
that flex auto generates, but of course when I edit the page the wrapper get
over written. How do I stop the html wrapper page from regenerating each time.

Thanks in advance
dean
 
 
 

Keep edits to auto generated html wrapper

Post by Greg Lafra » Mon, 05 May 2008 14:05:38

FB3 main menu bar:

Project - Properties, Flex Compiler page, uncheck "Generate HTML wrapper file".

 
 
 

Keep edits to auto generated html wrapper

Post by flashharry » Mon, 05 May 2008 20:44:13

Thanks,

I also found that you can edit the index-template.html, inside html-template
folder. What ever you add to this template will be added to the auto generated
html wrapper.

I added some JS, iFrame and Flash Vars and they get added to the debug and
normal wrappers. Great for testing

Thanks again

Dean