--- In [email protected], "luvfotography" <[EMAIL PROTECTED]> wrote: > > For an image, can I set the source in css? > ie. > <mx:Image id="myimage" source="@Embed(source='../mypic.png')" /> > > can I move the source to the css? > > or is there another way to do this? > Don't think you can because source is a property not a style. Only styles can be set in the css. Do you have multiple images that have the same image source? I think flex should only embed the image once and then reuse the image data for the other embedded images.
- [flexcoders] Can I set the image source in CSS? luvfotography
- [flexcoders] Re: Can I set the image source in CSS? cuttenv
- [flexcoders] Re: Can I set the image source in CSS? guillaumeracine
- [flexcoders] Re: Can I set the image source in CSS? guillaumeracine
- [flexcoders] Re: Can I set the image source in CSS? guillaumeracine
- [flexcoders] Re: Can I set the image source in CS... guillaumeracine
- RE: [flexcoders] Re: Can I set the image sour... Gordon Smith
- [flexcoders] Re: Can I set the image sour... guillaumeracine
- RE: [flexcoders] Can I set the image source in CSS? Jim Hayes
- RE: [flexcoders] Can I set the image source in CS... Gordon Smith

