-
Senior Member
Resizing the browser
I saw this site in another post and I've noticed this becomming the trend in photo galleries.
http://www.simonladefoged.com
When you drill down and open up a photo, the photo resizes with the browser while the rest of the movie elements expand without resizing. I'd love to know how this is done.
On a side note, it used to be impossible to resize a photo cleanly in Flash. Is something being done here or is it just improvements in Flash players?
Thanks!
Last edited by sirhoff; 02-10-2010 at 09:43 AM.
-
A simple way would be to go into flash publish settings, then click the HTML tab. Where it says "dimensions" select "percent" in the dropdown box and enter 100% for both width and height.
EDIT: I think I may of misunderstood slightly. Do you mean how to make it smaller /if/ the user resizes or how to make the browser resize smaller? I thought the latter, but the site you gave link to does not resize my browser when viewing photos.
Last edited by jumpinjax; 02-11-2010 at 04:52 PM.
-
Senior Member
I HATE sites that do this! It is the user's perogative to maximize the browser if they feel like it! Don't piss off your users!
-
Senior Member
When I resize this site it scales the photo to fit the browser and expands the header and footer witout resizing sot that they are always at the very top and bottom.
-
that would be done using actionscript to anchor certain objects to places. For example:
For bottom footer:
Actionscript Code:
_root.bottomfooter._y = Stage.height _root.bottomfooter._x = Stage.width / 2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|