Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Design - stretch image
11-05-2008, 02:45 PM #1
- Join Date
- Oct 2007
- Springfield, IL
- Thanked 87 Times in 87 Posts
Design - stretch image
In html and css, you can stretch an image to make a bar across the web page by repeating that image. How do you do that in Flex?
I've tried setting up css, but that doesn't seem to be one of the possible options (repeating the image). I've tried making it wider (100%), but that doesn't work either..
...and gladly would he learn and gladly teach
Visit www.LiberalsWin.com for humor and the unique Bush/Obama Approval Polls
11-29-2008, 04:53 PM #2
- Join Date
- Oct 2006
- Ames, Iowa, USA
- Thanked 4 Times in 4 Posts
Do you have Flex builder? If so, I should think that you would be able (in design mode) to grab the sides and stretch the image as wide as you like. But then again, I also thought you would be able to do the same thing in the MXML using the Image width attribute.
If your app is 600px wide and you want the image at the top, this should work.
<mx:Image x="0" y="0" width="600" source="yourImage.png" />-- </byuhobbes>