ActionScript 3.0 :: Full Browser With ScrollBar Fluid / Fit Screen - Flash Site
Sep 8, 2010
How to create a fluid / liquid / fit to screen flash site with scrollBar. I am pretty much new to AS3 and flash. I have been looking for a way. To have, a background image contained in a MovieClip. Let's say: bg_mc and have it scaling automatically to fit the different user's Internet browser screens size. In other hand, have another MovieClip that handles and holds the site. Let's say: content_mc without being affected by the scaling of the bg_mc. And last, in the case... the content_mc height does not fit in the user's internet browser. Have the internet browser with its scrollBar so the user can scroll down and see the rest of the site. (right now my content_mc is being cut off the screen).
Examples Flash sites with this layout: [URL]. The Next Code: it does generate a full browser's background image but there is no scroll bar for IE or FireFox and in some cases stretch my content_mc if i play too much with StageScaleMode.
// -----> AS3.0
import flash.display.Stage;
import flash.display.StageScaleMode;
import flash.display.StageAlign;
var myStage:Stage = this.stage;
myStage.align = StageAlign.TOP_LEFT;
[Code] .....
View 2 Replies
Similar Posts:
Jul 8, 2009
Is there any way to make a full browser swf that, at a certain point, stops scaling to the stage and allows the browser to use it's native scrollbars? For example, say my flash site has a top bar (it's y is always 0) and a bottom bar (it's y might be stageHeight - 15). Is there any way to tell the movie to stop scaling if the bottom bar's y is less than say 300, and from that point have the browser display it's scrollbars allowing you to scroll the content?
View 4 Replies
Feb 25, 2012
i have made a site in flash. stage size 955x600 i have exported it as fullscreen with no scale. the problem is that if i browse the site with a resolution of 800x600 (760x420 if i'm not wrong), the browser dont' add scrolls and its impossible to see the complete site. How can i fix this without resizing the site. i want the users to see with the proportions that i have now.. ijust want a scroll on the browser.
View 2 Replies
Sep 15, 2009
am trying to get around succeeding a full screen site in flash with AC3, but always ending with no satisfying result, I am trying the 100% on both the width and height in the html file, but at the end it doesn't work properly, I don't get a full screen, and when I get it, the files seems to be doubled kind of streched to fit the screen, the writings and images are as twice as their original size in the flash documents, any one has a tutorial or somewhere where I can find an answer to this:I am lokking to making something closer to this:[URL]
View 3 Replies
Jan 29, 2009
I have to launch a full browser Flash site tonight, all is working great except one issue. The doc type which should be a validated working doc type (below) is throwing my whole flash to the top of the page leaving about 80% of the page all white:View problem site: http[url]....
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">
But if I use an outdated doc type (below), it works just fine and fills the browser fluidly as it should.
View 5 Replies
Jul 29, 2005
is there a way to make flash site on full screen I mean no IE tool bar nothing, flash on full screen
View 4 Replies
Mar 4, 2009
Just finished our new site which is full screen Flash effort (link in my signature if you're interested), now I would really like to implement some accessibility features, bookmarking, history etc.The whole site has a central navController function through which nav requests pass which I've developed with this in mind, and I've got a vague idea of how to do this using invisible frames and passing variables through FlashVars but is there any consensus on what is the absolute best way of doing this? The new Attik site is a good example of what I want to achieve [url]
View 4 Replies
Jan 18, 2009
I'm making a fluid full browser flash site, and things are coming together nicely, but at some point, if the stage size gets too small (such as if someone is using a 800x600 resolution), things just don't look right. Things get all smooshed together and cause for a cluttered mess. To solve this, I put constraints on my stageResize function so the stage would only shrink down to a desired size. This worked great for the flash file, but I can't get the browser to add scroll bars are this point. I figured I would need a JavaScript file that would size the browser (or the div that contains the swf) and then constrain it as needed, but after digging around a few sites that perform the way I would like mine to, I am not seeing any such JavaScript files.
Example: [URL]
View 14 Replies
Apr 22, 2010
Flash full screen actionscript works and opens in flash player only, but not when imported into html and open for web browsers
View 1 Replies
Oct 7, 2010
I am having trouble with an 'enter site in full screen' button.I have a title screen on one frame which on a button click should advance to the next frame & set full screen.Basically, when I test the movie it is fine, when I then test it live in a browser the movie loads but on button click doesn't go to my next frame or fullscreen.
Code:
stop();
this.addEventListener(Event.ADDED_TO_STAGE, init);
[code]......
View 2 Replies
Apr 1, 2010
I am working in Flash CS3 and Actionscript 3.0 My application resizes according to browser width and height. If the user first resizes the browser and then loads the flash application, I could not get the full browser width untill the user goes for full screen. Is there any way around, to get the full browser width before the user goes for full screen.
View 1 Replies
Aug 6, 2009
My full screen flash site works oerfectly on Mac's (I have a mac). But on PC IE and Firefox the full screen flash site is cut off 1/4 of the way down the page (see screen shots in zip or test if you are on PC). live site [URL] The site uses a swf object (files included in the zip). I got this from a template on flashDen. my problem is that I only have my mac and can't test on PC IE / firefox. Not that I would know where to start. I think that the problem might be the swf object from [URL] but not sure? I need to sure my site to apply for jobs. But recruiters use PC and it is very embarrassing that they can only see 1/4 of the screen.
View 2 Replies
Nov 3, 2009
I am trying to make a flash site open full screen without having to hit any buttons,
View 7 Replies
Sep 3, 2009
I am making a Full Screen flash site and I need my BG to scale proportionately. Currently I am using:
Code:
_root.attachMovie("bg3","bg3",_root.getNextHighestDepth());
bg3._x = Stage.width/2;
bg3._y = Stage.height/2;[code]...
View 1 Replies
Feb 4, 2010
I was checking out flash templates looking for inspiration, when I ran across this template.If you open the link, you'll see a button on the right side of the flash file which allows for full screen display. There are no browser elements visible at all.
View 1 Replies
Mar 9, 2012
[URL]make fully in flash, can interact with the brwoser size (try to resize the windows and see what happen). I thought that it isn't possible, but i unserstoond that i was wrong after saw the louis vuitton site.. Then how i can activate the "browser scroller interfacing" with my swf?
View 2 Replies
Jan 16, 2010
I'm attempting to put together a Flash site that fits the entire browser window no matter what the user sizes it to. I have searched here along with Google and can't seem to find a solution to my problem. I found a nice example on how to achieve it however it is missing one key aspect of what I need which has got me wondering whether or not what I'm looking to do is even possible.
My flash site has movie clips that will animate from off the stage on the right and bottom edges. What I want to have happen is in the browser window I want it to look like it comes from off-screen as well. So for example, you have a ball bounce in from off the right side of the screen into the center of the browser and then maybe it bounces down off the screen at the bottom of the browser.
The solution I have found fills the window and doesn't scale which is what I'm looking for, but any items that are off the stage in my Flash file will show in the browser if it is resized big enough. Here's the example I found[url]..
View 1 Replies
Sep 30, 2009
I bet you can't solve this one! I am using AS2 to make a full screen gallery like this: [URL].. and I'm having some problems:
1) MOST IMPORTANT: When the gallery is loaded in a smaller browser window, then the browser window is maximized, the scroll bar doesn't work properly when clicked. The scroller moves, but not to the position at which the user clicks.
2) LESS IMPORTANT: When the user mouses over the scroller and scroll bar, I would like their alpha/colour to change (preferably fade in and fade out).
3) LEAST IMPORTANT: Is it possible to use a graphic for the scroller?
[Code]...
View 1 Replies
Apr 14, 2005
I have a standalone Flash projector running off CD. Currently, I use
getURL("http:url....);
to open the page on default browser. Only problem is the browser window is opening at the size it was last used. I like to see it opens full screen.
View 2 Replies
Aug 11, 2011
I need to create a full browser flash website with a background image or maybe even rotating background images like these:
[URL]
I tried playing with the code from these sites unsuccessfully before thinking that the scaling must be coming from the flash file itself. There seems to be a lot of these sites. I saw this tutorial:
[URL]
But I think this is in AS2 (i'm not a big coder) and also uses a seamless pattern but I would like to use photos.
View 2 Replies
May 6, 2009
I am trying to create a website that will full scale the browser window with all the flash elements inside but I am having trouble deciding what resolution to design in and how to lock certain content to not scale.
I am trying to achieve the effect that will consist of a high resolution image as the background for each section of the website that will full screen. Content such as logo and footer etc should always remain locked. An example of this can be found at http:[url]..... If you shrink the browser window all content stays centralised and the top and bottom footer do not scale, although the central part of the site does change. I was wondering how this effect was achieved? How does some content remain locked and others scale. I really can not figure out what dimension size to design in and achieve the high res image effect for the site. I too will require a top and bottom footer.how that site was published and constructed that would be brilliant.At present I am playing around with the following code:
fscommand("fullscreen",true);
Stage.scaleMode = "noScale";
Stage.align = "C";
I then know the publishing settings should be set at 100 x 100 percent and that when the swf is imported to the html to write the following style tag:
<style>
body {margin;0px:padding;0px}
</style>
View 1 Replies
Feb 20, 2010
im trying to make my flash website full screen inside the users browser, is there any way of doing this to the flash file inside the index file? Ive found it hard to find this info online as i dont mean properly full screen, just full screen inside the browser.
View 3 Replies
Apr 6, 2010
I have a 100% width and height flash object in my site. Activating and exiting browser full screen mode with F11 only works as long the user didn't click the Flash movie. And I doubt many users know they have to click the address bar to enable F11 after using a (browser) full screen Flash movie.
View 1 Replies
Jan 23, 2010
I am working on a Flash app that is 900x700 pixels. When viewed in misc. browsers at 1024x768, the browser chrome causes robs too much of the vertical space and the app appears in a window with a vertical scrollbar. Unacceptable.
The flash app will be launched via a link emailed to the viewers.
I'd like to avoid resizing the flash app and am wondering if there's a way to do the following via javascript, with no clicks involved:maximize the current browser window remove current window address bar and tabs / switch browser to full screen view (equivalent to pressing F11).
An alternative would be to resize the flash app vertically to match the browser canvas height to avoid scrolling. This may cause the app to become unreadable, so not the best approach in my case.
UPDATE: Seems that browser resizing and autoswitch to full screen won't work and neither will the flash app auto resize. What is the best approach then? And, some users may have browsers with toolbars or open a small browser window.
The only idea I have is to use javascript and display a message to users with small browser windows to pres F11 manually. The audience is executes and some may not even know what an F11 means...
View 5 Replies
Apr 23, 2010
I'm working on a flash site. my boss want it is full screen for all screen resolution .... and i don`t know any thing about how i do it ..
View 7 Replies
Dec 10, 2010
I am creating a full screen projector with flash CS4. In the projector I have more videos, starting from an swf player-
The problem I encounter is this:
The projector starts correctly FULLSCREEN (using AS). The video plays 900x506 correctly. If I click on the player, to get the video full screen, it works. But when I press ESC, not only the video, but also the PROJECTOR looses full screen.
This is a bit annoying. Is there a way to apply the "back to normal size" only to the video? I do not want to prevent the app to be exited from full screen, it's not a problem if the user wants to exit the projector full screen. But not when the user exits the video from fullscreen mode.
How to target only the video?
View 1 Replies
Feb 10, 2010
I recently created the following webpage: One challenge I'm having is on the About and Pricing pages. Is there a way to have my text size increase depending on how big the users screen is? Doesn't need to be exact, but if I'm on my iMac the text size is quite small when full-screen.
View 0 Replies
Jul 16, 2009
I'm trying to create a full stage site. I do use this code:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
stage.addEventListener(Event.RESIZE, resizeListener);
function resizeListener (e:Event):void {
trace("stageWidth: " + stage.stageWidth + " stageHeight: " + stage.stageHeight);
bG.width = stage.stageWidth;
//mc which contains the bg image bG.height = stage.stageHeight;
But it doesn't work. No error, no warnings. So I don't know what is the problem. It works only in the flash player (Ctrl+Enter), maybe the HTML is wrong?
View 4 Replies
Oct 5, 2009
It was designed in Flash MX 2004 on a mac. I need to make the site load full screen in the browser but with the content not to scale with the content to remain centered at all times if the screen size is larger than site. How do I do this? What publish settings does it need and do I use fscommand? Or does it need html code adjustment?
View 2 Replies
Jun 18, 2010
I am working on a full browser flash site and just realized the coding was as3. I really need this to work with AS2 and I am a noob at flash. I have figured it out mostly except I keep getting one error. "The class or interface 'flash.events.Event' could not be loaded." Here is the script:
stop();
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
[code]......
View 2 Replies