Re: [flexcoders] Re: Adding styles to UIComponents

2009-02-05 Thread Josh McDonald
UIComponent doesn't have any code for drawing background images. If you want a background image without the overhead of using a Container such as Box, you'll have to build a subclass of UIComponent that does. Or simply add an Image as the first child of your UIComponent. Are you extending

[flexcoders] Re: Adding styles to UIComponents

2009-02-05 Thread Amy
--- In flexcoders@yahoogroups.com, superbokbok superbok...@... wrote: http://livedocs.adobe.com/flex/3/html/skinstyle_3.html There's no reason you can't call your style backgroundImage. Nice link :) I tried to implement code as per the examples in the link page, but the problem is I

[flexcoders] Re: Adding styles to UIComponents

2009-02-05 Thread superbokbok
--- In flexcoders@yahoogroups.com, Josh McDonald j...@... wrote: UIComponent doesn't have any code for drawing background images. If you want a background image without the overhead of using a Container such as Box, you'll have to build a subclass of UIComponent that does. Or simply add an

[flexcoders] Re: Adding styles to UIComponents

2009-02-05 Thread superbokbok
--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: --- In flexcoders@yahoogroups.com, superbokbok superbokbok@ wrote: http://livedocs.adobe.com/flex/3/html/skinstyle_3.html There's no reason you can't call your style backgroundImage. Nice link :) I tried to

[flexcoders] Re: Adding styles to UIComponents

2009-02-04 Thread superbokbok
http://livedocs.adobe.com/flex/3/html/skinstyle_3.html There's no reason you can't call your style backgroundImage. Nice link :) I tried to implement code as per the examples in the link page, but the problem is I can never get an image to show as the background of a UIComponent! This would

[flexcoders] Re: Adding styles to UIComponents

2009-02-03 Thread Amy
--- In flexcoders@yahoogroups.com, superbokbok superbok...@... wrote: Hi all... Was wondering if this was at all possible... I have a stylesheet that defines a number of settings. One of them being a background image to be used for a component. If I use any of the container classes and