I prefer to use a Class for images or icons like this 

package
{
    public class Icons
    {
        [Embed(source="icons/16x16/warning.png")]
        public static const warning_16:Class;
     }
}

in your mx:image , write like this :

<mx:image source = "{Images.warning_16}" />


hope it works;

best regards
Reihnart
--- On Tue, 2/16/10, Christophe <[email protected]> wrote:

From: Christophe <[email protected]>
Subject: [flexcoders] Pb with Directories
To: [email protected]
Date: Tuesday, February 16, 2010, 1:30 AM







 



  


    
      
      
      Hello, 



I have a directory for images at the same level of the www directory server.



When I use <mx:image source = "../Images/test. JPG" />



It does not find the image. 



How to solve this problem ?



Thank you,

Christophe, 





    
     

    
    


 



  






      

Reply via email to