Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




How Is This Done-flash Stretches Out To Browser Window Size Regardless, Check Link...



http://www.juvilamusic.com/gallery/

- how is this done?
- what is this called?
- anyone have links to tutorials or info on this.
- the flash is 100% to the browser window size and the small controls on the bottom right move accordingly as you increase or decrease the browser window as though this is a html page and not a flash page.



DevShed > Flash Help
Posted on: September 6th, 2006, 02:20 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Browser Window Size Control From Html Link?
Hi guys,

I have searched the forums, and I know how to open pop-up windows using java for certain sizes...

but what i need to do is send an ecard link in an email... and I would love for when the viewer clicks on the ecard link, for their browser to open a set-size window with no menu, scroll, etc... like I said I can do this fine from a Flash button to open a pop-up, but am having trouble writing the original html to size and affect the browser from an html link...

any help?
tx

Is It Possible For Flash To Check Size Of Window And Move Menu Accordinly?
Made a Flash site that was too big for 1024 X 768 resolution. I need atleast 900 height otherwise bottom menu will not be seen.

Is it possible for Flash to check what resolution the user's monitor is or what size the browser window is open to and move the menu from the bottom position and somewhere else only if the menu can not be seen but I dont want it moving all over the place for design reasons and will only want it moved to another places where the menu would still look good if the resolution is not high enough or if the browser window is opened too small.

Flash Website - 100% Of Browser Size - How Is This Done (link)
http://outlawcoffee.com/

Check out the above link, notice that it's all flash, yet has the semi-cleaness of a strong html feel and somewhat cool for a retail site. ..

Anyway, I'm curios as to how they created the page to go 100% of the browser size no matter what the window size or resolution is. Can someone point this out to me?

Thanks

/fe

Published Flash Page Stretches With Explorer Window
When I test my movies in Flash, everything looks fine, but after publishing, uploading, and viewing the page in explorer, the page is inside the explorer interface, and it stretches out to whatever size the explorer window is. How do I keep it as its' own, small window with no explorer menu bar, etc.? I suspect it's an .html thing?

Thanks

Getting Browser Window Size Into Flash.
Hi, I was wondering if anybody knows if it is possible to pass the width and height (in pixels) of the browser window to a variable inside Flash. Cheers!

Can Flash Get Browser Window Size On Fly?
Is there a way to get the browser window size dynamiclly.
Not just loading it from javascript when a movie loads, I need to find out the browser window size constantly and pass the x,y into the movie.

Is this possible ?

Flash Size In Browser Window
I set fla properties size to 1000px by 800px , In publish preview page looks fine but after uploaded to ftp and linked to it opens at about three quarters of fla size, http://islamujeres.ws/flash/islabonito.swf I tried 100 percent in publish settings, Pixel size shows 1000 px
Any ideas anyone
Thanks Gary

Link To New Browser Window From Flash - Very Easy
I have forgotten the script to put for when you click on a button so that the url opens up in a new window. Here is what I have already:

on(release){
getURL("");
}

I need to link to http://www.mastahuk.com so can somebody tell me the code to get this to open in a new window. I dont need this to be resized or have anything special done to it by the way.

Thanks!

How Do I Open A New Browser Window From A Link In Flash?
Seemed to me this would be easily accomplished...perhaps it is. But I'm having trouble with it.

The link (button) has the following code attached to it:

on (release) {
getURL("http://www.faithbaptistwaterford.org/youth/intro.htm", _blank);
}

Unfortunately, the page loads in the same browser as the flash movie....which has no toolbars and is a specific size...a 'window'.

Thoughts anyone??

Just want to open up a new regular browser window.

Blue

Flash Movie Size In Browser Window
When i designed my first flash website, i did it without changing the default width and height size of 550 by 400. Is there any way to make my movie bigger without having to re-design the whole thing? Say 640x480, or even bigger? Thanks, Matt

Flash, Get Url, Specify Browser Window Size And Params?
Hi All,
I have a button in my Flash movie which is used to open a browser window. How do I specify the browser window size and parameters ie no scroll bars, no nav tools, no resize etc? Can this be done in Flash?
There are a lot of nav buttons in my Flash movie, the open browser window is just one of them.
T.I.A. Barrie

