Re: [flexcoders] Loading Images Using CSS

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 1:31 AM, Dan Vega danv...@gmail.com wrote: main.mxml mx:Image id=logo initialize=logo.source = StyleManager.getStyleDeclaration('logo').getStyle('source')/ stylesheet .logo { source: assets/images/robp/rocketfm_logosmall.png; } TypeError: Error #1009: Cannot

[flexcoders] Loading Images Using CSS

2009-01-11 Thread Dan Vega
I was looking through the archives and I came to what I thought was an answer to my problem but I can't get it to work. I have logo / icon sets that I want to be able to switch between. All of the sets have there own style sheets and its working great for the buttons but i am having an issue with