The images are accessible to the compiler. I have another css in the
same directory that has these exact same styles declared and it
compiles fine. The only difference being the style sheet that does not
compile has 'Compile CSS to SWF' selected.

--- In [email protected], "Tim Walling" <[EMAIL PROTECTED]> wrote:
>
> The images you embed need to be accessible by the compiler. Is the
images
> folder in the same directory as the CSS? Have you tried changing the
path to
> the image?
> 
> 
> Tim
> 
> 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');
> >
> >
> >  
> >
> 
> 
> 
> -- 
> Tim
> timwalling.com
>


Reply via email to