How Do U Open A Browser Window Of A Particular Size From Flash?
G'day,

Hoping someone here can help me - I'm trying to make a button in a flash swf open a html file in a new browser window of a certain size and without the toolbars... I'm assuming i have to call some javascript from whithin flash but i can't seem to work it out.

Thanks in advance to anyone that can help me work this out!

How Can I Get Flash To Interact With Size Of Browser Window?
hi

looking at:

http://www.bleed.no/

i would like to know how the bottom menu drifts to the bottom of the browser window when you resize the window - what sort of search terms should i look for in google - any advice much appreciated

i am mainly using flash mx, although i can use flash 8 at work - prefer flash mx if possible

thank you

john

Fixed Size Browser Window Pop-up From Flash?
Hi there... I'm finishing off a flash website for a band and I've created a little music player that's 380 x 250 pixels... There's a "launch music player" button in my site and when pple click on it, I'd like the music player (which is a flash file embedded in an html file) to pop up in it's own little browser window. I know how to make normal full size windows pop up (by using the: getURL("location", "_blank").... function) but I need a browser window that doesn't scroll and isn't resizeable, with a fixed size of 380 x 250 to pop up. I know how to do this in HTML (dreamweaver), but not in flash - can anyone help?

Mal

Center Flash In Any Size Window Browser
I would like to produce flash so that regardless the viewers browser size (ie the total pixel area they are using), ALWAYS places the flash content in the center.

As there are more variables to change this answer, this is assumes for eg. that the swf file is fixed eg. 400x400. The main purpose is to have it show in the center of the browser window regardless the size of browser, whether it's not max'ed on what ever size monitor resolution.

Is this a simple solution??

Center Flash In Any Size Window Browser
I would like to produce flash so that regardless the viewers browser size (ie the total pixel area they are using), ALWAYS places the flash content in the center.

As there are more variables to change this answer, this is assumes for eg. that the swf file is fixed eg. 400x400. The main purpose is to have it show in the center of the browser window regardless the size of browser, whether it's not max'ed on what ever size monitor resolution.

Is this a simple solution?? I'm using Macromedia Flash 8 Pro.





























Edited: 12/27/2006 at 08:21:47 PM by wrazoru

Flash Re-sizing To Browser Window Size
Hey,

