This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > March 2006 > How...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How...
jon_digby

2006-03-15, 6:18 pm

Hello,
I am looking to create a flash site, similar to riverisland.com, in the sense
that I would like once you have hit the enter button and your html page comes
up with flash in it, that the html page automatically fits to the monitor
dimensions. is this achievable??? thanks in advance,

nardove

2006-03-16, 6:18 pm

thats a javascript thing

try this

<script type="text/javascript">
var ourWidth = screen.width;
var ourHeight = screen.height;
var left = (screen.width) ? (screen.width - ourWidth)/2 : 0;
var top = (screen.height) ? (screen.height - ourHeight)/2 : 0;
window.moveTo(left, top);
window.resizeTo(ourWidth, ourHeight);
</script>


Christoph Varjas

2006-03-27, 3:40 am

When you say that you want the html page to fit the screen, do you mean so the flash file is always located in the center of the browser window?
Gnardogs226

2006-03-28, 6:31 pm

Where is that javascript placed?

I am also needing to learn how to fit the end user's monitor with the window.

Thanks,
David
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews