help, blackspade ;)
- Started
- Last post
- 13 Responses
- blackspade
I was checking out http://www.burningsmallfires.com…
in Firefox, ..and noticed it has a 'full-screen on resize' script working in Firefox...I have had no-end of troubles trying to achieve this with my own site!
http://www.blackspade.co.nzIf you look, youll notice Firefox is cutting off half of my full-screen
for some reason? (it works fine in all the other browsers.)Anyway, I was wondering (if anyone would be so kind) as to let me know what I might be doing wrong so I can fix the prob with my site in Firefox.
Ive emailed Fernando at burning small fires, to see if maybe he would let me know the AS hes used.
the following is the AS i am using/having probs with.....
--------------------------------...
Stage.align = "TL";
// Position the movie at top, center
Stage.scaleMode = "noBorder"; // Prevent scaling (required!)// Create the listener object
/*
resizeListener = new Object();
resizeListener.onResize = function () {
fIRatio = 1024 / 768;
iWidth = Stage.width;
iHeight = Stage.height;
fSRatio = iWidth / iHeight;
trace("New width: " + iWidth);
trace("New height: " + iHeight);
trace("Image Ratio: " + fIRatio);
trace("Stage Ratio: " + fSRatio);if(fSRatio > fIRatio)
{
mcCruiser.width = Stage.width;
}
else
{
mcCruiser.height = Stage.height;
};};
Stage.addListener(resizeListener...
*/--------------------------------...
- blackspade0
surely it cant be that simple!
farkin fantastic if it is
Chur Jnr_mad I owe ya one
:D
- blackspade0
any ideas how to get rid of the horiz scroll in firefox (its only showing in ff)
?
- Jnr_Madison0
Read the comments on the link I posted :)
- blackspade0
thanks man
- Jnr_Madison0
No probs.
- Jnr_Madison0
Just found unfit's post. Just drop this in:
body {
height: 100%;
width: 100%;
margin: 0px;
padding: 0px;
overflow: hidden;
}
- blackspade0
ahhhhhh
*copy*
- blackspade0
that did the trick
thanks again for yer help
- Jnr_Madison0
Looking good.
- jevad0
yeah spade - great photo!
- blackspade0
thanks jev
one of those flukey,- "snap away and see if anything good comes out" -kinda shots :)