Below is the code i am using to resize an object on my flash stage to be the same size as the users browser window. It rezises in Proportion the the browser window - so an image will never look skewed. It works really well, but the object only resizes to the size of the browser window when it is changed i.e it looks out of place until you resize the window. Any thought on how i can get the object to resize without the user having to adjust the screen. can i set stageListener.onResize = function() { to start the function "onLoad" or something like that?

i hope this makes sense
code attached
Thanks

Nick









Attach Code

Stage.align = "TL";
Stage.scaleMode = "noScale";

stageListener = new Object();
stageListener.onResize = function() {

var imageAspectRatio = myClip._width/myClip._height;
var stageAspectRatio = Stage.width/Stage.height;
var stageXCenter = Stage.width * .5;
var stageYCenter = Stage.height * .5;
// place the clip
myClip._x = stageXCenter;
myClip._y = stageYCenter;
if (stageAspectRatio>=imageAspectRatio) {
// long skinny stage - match image width and adjust height to fit
myClip._width = Stage.width;
myClip._height = Stage.width/imageAspectRatio;
} else {
// tall narrow stage - match image height and adjust width to fit
myClip._height = Stage.height;
myClip._width = Stage.height*imageAspectRatio;
}

};
// Assign a listener for the Stage object
Stage.addListener(stageListener);

A Way Of Flash Finding Out What Size The Browser Window Is?
I want to do this.

I have a full screen flash site (with browser window still but no toolbars) that changes size depending on the browser window but the image I use to cover the whole browser window becomes pixelated unless it is a 1:1 of the original image size.

eg. image = 1200 X 1024

Sometimes the user expands the browser window to 800 X 600

When this happens my image looks pixelated as it scales to match 800 X 600.

What I plan to do is for flash to continually check what the browser window has been stretched to and let flash load the same image but this time one that is the right dimension of 800 X 600 of the browser window. So if teh browser window was stretched to 1600 X 1400, then Flash will load an image thats 1600 X 1400.

How Do I Open A Fixed Size Browser Window From Flash?
I have a picture gallery that lists thumbs in my flash movie but i want to open the pics in a fixed browser window. Can someone help me?

ICQ# 53311566

Thank you

JavaScript - Size Browser Window To Flash File
And while I'm here tonight, can someone please tell me how to write JS to do what the subject line says.

You can see my HTMl and JS at:

http://www.wjamesphoto.com/suesflipb...sflipbook.html

I used the auto export in Flash to build the HTML and have no idea how to do this stuff....many greatful thanks to ye who can help me with this!!!

Atomic

Make Flash Size Of Current Browser Window
I know flash can resize itself and still look great. What settings would i use when i publish it to make it just fit the size of what ever browser the user is using?

Opening A New Browser Window - Exact Size Of A Flash Swf?
Hi,

In Dreamweaver, I've previously used the 'open new browser window' behaviour from a link to display my Flash movies, and entered the .SWF filename as the URL to launch (this launches a browser window thatls exactly the size of the movie, no scrollbars, buttons etc). Can I do a similar thing with Flash's 'get URL' command, or does that only go to HTML/HTM files?

Cheers, Skratch

Need Flash Site To Size To User's Browser Window
I thought that when you go to Publish Settings in your Flash file and choose "Percent" for Dimensions and make the percent dimensions equal 100 x 100, that would cause your Flash file to size to the user's browser. But, my file doesn't always fit the user's browser. Sometimes it is tiny with lots of blank space all around, and sometimes it is huge, where you have to scroll around to see everything. How do I fix this?

Fit Flash Movie Into Any Size Browser Window, Without Scaling?
Hey everyone.

Just wanted to know how to code a flash/ or HTML document so that the flash movies fits the entire browser space on any size monitor, but doesn't scale the flash movie up or down?

Just to give you an idea. YOu know when you place stuff outside of the flash stage, and when you publish the movie you can stretch the window and see the stuff you left on the stage? Basically I want the flash stage to fit the entire browser window and not have horizontal or vertical scrolling.

Sorry if this is hard to visualize, but I would greatly appricate anyones help.

Thanks!

Flash 8 Open Browser Window When Button Link Is Clicked
I'm trying to get the down state button (not the frame) to use the getURL("url", "window"); in order to open a link in a new browser window from within a flash swf. It keeps saying when i check the syntax that I need an OnClipEvent handler? not sure how this works can anybody shed some light on this problem? It seems like an easy thing to do but it's not working for me. Thanks in advance.

Movie Position Related With Size Of Browser Window - Flash Interaction 02
ok,
there are a couple of things of flash, that i was unnable to solve from a long time up to now.
and everitime i look on related post of these topics, there are always with 0 answers.

so, i will place here a couple of posts, one with each problem i want to resolve,
i really prefer to use as much flash as i can before i like it much more than any other software, but i believe we will all agreed that it has some weak points.

so basically this post is related on how we can interact flash to other web design software

Here is problem 2:

our flash movies, at least mines,
that i design everithing in flash,
ther are located in a special place of the browser window

here, the flash movie its centered in the browser window,
and when i resize the BW,
it stays centered unless the BW its smaller than the movie


i will like to know how is this done,
i mean,
its flash with another software working together ?
its everithig designed with something else and the flash movies are just accesories ??
or is full designed in flash in a way i still dont get it ???

becouse i've alrready tried a lot of things without any luck

could any of you give me a hand with this ??

pd: i will also post another topic related to this, and this example but, not about the BW it will be about the text and the search engines. so we can discuss these topics separately

thanks in advance

oc

Using Flash To Open A New Browser Window - Exact Size Of Flash Movie?
Hi,

In Dreamweaver, I've previously used the 'open new browser window' behaviour from a link to display my Flash movies, and entered the .SWF filename as the URL to launch (this launches a browser window thatls exactly the size of the movie, no scrollbars, buttons etc). Can I do a similar thing with Flash's 'get URL' command, or does that only go to HTML/HTM files?

Cheers, Skratch

Using Flash To Open A New Browser Window - Exact Size Of Flash Movie?
Hi,

In Dreamweaver, I've previously used the 'open new browser window' behaviour from a link to display my Flash movies, and entered the .SWF filename as the URL to launch (this launches a browser window thatls exactly the size of the movie, no scrollbars, buttons etc). Can I do a similar thing with Flash's 'get URL' command, or does that only go to HTML/HTM files?

Cheers, Skratch

[HTML] Embedding SWF So It Stretches To Screen Size, But To A Limit
I have wanted to do this for a long time, but never found a solution, so now I'm breaking down and asking.

Sometimes I create a Flash document which is set up so the document can stretch(noScale, align, onResize to size/position elements of the site, ect.), then in the HTML I set the width/height to 100%, so the Flash doc stretches to match screen size(for the sake of stretching a background, usually, or placing an object always near an edge of the screen). This all works very good, but there is one thing I'd like to adjust. Here's why:
Sometimes the Flash movie is designed so that it really shouldn't be smaller than a certain size(let's say 900x800). If it's smaller than this size, things overlap, and areas which don't fit onscreen become unreachable, crippling usability. The normal solution is to explicitly set the embed size to 900x800, which will put scrollbars(annoying as they may be, they maintain usability) on the user's browser if it is too small, say 800x600. But the problem is, then it will never be bigger than the explicitly set size either, so if the users screen is actually bigger, the document won't fill the screen size.

