View Full Version : Width="100%"
I feel a bit stupid to ask this, but I have a problem with Html/flash. When i publish the .swf and .html files I choose full size, width="100%" and height="100%". This doesn't work in Mozilla Firefox. The swf-file just showes like a tiny thing up in the middle. How can i avoid this to happen?
www.artproas.no
Anyone that knows how to view flash full screen that works in Mozilla Firefox?
Charlotte
SOLVED!!!:
Thank you, Farafiro, for trying. I don't think that I managed to explain the problem in a way that you understod. A solution to the problem is simply to remove the two top lines:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
use only <html>
If I do this, 100% works in Mozilla as well as other browsers.
farafiro
06-15-2004, 08:47 AM
try to use
Stage.scaleMode = "exactFit"
in the first frame
What do i do to make it fit 100% in height?
Very strange www.artproas.no
C
farafiro
06-16-2004, 02:00 AM
seems ok to me here
but here is a little trick fo ya
publish it as HTML
open the HTML
Edit it, in where it says<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100%" height="100%" id="index" align="middle">
change the value of width and height to the figuers u want
I've tryed to take both width and height away too.
The problem is that i want it to be 100% no matter what resolution the screen is.
Very yhankful for your concern
farafiro
06-16-2004, 02:48 AM
but it does appear 100%
erase your cache
The problem is when shown with Mozilla Firefox. I've tired to erase cache, no changes.
C
deekay3k
06-17-2004, 03:27 PM
If you enter the exact dimensions of your swf as the width and height values instead of a percentile it will work. Is there a reason you must use a "%" ?
Is there another way to show the .swf in full screen on any screen, I don't need to use % in the html. That is my question. Flash publish settings let me publish in 100% but it doesn't work in Mozilla Firefox... I thought this was a really simple matter...
Still thrilled to get the answer. Thank you.
C
farafiro
06-18-2004, 05:56 AM
the only 2 ways is:
100%
and to use the Stage Object (calculate the Stage.width, Stage.height and resize upon the values u get)
I don't understand this: "calculate the Stage.width, Stage.height and resize upon the values u get"
I read you as: find out what screen the user has, and use those values....
What schould I wright in the actionscript?
farafiro
06-18-2004, 09:02 AM
see this and modify it as u want
CyanBlue
06-18-2004, 09:04 AM
I personally HATE people who wants to play with my browser... I'd probably break a couple of bones if they are in front of me... :D
See what, farafiro??? What are you missing there??? ;)
farafiro
06-20-2004, 02:32 AM
OOooops
http://www.actionscript.org/actionscripts_library/main/search.cgi?query=resizing&submit=SEARCH
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.