I have a Flex Application. When I run the html from the bin-debug folder it runs fine. But when I copy the swf file, html, swfobject and other Application specific files to another folder locally, the swf runs fine. When I run the html it gives an error in the status bar 'Invalid character Line 2 Character 1' but Application seems to work fine. My browser is IE7. My html is as below.