So, what I would like to do is be able to somehow set the width/height of the Flash movie to stretch to screen size, but never go below a certain screen size either. This way if the screen is too small it will enforce scrollbars and not make portions of the movie unviewable, but also if the user's screen is big enough it will stretch to match the screen, thus filling background, ect. Make sense?

I'm thinking the HTML embed tags have to somehow be set to be explicit widht/height(900px - 800px) if the user's screen is too small(thus enforcing scrollbars), or 100% if the users screen is big enough. JavaScript?

Thanks for reading, I know it's a long and somewhat tricky to explain problem, but I would *really* like to be able to do this. Thanks.

Link To QT & QT Window Size...
I can link to a Quicktime movie, no problem... I have it come up in a _blank window.

My question is: How do I define the size of the _blank window from within the actionscript, since my QT.mov isn't in an HTML page that I've made?

Here's the code I'm using right now, on the button to get to the QT...

on (release) {
getURL("http://www.mysite.com/portfolio/QT.mov", "_blank");
}

Do I just add some "height=/width=" stuff in there, somewhere?

Thanks,
Vik

Browser Window Size
How do you make your flash movie display in a specific browser window size? Can this even be done in flash. Or is this effect only possible in Dreamweaver? If so how do you do it Dreamweaver. Anybody know cuz i liked to know =]

Swf Size To Browser Window?
How do you go about telling your swf file to size to the browser window, much like how the projector file does? I've been trying to find some clues, but I seem to be walking in circles. Can anyone help me out over here? Thanks
-GL

Browser Window Size
I know it is possible but how....limit the display of the browser window to: the movie area, scroll bar, and the address? is it possible to size the site to screen size or monitor size?

thanks,
galanova

New Browser Window Size
Hi, I just learnd how to use the getURL action to open a new window. What I need to do now is specify the windows width and height. Anyone know how do this?

Im using Flash 5

Stargrrl

New Browser Window Size
Hello,

I'm rather new to flash and am trying to do something probably
very simple so I apologise in advance!

I want to be able to open a new browser window from within flash (after clicking on a button) which is a specific size. The HTML document that opens is basically just a quicktime movie clip.

Currently, when using GetURL, the resulting browser window is much bigger than the quicktime file. Is there any way to specify specific dimensions and whether the address bar, scroll bar etc appears?

Any suggestions welcome!

thanks

Browser Window Size
hey,

this is the code i am using to open a new html window.


Code:
on ( release )
{
getURL ( "lamb.html", "_blank" ) ;
}

it works fine. I just need to know how to open the "lamb.html" with a certain size. Oh, i also want to make it so the user can't change the size of it. Please help.

Baljinder

Browser Window Size
Hi

really simple question..
When I publish my website, how do I set the browser so that by default it opens up at full screen size without scaling the project?

