You're missing the  upSkin:Embed('../images/buttonup.png'); due to the scope
location of an image.

Are you using this as external CSS file or embedded into an MXML?

here's a collection of example on how to use it
http://www.igorcosta.org/?p=40



regards.


On 06 Apr 2007 09:51:37 -0700, e_baggg <[EMAIL PROTECTED]> wrote:

  I have a .css file which compiles to a swf and I can load in via
runtime without problem (using StyleManager.loadStyleDeclarations()).

However, I receive compiler errors once I have Embed code in my css
like below. I presume it is because the swf that the css gets compiled
to does not have access to these images. Am I missing an easy work
around so that my external style swf can have skinning?

Thanks.

.myButton{
upSkin:Embed("/images/buttonup.png", scaleGridTop='3',
scaleGridBottom='20', scaleGridLeft='3', scaleGridRight='60');
overSkin: Embed("/images/buttonover.png", scaleGridTop='3',
scaleGridBottom='20', scaleGridLeft='3', scaleGridRight='60');
downSkin: Embed("/images/buttondown.png", scaleGridTop='3',
scaleGridBottom='20', scaleGridLeft='3', scaleGridRight='60');





--
----------------------------
Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta

Reply via email to