The compiler expects that image path to be in one of your project source folders during build. If that path exists in your bin folder only, the compiler will never see it for an embed operation. HTH, Ryan
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: Wednesday, October 29, 2008 1:20 PM To: [email protected] Subject: RE: [flexcoders] Invalid Embed directive It can be confusing as to where the file thinks it is at compile time - in fact I remain fairly confused about it :( You might try "/global/media/flowers.jpg" or "./global/media/flowers.jpg" if you need to go up a directory then ../ works fine. -----Original Message----- From: [email protected] <mailto:flexcoders%40yahoogroups.com> on behalf of oneworld95 Sent: Wed 29/10/2008 19:56 To: [email protected] <mailto:flexcoders%40yahoogroups.com> Subject: [flexcoders] Invalid Embed directive Hi. I've got a Style tag with the following style in it, Application { background-image: Embed(source="global/media/flowers.jpg"); } I keep getting the "Invalid Embed directive in stylesheet - can't resolve source." I know the image exists and is at that path. Help! __________________________________________________________ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. __________________________________________________________ This message is private and confidential. If you have received it in error, please notify the sender and remove it from your system.

