I am developing a website in flex.
And in that, i am trying to set the background image of my application.
like this:
parentApplication.setStyle("backgroundImage", data.image_src);
From a different location.
My issue is that, the images that i have are small and hence they are being stretched when used as background images.
I want to avoid that from happening. How can i do it?
Please help me with the issue.
Regards
Zeeshan
Best Answer
Set the
backgroundSize
property to "auto" or to a fixed size.If you want to tile instead, look at this post.