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');
        

Reply via email to