Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Scaling Images

7:21 am on Apr 1, 2010 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 20, 2008
posts: 133
votes: 0

Hi all,

I have created a full browser width flash site, with various elements sticking to various corners of the site.

The site has a large background photograph that rotates between 3 fade in/out images.

What I need to do is make the image stay a certain size if the users has a screen window of less than say 500px width with the whole image in view, then scale in proportion once the user goes bigger than this.

At the moment I have the image pinned to the top left corner and the smaller you go on screen size the less you see of the image, so no good for our laptop users.

I am using AS 3.0 to control the other elements and need something to use that I can seperate out and simply target the background images with.

Can anyone help please.

If you want to see an example site of what im talking about please message me.