-
How to auto resize flash movie to fit the screen
Does anyone have a tutorial on how to auto resize your swf movie? something similar to www.2advanced.com, how it resizes to whatever size your browser is?
-
Master Of The Universe
I was going to ask the same question! I need to know how to have your main flash movie resize based on the users screen size.
Please let me know!
Thanks.. Maybe there is a tutorial on this???
-
I would also like to know about this.
I noticed how the animations etc are resized to the browser but certain things are kept with constrained proportions (the image in the banner)
What I'm trying to do is get a background animation that appears on the website that can be resized to the browser size but have a field, or layer, or movie clip (if i have to) that keeps its original proportions.
So thats a background that changes size with browser resize
and a foreground that, though it isnt static, maintains original proportions.
Thanks for your time, any help is greatly appreciated.
-
Ryan Thomson
File > publish settings > HTML tab > Dimensions = Percent
and your good to go!
Ben242, I answered your question at your thead here:
http://board.flashkit.com/board/showthread.php?t=728992
-
i actually wanted to do the same thing as ben just didnt type it out well enough. Thanks for the help guys.
-
I have one further step from this that i need to figure out..
Hi Guys,
I have one further step from this that i need to figure out..
how do you align movie clips in your flash movie so that they either align right or left right up against the edge of the browser window such as with this example - http://www.sanctuary2007.com/
if you look at the footer bar at the bottom there is an mp3 player that aligns right and the developers logo that aligns left always.
also if you also play around with your browser size you will notice that all the flowers etc move independently. they are either aligned left or right but then move independantly when you resize the browser. I know its a lot to ask but someone out there must have an idea?
cheers!
-
Flash Scale = Show all Didn't work for me....
Dear friends,
I have a flash intro. i need to auto resize in to client screen size.
I all ready try to put 100% X 100% and "show all" all most all thing i done.
it didnt change the size auto.
But after i publish it, i open that html file and goto " flash animation > right click >show all ". Only this way it will resize. please Help me.....
-
Ryan Thomson
@WOM the publish setting are added to the html that houses the swf file, not the swf itself so in order for your publish settings to take effect you'll need to publish swf and html, then replace the embed code in your actual webpage with the one flash outputted when you published.
(if that makes no sense, post your current embed code from your webpage and i'll edit it)
-
-
I NEED HELP
I HAVE DONE SIMIALR TO THIS 100% ETC IT SQUASHES TO FIT SCREEN
I have flash within a html but when I view it on pcs with smaller resolution it sqaushes to fit screen.
How do i make it so instead of sqaush to fit it stretchs and makes thinks relativly smaller etc
Last edited by Bensmart; 04-21-2009 at 10:44 AM.
-
Ryan Thomson
@Bensmart
if you set it to 100% it does make things relatively smaller, can you explain your problem a bit more? The flash file will either shrink to fit the smaller browser or maintain your set dimensions. (there is code that will allow you to shrink some parts of your stage without everything shrinking too)
-
Man I'm not sure everyone understands the question. To do a full Flash website yes publish settings change to Percentage and no scale. But I think the questions was how to put things into certain areas with scripting no?
-
dang it !!!
cant that fluid thing be done in AS 2?
-
Usually I use the program VidCrop PRO and I like this program.
-
Originally Posted by EvolveDesigns
Hi EvolveDesign,
I followed your advice to auto resize swf embedded in variable html - brwoserwindow size.
It works perfect in all browsers ... EXCEPT internet explorer 9 : it only shows a screen wide rectangle, only 50 pixels height, in the middle a tiny version of the swf, and the rest underneath is emty white space :-(
Could you help me with this, please ?
the site : http://_www_galerievanmiddelem_be
(I removed dots, I dont wanna post links
THX !!
Agnus Dei
-
Agnus,
I've done this on my page seems to work on all browsers I've tested
Try adding the folowing html code after the </head> line and before the <body> tag
Html Code:
<style type="text/css" media="screen"> html, body { background-color: #FFF;} body { margin:0; padding:0; } #flashContent { width:100%; height:100%; } </style>
Never used swfObject is this any good? I've never had any problems without it.
Best
Last edited by fania; 04-15-2011 at 10:04 AM.
-
Originally Posted by fania
Agnus,
I've done this on my page seems to work on all browsers I've tested
Try adding the folowing html code after the </head> line and before the <body> tag
Html Code:
<style type="text/css" media="screen">
html, body { background-color: #FFF;}
body { margin:0; padding:0; }
#flashContent { width:100%; height:100%; }
</style>
Never used swfObject is this any good? I've never had any problems without it.
Best
Hi,
Thanks for the help, but the problem still remains the same. Only in INternet Explorer 9, I only see a little wide stroke, with a miniscule version of the site in the middle ...
HELP !
ARE THERE DIGITAL ALCHEMISTS AND/OR GENIUSES WHO CAN BLESS ME WITH THEIR SUBLIME KNOWLEDGE ;-)
Thanks,
Greetz
-
Answer for Angus??
Hey Angus did you ever figure out the Internet Explorer 9 Flash issue? I too am haveing trouble viewing my SWF based website in IE9. all other browsers work fine, yet when I attempt to view it in IE9 it is appears only about 50 pixels high and is all stretched out.
anyone know why?
here is the link:
www.seanlattrell.com
-
Hi TinyTaboo,
First marvelous website you have there ...
I emailed you, please look at my humble wedesigner - website :
http://www.omegawebsolutions.be
I solved the IE9 - issue, by creating a different html - file, specially for IE9.
I use Javascript, that detects if the browser is Internet Explorer 9.
If it detects IE9, it automatically redirects the surfer to a different html, with code that does NOT use automatic scaling 100% W; 100% H.
The Javascript Code (for in the Heading):
<script language="JavaScript" type="text/JavaScript">
if(navigator.appName == "Microsoft Internet Explorer")
{
window.location = "ie9/index.html"
}
window.location == "index.html"
</script>
An example of one of my sites that does this :
http://www.galerievanmiddelem.be/
So, I hope I helped you out on this one,
Email me, if you want some more help, It would be my pleasure to help you out further,
Kind Regards,
Omega Websolutions
Webdesigning Brussel (Belgium)
-
Internet Explorer 9 sizing issue resolved
Angus Dei thank you!
Your script completely solved the issue for me!
Thanks for the Help!
<script language="JavaScript" type="text/JavaScript">
if(navigator.appName == "Microsoft Internet Explorer")
{
window.location = "ie9/index.html"
}
window.location == "index.html"
</script>
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
|