Full Browser Flash With Scrollbars
Any good plugins available for Swfobject which enable a full browser flash site to have scrollbars when the browser resizes to smaller than the flash object? I used to use swfforcesize, but that only works with swfobject 1.5 and I'm now using swfobject 2.1.
FlashKit > Flash Help > Flash ActionScript
Posted on: 08-05-2008, 02:11 PM
View Complete Forum Thread with Replies
Sponsored Links:
Full Browser Flash - How Can I Make My Scrollbars Appear
Hi all,
I have my website up http://www.marklawrencedesign.com and am struggling to make scrollbars appear when the users browser window is smaller than the content.
A good example of what I mean is here: http://www.intelligent-marketing.com/fl ... n=gotflash
I have looked everywhere but cant find any help that explains what to do in simple English (I have no advanced knowledge of html, javascript you see)
Please any help will be thoroughly appreciated - have been looking for days on google now for a plain helping answer!!!
Thanks in advance
Mark
View Replies !
View Related
Full Brower Flash With Scrollbars
Any good plugins available for Swfobject which enable a full browser flash site to have scrollbars when the browser resizes to smaller than the flash object? I used to use swfforcesize, but that only works with swfobject 1.5 and I'm now using swfobject 2.1.
View Replies !
View Related
Full Screen Flash With Scrollbars
I've made a full screen flash site according to the tutorial on:
http://www.kirupa.com/developer/mx2004/fullscreen.htm
The flash stage is about 800x 600 pixels. No scrollbars appear, which is normal.
But what I want to happen: if someone resizes the browser window to below 800 x 600 (or for people with lower monitor resolution even if they are rare), I would like to have the scrollbars reappear again.
Is that possible by adapting the html somehow?
This is the code I now have, made by completing the tutorial:
HTML Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Cartoonist2008</title>
<style type="text/css">
<!--
body {
height: 100%;
width: 100%;
margin: 0;
}
-->
</style>
</head>
<body bgcolor="#ffdd00">
<!--url's used in the movie-->
<!--text used in the movie-->
<!--
<p align="left"></p>
<p align="left"></p>
<p align="left"></p>
<p align="left"></p>
<p align="left"></p>
<p align="left"></p>
-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="Cartoonist2008" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Cartoonist2008.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="bgcolor" value="#ffdd00" /><embed src="Cartoonist2008.swf" quality="high" scale="noscale" bgcolor="#ffdd00" width="100%" height="100%" name="Cartoonist2008" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>
View Replies !
View Related
I'm Using Liquid Flash, But Would Like To Have Scrollbars In The Browser As Well....
In other words, i have a long flash file...1400 pixels, not my choice on that. I'd like to have the functionality of using liquid flash like in this tutorial.
http://www.tutorio.com/tutorial/liquid-flash-layout
But how can I add something to the html code that will put in scroll bars?
Here is the source code for the html file...
HTML Code:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Tutorio.com Liquid Flash Layout Demo</title>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body bgcolor="#999999">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%" id="cool" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="liquid-demo.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#999999" />
<embed src="liquid-demo.swf" quality="high" bgcolor="#999999" width="100%" height="100%" name="cooladvanced" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</body>
</html>
Thanks.
View Replies !
View Related
Controlling Browser Scrollbars From Flash.
Hi.
I'm trying to find a sollution to a problem i have with a flash movie content.
I have a movie in an html page with the movie stage set to change size with an event listener to the brower size when this is changed ( using the code below).. view : www.gnative.com
what i'm wanting to happen is scroll bars appear and set when the window is less than 800X500.
I'm not to sure weither javascript would be able to do this or useing CSS or if this is even possible
any ideas or a direction much appreciated
Thanks
--------------------------------------- CODE --------------------------------------
PHP Code:
//
stageEvent = new Object();
function stageInit() {
stageEvent.onResize = function() {
// set nav_mc to center stage
nav_mc._y = Math.floor((Stage.height - (nav_mc.nBg_mc._height))/2);
nav_mc._x = Math.floor((Stage.width - (nav_mc.nBg_mc._width))/2);
// set Leafs to bottom right of Stage
l_mc._y = Stage.height - l_mc._height;
l_mc._x = Stage.width - l_mc._width;
//
if(Stage.height < 800){
// Do this
getURL("javascript:scrollBar()");
}
};
Stage.addListener(stageEvent);
this.stageEvent.onResize();
}
Stage.align = "LT";
Stage.scaleMode = "noScale";
stageInit();
-------------------------------------------------------------------------------------
View Replies !
View Related
Flash 100% With Scrollbars, Browser Corruption
Hello. This is as much a flash question as it is html, but it mostly involves html. I have an index page with a 100% wide/high flash file. I need it 100% because I have animations and background changes that fill the entire screen, so specifying width/height is not an option on the flash file. I however want the user to be able to scroll up/down, left/right to see the content, especially if they are on a 800x600 reso. as the site is built for 1024x768 or higher.
To try and workaround this I made an absolute placed div (#scroll) at 1200pxX760px so that when you resize your browser less than these dimensions the browser shows scrollbars. This is what I wanted to have happen. However, when you resize the browser less than the 1200x768 and then move the scrollbars the browser cuts part of the movie off and all you see is the background color.
I've uploaded a mockup of this. In the example the flash file is white and the background is blue. I'm hoping someone in this forum knows about html and why it hides the flash file.
I appreciate any help.
This is in effect the code. I haven't checked it in windows but in Safari and Firefox this problem exists.
<head>
<style type="text/css">
HTML, BODY { margin: 0; padding: 0; width: 100%; height: 100%;}
#flashcontent { z-index: 1; }
#scroll { position: absolute; width: 1200px; height: 760px; top: 0; left: 0; z-index: 2;}
</style>
</head>
<body>
<div id="scroll"> </div>
<div id="flashcontent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="test" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="test.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="test" quality="high" scale="noscale" salign="lt" wmode="transparent" bgcolor="#ffffff" width="100%" height="100%" name="test" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
</body>
View Replies !
View Related
How Do I Remove Browser Scrollbars In Flash Website?
I want to create a Flash website that fills the browser window, like the following site: http://www.big-dvd.com/.
I notice that the above site isn't stretched, but instead maintains 100% scale and is large enough to cater for all screen resolutions. I have two questions:
1. Is this a good idea, or should I stretch my Flash website to fit the browser width?
2. How did the designer of this site avoid the browser scrollbars appearing?
Thanks!
View Replies !
View Related
I'm Using Liquid Flash, But Would Like To Have Scrollbars For My Browser Window.
In other words, i have a long flash file...1400 pixels, not my choice on that. I'd like to have the functionality of using liquid flash like in this tutorial.
http://www.tutorio.com/tutorial/liquid-flash-layout
But how can I add something to the html code that will put in scroll bars?
Here is the source code for the html file...
HTML Code:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Tutorio.com Liquid Flash Layout Demo</title>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body bgcolor="#999999">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%" id="cool" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="liquid-demo.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#999999" />
<embed src="liquid-demo.swf" quality="high" bgcolor="#999999" width="100%" height="100%" name="cooladvanced" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</body>
</html>
Thanks.
View Replies !
View Related
Fill Browser With Flash - No Scale/scrollbars
Hey everybody,
i havent posted to ultrashock in years, but im developing a massive online architecture/interactive portfolio and need some help
i need to know how i can embed a large swf (dimension wise), that will probably overflow on most resolutions on the top left of a page, without having ANY scrollbars show up on any browser or having it scale at all. I just cant seem to get rid of the scrollbars so far
do i do this in flash or html?
View Replies !
View Related
Full Browser Flash Detecting Browser Size Help.
http://akmphoto.net/akmdesign_new.html
Anyone know the AS to make it automatically check the size of the browser for the listeners.... _notice when you resize the browser it works perfectly...but not when it first loads up...any ideas?
Code:
// ***Stage aligned top left
Stage.align = "TL";
// *** Stop the stage from scaling with the browser window.
Stage.scaleMode = "noScale";
stop ();
// initiate postitions and scaling values for objects
fluid._x = (Stage.width + 200)/2
fluid._y = Stage.height/2
bottomstretch._height = Stage.height;
rightstretch._height = Stage.height;
topstretch._width = Stage.width;
rightstretch._x=201;
tutoriobutton._x = Stage.width - tutoriobutton._width
bottomo._x = (Stage.width + 200)/2
// end initial position setting
//create a listner that checks to see if the browser window is resized
sizeListener = new Object();
sizeListener.onResize = function() {
// change movieclip properties when the window is resized.
topstretch._width = Stage.width;
fluid._y = Stage.height/3;
fluid._x = (Stage.width + 200)/3;
bottomstretch._height = Stage.height;
rightstretch._height = Stage.height;
//*note* 200 is the width of the left column
tutoriobutton._x = Stage.width - tutoriobutton._width
bottomo._y = Stage.height/1;
bottomo._x = (Stage.width + 200)/2;
};
Stage.addListener(sizeListener);
View Replies !
View Related
Full Screen With No Scrollbars
I use this code when a button is clicked
on (release) {
getURL("javascriptpenNewWindow('main.html','thew in','fullscreen=yes,toolbar=no,scrollbars=no') ");
}
and a code in the html page
<SCRIPT LANGUAGE=JavaScript>
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
</SCRIPT>
okay so, when i click the button, main.html opens in full screen but i still have a scrollbar on the right, even though in the code of the button i specified no scrollbars "scrollbars=no".
I'm really suck. Any ideas how i can get rid of the scrollbar?
Thanks
View Replies !
View Related
Full Screen With No Scrollbars
I use this code when a button is clicked in flash
on (release) {
getURL("javascriptpenNewWindow('main.html','thewin','fullscreen=yes,toolbar=no,scrollbars=no') ");
}
and a code in the html page
<SCRIPT LANGUAGE=JavaScript>
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
</SCRIPT>
okay so, when i click the button, main.html opens in full screen but i still have a scrollbar on the right, even though in the code of the button i specified no scrollbars "scrollbars=no".
I'm really suck. Any ideas how i can get rid of the scrollbar?
I asked the same thing in the flash forums but they said that i might find the answer here.
Thanks
View Replies !
View Related
Full Screen Toggle ScrollBars
Hi Everyone,
I have my flash at %100 width and height, and have three else statements which dictate the placement of the mc on my stage. What i would like to have is the user changes the screen width to anything smaller than 1024 that it initiates the browser to activate the scrollbars. The layout of my site really needs the user to be able to scroll if they resize the browser smaller than 1024 but have no idea wheather this can be achived through actionscript or if this is something that needs or can be done in the Html. One side note is also that if the browser is resized to a height less than a percentage of the landscape width that the scrollbars would also be toggled on. I hope i make sense. Any help is greatly appreciated.
Here is the site address for perspective: www.Petkind.com
please note: there are bugs still...yes i know
Quote:
//When Stage Is Resized Initiate Function Based On Size
stageListener = new Object();
stageListener.onResize = function ()
{
if (Stage.width > 1599)
{
Landscape._width = Stage.width;
Landscape._height = Stage.width * 0.471764;
Logo._x = Stage.width / 2;
Content._y = (Landscape._height / 2) - 70;
MaskBottom._y = Landscape._height + 120;
MaskBottomShadow._y = Landscape._height + 120;
BurlapBottom._y = Landscape._height + 120;
var Contentmove:Tween = new Tween(Content, "_x", Regular.easeOut, Content._x, (Stage.width / 2) - 475, 4, true);
}
else if (Stage.width < 1024)
{
Landscape._width = 1024;
Landscape._height = 1024 * 0.471764;
Logo._x = Stage.width / 2;
Content._y = (Landscape._height / 2) - 70;
MaskBottom._y = Landscape._height + 120;
MaskBottomShadow._y = Landscape._height + 120;
BurlapBottom._y = Landscape._height + 120;
var Contentmove:Tween = new Tween(Content, "_x", Regular.easeOut, Content._x, 37, 4, true);
}
else
{
Landscape._width = Stage.width;
Landscape._height = Stage.width * 0.471764;
Logo._x = Stage.width / 2;
Content._y = (Landscape._height / 2) - 70;
MaskBottom._y = Landscape._height + 120;
MaskBottomShadow._y = Landscape._height + 120;
BurlapBottom._y = Landscape._height + 120;
var Contentmove:Tween = new Tween(Content, "_x", Regular.easeOut, Content._x, (Stage.width / 2) - 475, 4, true);
}
}
// End of the function
Sincerely,
Martha
View Replies !
View Related
Want Scrollbars Upon Resize In Full Flashsite
hey guys, could someone please take a look at the source code for this site:
http://www.devrijplaats.com
it's a full browser flashsite and I want scrollbars to show when someone resizes the site (when the browserwindow becomes smaller than the dimensions of the flashmovie). Now, i've tried this in the html source, but I couldnt get it to work... Can someone show me how to do this?
thanks!
View Replies !
View Related
Browser Scrollbars?
Hi..
I have a question:
I got a swf with let's say 600px height. when I put-it on a website, the browser inserts scrollbars, because I have some content below the swf... Now comes the problem: the swf is a game, and uses the up and down keys. When I press them the game executes the commands, but also the browser executes scrolling up/down. That is really unpleasent.. Can that be solved? Any help much, much wanted...
tnx a lot,
ovidiu
View Replies !
View Related
[F8] Browser Scrollbars
My stage size is 1015 X 590. when the html page loads up my swf and when viewing it in my browser (or) any other browser I see vertical and horizontal scroll bars on my browser. I want my stage size to remain as it is but I want to restrict these scroll bars from appearing on the browser. Because of this problem, when the viewer is using too many toolbars on the top of his browser- the vertical scrollbar of my page keeps increasing and this looks really Odd.
How can i detect that the browser is smaller than my stage so that i can shrink my Swf file through a script. Or is there a better alternative??
View Replies !
View Related
Browser Scrollbars
Hi all,
How do I enable scrollbars for my site to help people with small monitor / resolution sizes view my site?
here is my site: www.marklawrencedesign.com
I have seen a few things on the internet, but not concerning the way my site is set to always be centrerd in the browser. What I want to happen is when a browser is too small for my site, scrollbars appear for the user!
Any help is greatly appreciated,
Cheers
View Replies !
View Related
New Browser Window Without Scrollbars Etc.
Hi all,
I have a question:
By clicking a button in an swf that is located in a browser window i want to open a new browser window with another swf inside. so far no problem.
but is there any possibility to get rid of the new browser window's toolbar, scrollbars, adressbar etc from within the action that is set to the button?
Thank U for any replies:-)
View Replies !
View Related
Lossing The Browser Scrollbars
so sorry...i really did look a while in the forums:
i have a movie that "slides" around, depending on where the user chooses to go via buttons. All said, the movie ("mc_main") is 3300x3300...i set the stage size to be 1300x800. Thus, as you can tell, only the middle section of "mc_main" is seen upon loading. There is no scaling going on here. Simply the user clicks a button, and "mc_main" slides to the coordinates coded from that button. The goal was to allow the user to only see the middle section of "mc_main" and then allow that user to navigate from the buttons there. ...and it works.
Ok, so the easy part (that i do not understand) is how do i get the HTML(with this swf) to load so that there are no scrollbars in the browser? is 1300x800 still too big? i would like the movie to fill the browser, but no more....i am SURE this is basic, and i am sleeping at the wheel
thanks
View Replies !
View Related
Scrollbars On Browser Resize
Hi:
I've built a photo gallery in CS3/AS3 which is 1024x768 in size. I set the HTML publish dimensions at 100% and used this code to keep the swf centered in the browser and from resizing if the browser is resized:
import flash.display.*;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP;
SO...how on earth do I get the site to automatically add scrollbars if the browser is smaller 1024x768, so that viewers can move around and see my entire site? Surely this is simple since practically every site on the web calls up scrollbars when necessary.
Is there something I should be adding to my HTML file? After days of searching the web, I've found nothing useful for such a seemingly basic request.
Thanks!!
View Replies !
View Related
Browser Scrollbars Not Enabled
Hi all,
Please check my website if u have a minute.
www.marklawrencedesign.com
What I want to check is:
A - does the link called "portfolio" appear under my name at the bottom
B - How do I enable scrollbars for my site to help people with small monitor / resolution sizes view my site?
Any help is greatly appreciated,
Cheers
View Replies !
View Related
Browser Scrollbars Not Enabled
Hi all,
Please check my website if u have a minute.
www.marklawrencedesign.com
What I want to check is:
A - does the link called "portfolio" appear under my name at the bottom
B - How do I enable scrollbars for my site to help people with small monitor / resolution sizes view my site?
Any help is greatly appreciated,
Cheers
View Replies !
View Related
Full Browser Flash?
I know how to make a background stretch to 100% but how do you make movies stretch to 100%? If you take a look here:
http://73.ufc.com/
How do they get that bar along the botton to stretch all the way across regardless of your browser size?
View Replies !
View Related
Full Browser Flash
I have done Lee Brimlows tutorial (http://www.gotoandlearn.com/) and I have it working but I don't want my image to tile, just to resize as sharp as possible. I also want to be able to change that image through a navigation.
Any advice?
View Replies !
View Related
Full Browser Flash
Hello, I'm working on a site, that needs to have a full browser flash document. I've tried setting every object, and property to 100% width and height but I can't find out what's wrong.
In both firefox and IE there is a 5-10pixel white border around my file.Could anyone suggest what I should do to fix it? Thanks.
The particular file I'm using is published for flash 8.
View Replies !
View Related
Full Browser Flash
hi everyone and thanks in advance for your advice
i am trying to create a full browser flash movie along the lines of www.brook-pifer.com so that i want to scale a background .jpg to the full size of the movie.
has anyone got any tips on the best way to handle this?
View Replies !
View Related
Full Browser Flash
Hey everyone-
quick question about size...what's the best way to accomplish Full Browser Flash? Ive always had issues with this becuase of the difference in user displays. anyone have any suggestions? thanks everyone
Eric
View Replies !
View Related
Full Browser Flash?
Hi there,
Im trying to achieve a flash page that will cover the browser window ( not chromeless, just the browser!!) Ive posted a query about this subject before but the advice i recieved didnt really solve the problem. Im not experienced with actionscript and i think this may be my problem!!
Ive been experimenting with a 100x100 stage and filling it with a coloured box and then publishing it with the following html code:
......</head>
<body bgcolor="#ffffff" topmargin=0 leftmargin=0 rightmargin=0 bottommarign=0>
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/
pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="100%" id="Untitled-1"
align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Untitled-1.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff" />
<embed src="Untitled-1.swf" quality="high" scale="noscale" salign="lt" bgcolor="#ffffff" width="100%" height="100%" name="Untitled-1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>....
According to articles such as "mastering full browser flash" (http://www.actionscript.com/index.ph...-flash-part-2/)
and a few other similar articles, this adjustment to the code is supposed to make the flash movie stretch accross the stage to fill the browser, regardless of the original movie size.
I cant get this to work and its driving me mad. Im trying to jazz up my xhtml/css site by making a flash version and i need the flash mvoe to be able to fill the browser window.
Im also trying to enable the movie to adjust size depending on the viewers screen res. I understand this has to do with listeners.
Could somebody set me straight on this??
View Replies !
View Related
Full Browser Flash
I know Full Browser Flash is nothing new, but I need help with the tiled background. I want a great effect with a gradient on the background is there any way I can achieve this effect?
Do you have to use tiled gifs when working with Full Browser Flash?
Any help is appreciated!
Thanks.
View Replies !
View Related
Full Browser Flash
I have a full browser script that is working just fine (script below). I am having trouble however positiong an imported .swf clip into a movie clip (mc2). Even though the movie clip's registration point (mc2) is in the center, the .swf that goes in has a top left registration point, and that top left registration point is what gets centered, leaving the entire clip to be off center. I need help centering an imported clip with a top left registration point? Does the stage size matter? Any help would be greatly appreciated.
// ***Stage aligned top left
Stage.align = "TL";
Stage.scaleMode = "noScale";
stop ();
mc2._x = ?
mc2._y = ?
sizeListener = new Object();
sizeListener.onResize = function() {
mc2._y = ?
mc2._x = ?
};
Stage.addListener(sizeListener);
loadMovie("MainSlideshow.swf", mc2);
View Replies !
View Related
Full Browser Flash?
Hi there,
Im trying to achieve a flash page that will cover the browser window ( not chromeless, just the browser!!) Ive posted a query about this subject before but the advice i recieved didnt really solve the problem. Im not experienced with actionscript and i think this may be my problem!!
Ive been experimenting with a 100x100 stage and filling it with a coloured box and then publishing it with the following html code:
......</head>
<body bgcolor="#ffffff" topmargin=0 leftmargin=0 rightmargin=0 bottommarign=0>
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/
pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="100%" id="Untitled-1"
align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Untitled-1.swf" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="#ffffff" />
<embed src="Untitled-1.swf" quality="high" scale="noscale" salign="lt" bgcolor="#ffffff" width="100%" height="100%" name="Untitled-1" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>....
According to articles such as "mastering full browser flash" (www.actionscript.com/index.php/fw/1/mastering-full-browser-flash-part-2/)
and a few other similar articles, this adjustment to the code is supposed to make the flash movie stretch accross the stage to fill the browser, regardless of the original movie size.
I cant get this to work and its driving me mad. Im trying to jazz up my xhtml/css site by making a flash version and i need the flash mvoe to be able to fill the browser window.
Im also trying to enable the movie to adjust size depending on the viewers screen res. I understand this has to do with listeners.
Could somebody set me straight on this??
View Replies !
View Related
Full Browser Flash
Hey guys - I'm trying to have my movie take up the full browser and not slide UP when the window is smaller vertically. I've read all of the tutorials but can't seem to get it not to move up and cut off the top.
Here is the movie : http://www.vmg-marketing.com/kirupa/
Any suggestions?
Thanks,
Mike
View Replies !
View Related
Full Browser Flash
Hi all,
I'm new to this board so apologies if this is a question/topic that has been raised before. I have been experimenting with full browser flash sites for a while and have been looking at the different ways to set the background image to scale. I am currently using the following script to set the scaling values of the background swf to automatically adjust to the width and hieght of the browser window. However, would I would like to do is have a little more flexibility and limit how 'distorted' the background can become.
For a comparison...
www.hi-res.net <this site uses the code I currently have, which simply scales the background image to fit the width and height properties of the stage/browser window.
www.dfgw.co.uk/flash.html <this site shows what I would like to do. If you watch the background image it does scale, but doesn't distort in the same fashion as Hi-Res. Instead, the code seems to adopt a 'best fit' approach, with some of the image moving off the stage in certain extreme width/height scenarios to stop it from distorting.
So, here's my code (apologies it's a bit messy). Does anyone have any suggetsions as to what the Action Script stage property for the Movieclip 'testt' would be to achieve something similar to DFGW??
// Assign a listener for the Stage object
Stage.addListener(stageListener);
//new stuff here
// ***Stage aligned top left
Stage.align = "TL";
// *** Stop the stage from scaling with the browser window.
Stage.scaleMode = "noScale";
stop ();
// initiate postitions and scaling values for objects
testt._width = Stage.width;
testt._height = Stage.height;
// end initial position setting
//create a listner that checks to see if the browser window is resized
sizeListener = new Object();
sizeListener.onResize = function() {
// change movieclip properties when the window is resized.
testt._width = (Stage.width );
testt._height = Stage.height;
View Replies !
View Related
Full Browser Flash Bg
Hey dudes
so I am on the full browser Flash site now, and I am dying here! I am trying to make a graphics the full browser background, and I am unable, please if anyone has done this, HELP!
Thanks dudes
View Replies !
View Related
Full Browser Flash
I know that this topic has been talked about a lot but I still have not had one of my questions answered. My question is how do you make your FBF look like these two examples.
http://www.sonypictures.com/homevide...erthanfiction/
In this one how do the designers make it work for all resolutions, how they are able to use the whole browser and user three different sections for the menu, the content, and the sound?
http://www.curtasantos.com/site
How do they make it so seemless in the slide to a new section and how do they keep the BG so seemless? And it is full browser with the single bg image.
That is really what I want to understand, how do I use a single large image to fit the browser(at any resolution) edge to edge?
Thanks in advance.
View Replies !
View Related
Flash As The Full Browser AS3 Help
I'm starting to make the transition from AS2 to AS3 and it's totally blowing my mind/ kicking my butt.
My first problem is full-frame flash—like the landing page I have at my home sitehttp://marcgarner.com. In that file I use the Stage to arrange/ place different elements and stretch the picture to fill the Stage. Here is the code I use to accomplish it.
Code:
Stage.scaleMode = "noScale";
Stage.align = "tl";
getURL("FSCommand:fullscreen", "true");
the_way = "_file/";
_root.createEmptyMovieClip("music_mc", 1);
_root.createEmptyMovieClip("base_pic", 2);
_root.createEmptyMovieClip("selection_mc", 102);
music_mc.loadMovie(the_way + "music.swf");
base_pic.loadMovie(the_way + "base_pic.swf");
screen_mc.loadMovie(the_way + "screen.swf");
attachMovie("gradient", "gradient", 3);
attachMovie("loader", "loader", 100);
selection_mc.loadMovie(the_way + "selection.swf");
onEnterFrame = function () {
replace_MC();
gradient.blendMode = "multiply";
gradient._alpha = 50;
gradient._width = Stage.width + 50;
gradient._height = Stage.height + 50;
gradient._x = -20;
gradient._y = -20;
selection_mc.copyright.blendMode = "screen";
selection_mc.copyright._x = 5;
selection_mc.copyright._y = Stage.height - 30;
selection_mc.marcgarner.blendMode = "screen";
selection_mc.marcgarner._x = Stage.width - 290;
selection_mc.marcgarner._y = Stage.height - 160;
selection_mc.nav_mc._x = (Stage.width - selection_mc.nav_mc._width) * 0.5;
selection_mc.nav_mc._y = (Stage.height - selection_mc.nav_mc._height) * 0.5;
};
myListener = new Object();
myListener.onResize = function () {
replace_MC();
};
Stage.addListener(myListener);
function replace_MC() {
if (Stage.width * 3 > Stage.height * 4) {
base_pic.me.tween(["_width", "_height"], [Stage.width + 10, Stage.width * 0.75 + 10], 0);
base_pic.me._y = (Stage.height - base_pic._height) * 0.5;
base_pic.me._x = 0;
}
if (Stage.width * 3 < Stage.height * 4) {
base_pic.me.tween(["_width", "_height"], [Stage.height * 1.33333 + 10, Stage.height + 10], 0);
base_pic.me._x = (Stage.width - base_pic._width) * 0.5;
base_pic.me._y = 0;
}
}
Every flash site I've bilt since this first projec has been pretty similar (using the stage to align everything). I need a actionscript 3 guru to tell me where to even begin. I've tried the most basic of examples in AS3 and can't even get it to compile. PLEASE HELP!
View Replies !
View Related
AS3 Full Browser Flash
Hi, am currently building a full browser site using as3 and will probably have loads of questions.. i am able to get it all expanding correctly etc..
1. i want a preloader bar that expands the width of the stage but cant figure out how to get this working as my resize listener is called after the preloader has completed?
2. when a movie clip is resized with the listener it stops it from playing..
im not really sure of the correct way to structure a full browser flash site so any help would be great! cheers
View Replies !
View Related
Full Browser Flash
Hey everyone, this is the same old how to you make a full browser flash site post. I have found a lot of good tutorials on that already. But I do have a couple questions about building a full browser flash site that the tutorials don't have a clear answer on.
I'm developing my first full browser site now and the end goal is something like http://www.chromazone-imaging.co.uk/flashindex.html
So, what generally is a good size stage to start with or does it matter? My goal is to have a menu that spans the top or bottom of the page like the Chromazone site but should that be included at the top or bottom of the page and let flash scale it up or down based on the users browser size? Or is there another way to make sure those items stay where I want them other way?
No the main content of the site, I was going to create a Movie Clip holder on the page and just load external SWFs into that. But my external SWFs are going to have JPEG which I don't want to have resize so big that they lose there quality, so is it the best idea to design the external SWF to the max. size that I would want the JPEGs and content to be and then let flash only scale them down?
So with that does my original stage/Movie Clip Holder have to be larger then my the external SWFs I'm going to load into it or does that matter with a full browser site?
Sorry for the long first post, I've been trying to get these questions answered without much luck. I really enjoy the site, it's be killing my productivity here at work. :)
View Replies !
View Related
Full Browser Flash
Hi all
Can any one help me with the full browser flash tutorial?
I was wondering if it is passable to make a back ground out of a picture that is just scales the back ground to fit the window
hope you can help
thanks
View Replies !
View Related
Help With Full Browser Flash
I wanted to redo my site and would like to play off some of the extra space that comes about with the full browser flash mode. I watched the tutorial on this site for it, but am still confused. Not necessarily liking the style, I like how this guy (http://www.frostdesign.com.au/v3/) uses the space and how nothing gets warped or fuzzy when enlarging or decreasing the browser window. Starting out with the full browser function, how large does the stage have to be? I don't want my images and navigation to be scalable, just the background (with items moving to the respective places once sized. Any help?
View Replies !
View Related
Full Browser Flash Help
I came across this website for a portfolio, http://www.alainandre.com, and really liked the simplistic style, but more importantly how the bar reaches both ends of the window, no matter how big. But when you stretch real long, the bar across the middle looks as if it has more gradient past what is seen. So, to me, it doesn't seem like its being scaled per se, like in the Full Browser Flash tutorial on this site, but more than its only showing what the window size allows.
In the same topic, I noticed too that when I size down the window, sizing past the circles on the right does not cause the scrollbars of the browser window to activate. How is this managed?
View Replies !
View Related
Full Browser Flash
Hi
I'm having a few problems here, still very much a beginner especially with action script 3.
What I have is this:-
http://www.qwerty-design.co.uk/test.html
where the white area is my content the black the background, this is fine and is centred and fills the screen just as I want but the problem is when viewed at smaller resolutions I don't get the vertical scroll bars.
Is there a way of getting this effect and having the vertical scroll bars?
I really want the full screen to be flash.
If not could I centre in HTML or CSS my flash content and just have a black ground in my html page?
Thanks
Ricky55
View Replies !
View Related
|