title: Flex 4.5.1 runtime errors, ant task compiling
body: <p>I am having problems with my ant task or my Flex 4.5.1 compiler configuration.</p>
  
  <p>I debug my app with the same Flex builder version (4.5.1) with Eclipse and there are no problems. I build my Flex app with Jenkins and the Flex 4.5.1 SDK.</p>
  
  <p>There are no compilations errors but when I start the built app, I am having runtime errors that seemed to be related with some of my embedded images.
  The error messages look like </p>
  
  <pre><code>ReferenceError: Error #1065: The variable ApplicationBackgroundSkin__embed_mxml__images_bg_png_87911483 is not defined.
  </code></pre>
  
  <p>I have an ApplicationBackgroundSkin class with : </p>
  
  <pre><code>&lt;s:BitmapFill source="@Embed('/images/bg.png')" fillMode="repeat"/&gt;
  </code></pre>
  
  <p>I found this <a href="http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f2c.html" rel="nofollow">link</a> and I supposed it could be a localization or ressource bundle problem as I compile my app using the "FR_fr" locale but I didn't find what I was supposed to do to solve it.</p>