I have tweaked the publish settings so that I can drag the browser window as big or small as I want it manually, but I'd like it to be part of the flash publish process, so that it just does it itself.

cheers!!

NM

Browser Window Size
I am wondering how to make a flash file automatically resize to fit in a 1024 x 768 browser window. Is there a way to do this...when looking on other sites it seems like they are doing just that.
If you have any advice plz help.

How Do I Set The Size Of A New Browser Window?
hey all. a pretty basic thing but i am totally stuck trying to figure out this...
i have a thumbnail of an image in my flash document and when i click on this thumbnail (button) i want a new html window to pop up with the full size image but i dont want any space around the image..so i need to set the size of the new window so its the same as my image..
how the hell do i do this? anyone? any help would be greatly appreciated.

Specifying Size Of Browser Window
i am using xml.send(xxxxxx,"_blank");

is it possible to specify the size of the _blank browser window ?

thx

Browser Window Size
Hi all

is it possible in flash AS3 to determine how big the browser window is, by this i mean the space u can view web sites in.

My project has to fit (scale) in the window regardless of how many tool bars are installed on the browser etc

Cheers

Browser Window Size
I'm trying to get my website to FIT in my browser. (As suggested by other users (thanx by the way)) i've tried scripting "no border" on the stagemode . I've tried to publish it 100x100 and click exact fit. but the thing opens up in my browser window too small.

I want to get it so that if the user tries to to drag the browser window open the website drags proportionally with it.

Also, i have another question. Because i uploaded the hell out of the thing for six hours yesterday and this morning. is there any reason that someone can think of why i cant see my flash website except for the background color on my own computer but there it is plain as day when i checked it out at school on a dsl?

www.blindspotdesign.org <<<my very first website ever flash or otherwise!!>>
It still has one or two bugs of course, any input would be appreciated. At least tell me if YOU can see the thing.

MIss JACkson

The Size Of The Browser Window
How can I know the size of the browser window?

Get Window Size Of The Browser
Hi everyone,

i'm trying to get the size in Y of the window of the internet browser (ie: firefox) to apply it to my stage height and make my stage adapts constantly to the browser window height.

I'm new to AS3, the only thing i did is putting the import flash command and then i'm lost, don't know what to do to get those parameters.

Thanks for help

Orlenka

Specify Size Of Browser Window
When a user clicks on my flash demo link, I want the size of the browser window which it loads to be exactly the size as my flash demo (800 x 600). How can I do this??

note: the link on which the user clicks on to load my flash file is a simply HTML <a href> link.

I know it has something to do with the publish settings and javascript (window.open). I tried a couple of different things and nothing has worked so far. Currently, my demo loads but only b/c I set the dimensions to be 825 x 625 on the page in which the links for it exists. There is a white frame around my flash demo.

Thanks a lot.

How Do You Keep The Browser Window The Same Size?
Hi I am new to the flash scene and I am wondering how do you get the flash player to stay the same size that I want it to stay at without it being able to resize it when you publish the application

for example I got my document set at 770 x 150 pixels but when I publish preview it I am able to alter the size up and down I want to stop this.

Thanks in advance for any help given please

Browser Window Size
Hi guys i was wondering is there anyway, to get the browser window size into flash so i can have a part of my flash movie always aligned to the right side of the browser window, as well as another part aligned to the left of the browser window. (Without the flash movie scaling) I have found some java scripts that return the browser window size. But they only do it once when the page loads. Does anyone know of a script that runs all the time and can feed the dimensions back into my flash movie??

Any help would be much appreciated

Cheers guys

Browser Window Size
A question:

does anyone know how to find the size of the browser window with actionscript? ie, when the user resize the browser, the swf can detect it and get its updated dimensions?

help me please...

How Do You Keep The Browser Window The Same Size
Hi I am new to the flash scene and I am wondering how do you get the flash player to stay the same size that I want it to stay at without it being able to resize it when you publish the application.

for example I got my document set at 770 x 150 pixels but when I publish preview it I am able to alter the size up and down I want to stop this.

Thanks in advance for any help given please

Copyright © 2005-08 www.BigResource.com, All rights reserved