Flex Overwriting my .HTML wrapper
        Posted  
        
            by brett
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by brett
        
        
        
        Published on 2010-03-26T03:57:36Z
        Indexed on 
            2010/03/26
            4:03 UTC
        
        
        Read the original article
        Hit count: 461
        
When I make changes to a Flex project and rerun the project, it seems that FlashBuilder4 rewrites my html wrapper that embeds the SWF. But I have additional javascript code in the html wrapper and don't want to keep losing my code. I had to re-write the code once and it was a pain in the neck.
How do I stop it from re-writing the html. And the related question: how do I stop it from deleting the html during a clean?
I basically need to exclude the html from its processing once it's been created the first time.
P.S. I'm using Flash Builder 4, but I suppose it's the same in Flex Builder 3.
© Stack Overflow or respective owner