[flexcoders] Re: Tiling a Background Image

2007-04-05 Thread Paul Whitelock
Thanks Alex, I'll take a look at that.

Paul


--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

 I'd make a custom border class.
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Paul Whitelock
 Sent: Wednesday, April 04, 2007 11:50 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Tiling a Background Image
 
 I've just started work on the UI/Graphic Design for a Flex application
 and I need to tile a seamless image as the application's background.
 I've found that while it is possible to specify an image for the
 application background, I see no way to tile the image.
 
 I assume that I'll need to write my own code to tile the image, but
 could someone perhaps give me a tip as to where I should begin
 looking? Do I need to do something like subclass the Application class
 or is there some simple way to insert a custom component so that it
 becomes the application's background?
 
 Thanks!
 
 Paul



[flexcoders] Re: Tiling a Background Image

2007-04-05 Thread scalenine
I use the solution presented here:

http://renaun.com/blog/2006/12/08/165/

Works like a charm for any component including Application, Canvas,
VBox, HBox, etc.

Hope that helps.

Juan
scalenine.com

--- In flexcoders@yahoogroups.com, Paul Whitelock [EMAIL PROTECTED] wrote:

 I've just started work on the UI/Graphic Design for a Flex application
 and I need to tile a seamless image as the application's background.
 I've found that while it is possible to specify an image for the
 application background, I see no way to tile the image.
 
 I assume that I'll need to write my own code to tile the image, but
 could someone perhaps give me a tip as to where I should begin
 looking? Do I need to do something like subclass the Application class
 or is there some simple way to insert a custom component so that it
 becomes the application's background?
 
 Thanks!
 
 Paul