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: flexcoders@yahoogroups.com on behalf of oneworld95 Sent: Wed 29/10/2008 19:56 To: flexcoders@yahoogroups.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. ______________________________________________________________________
<<winmail.dat>>