ActionScript 2.0 :: Customize Size Of New Window?

Dec 9, 2011

I have a button which when clicked opens a new window. The code is a frame action in the timeline. Short of putting some javaScript in the page that opens, I am unable to set the width and height of the new window. Here's my code

Actionscript Code:
import flash.external.*;var newWindow:String;street_btn.onPress = function () {newWindow = String (ExternalInterface.call ("openWindow", "http://www.unseenproductions.net/images/street/index.html", "win","height=1000,width=700,toolbar=no,scrollbars=no"));};

I've tried defining width+height immediately following the link in the string, but no matter where I put it the window size is unaffected.

View 1 Replies


Similar Posts:


Professional :: Flash Game - Customize Size And Location Of Popup Window

Aug 31, 2010

In my game people shoot at 4 different moving images and get points. Simple right? Well one of the images is a question mark that people can shoot and when they do, I need flash to pause the game timer, pop up a new window, display the multiple choice question in the window and wait for the user to answer. I would also like to be able to customize the size and location of the pop up window!

Then if the question is answered correctly close window award 10 points and continue the game. If the question is answered incorrectly, say wrong and then display the end game results screen. Right now I have it to where it opens a pop up in a web browser and askes the question there. The question is randomly chosen from a file called random.html. But I do not want the game to operate that way. I want the game to open the pop up within flash.

View 8 Replies

ActionScript 2.0 :: Customize The Size Of The Container And Thumbnails?

Aug 19, 2005

Is there a way to customize the size of the container and thumbnails for this tutorial? Say I want to have a larger display of my images.

View 2 Replies

ActionScript 3.0 :: Format - Customize The Text (besides Color - Font - Size)

May 25, 2010

Im making a grid datatbase and wanted to know more ways to customize the text(besides color, font, size). Something like filters mabye?

View 2 Replies

Professional :: Build A Flash That Auto-adjust Its Size To The Browser Window Size?

Jun 8, 2010

I am trying to build a flash that auto-adjust its size to the browser window size, while leaving the content of the flash itself top-centered in the screen.I have found this solution [URL].. on How to keep centered stuff in this exact case so i am pretty confident i will be able to adjust that script to do what i want.
 
Now my problem is that if i put my content inside the movie-clip (centerrectangle) with all the animation require, link and other stuff, the movieclip (center rectangle ) never have the exact same center, thus making the script go wild trying to always adjust the location to the variable size of the movie clip.

[Code]...

View 9 Replies

ActionScript 3.0 :: Build A Flash That Auto-adjust Its Size To Browser Window Size?

Jun 8, 2010

I am trying to build a flash that auto-adjust its size to the browser window size, while leaving the content of the flash itself top-centered in the screen.

I have found this solution [url].. on How to keep centered stuff in this exact case so i am pretty confident i will be able to adjust that script to do what i want.

Now my problem is that if i put my content inside the movie-clip (centerrectangle) with all the animation require, link and other stuff, the movieclip (center rectangle ) never have the exact same center, thus making the script go wild trying to always adjust the location to the variable size of the movie clip...

I need it to stay exactly at the same position whatever the size of the movie-clip. [code]...

View 0 Replies

ActionScript 2.0 :: Making The Document Size Dynamic With The Window Size?

Aug 7, 2008

Im looking to make the flash file dynamic so that when someone changes the window size the flash file expands with it and some of the items contained move also.

View 3 Replies

Window Size - User To Be Able To Expand The Browser Window ?

Mar 30, 2009

i've made a flash movie in res 600 * 300, now i want to keep this res don't want the user to be able to expand the browser window or change the res or anything how do i do this?

View 9 Replies

ActionScript 3.0 :: Stage Size = Window Size?

Jun 28, 2009

is possible to dynamically change the dimensions of my flash stage depending on the size of the browser window ?

Very important, I don't want to stretch any element. Just make the background bigger.

View 6 Replies

ActionScript 3.0 :: Stage Size And Window Size

Jun 28, 2009

is possible to dynamically change the dimensions of my flash stage depending on the size of the browser window ?

Very important, I don't want to stretch any element. Just make the background bigger.

View 10 Replies

ActionScript 2.0 :: Window Size The Same Size Of The Pic When Viewed?

Feb 9, 2004

i have a list of pics, inside the swf file, what i want is when i press the button of any pic, to open new window "JavaScript" i think, but i want the window size the same size of the pic when viewed.

View 2 Replies

ActionScript 2.0 :: Browser Window Size - Put A Movieclip With Tools At The Bottom Of The Window In The Center With Tools Icons

Jan 24, 2010

I want to put a movieclip with tools at the bottom of the window in the center with tools icons, it should have fixed posiiton so that user can scroll the main window having it always on prompt. I think I need the browser window size properties to do somenthing as this. Is there a way to get them?

View 0 Replies

IDE :: Do Not Want To Change The Swf Window Size?

Feb 4, 2009

i mean..i dont want my user to maximize or minimize the file..like u ppl must have seen the softwares setups..their window file size cannot be changed.

View 1 Replies

ActionScript 3.0 :: SWF 100% Of Window Size?

Sep 15, 2010

I want my SWF file to fill the window. I set the height and width to 100% and the scale param to "noscale". It looks great except that when I resize the window vertically, the contents of the SWF file center vertically so theres a gap between the content and the top of the window.

View 2 Replies

ActionScript 2.0 :: Specify The Size Of The New Window When It Opens?

May 21, 2009

I currently have a website that has a photo gallery. The home page has a link to the actual photo gallery. I'm using the (getURL) to open the photo gallery in a new window, however the new window opens up to the same size as the home page. I would like to shrink down the window size of the photo gallery so the user can still see some of the home page behind the new window.

I know javascript can take care of this problem, but I was wondering if there is a way to do it with Flash? I just need to specify the size of the new window when it opens.

View 9 Replies

CS3 Open A New Fixed-size Window?

Apr 7, 2010

I can't seem to find any info on how to do this. Here is an example of what I am trying to do: [URL]

View 1 Replies

Open Link In New Window, Specified Size?

Jul 7, 2010

Pretty simple- just trying to have a link in my .swf open in a new window, with a specified size.

I have done this before but can't seem to remember/find a tutorial... well besides one on kirupa that didn't seem to work for me.

I believe the method I used before involved putting some code on the page you were linking to...

View 1 Replies

ActionScript 3.0 :: Defining Pop Up Window Size?

Aug 5, 2009

How do I define the window size of the opening window if I have something like this:

function ClickHandler(event:MouseEvent):void{  var req:URLRequest = new URLRequest("something.html");  navigateToURL(req, "_blank");}

View 7 Replies

Assign A Specific Window Size?

Aug 18, 2009

I applied the following action script to a button in a flash movie, the action script reads(address changed to protect the innocent):

on (release) {
getURL("http://www.webaddress.com/Product/Video.html", "_blank");
}

[code].....

View 1 Replies

ActionScript 3.0 :: Make A Pop-up Window With A Set Size?

Dec 9, 2009

I want to make a pop-up window which pop up when a button is pushed. And I need to set the size of the pop up window to 900 x 700... I found a tutorial on the net on how to do it but it dosen't work,

function jspopupWindow(event:MouseEvent):void {
var desiredURL:URLRequest = new URLRequest("javascript:NewWindow=window.open('page.html','newWin','wi

[code].....

View 5 Replies

Flash :: Get Browser Window Size?

May 16, 2011

Can I get the obtain the size of the browser window in AS3?The best method I've found is to get the size with Javascript and send it to Flash as a FlashVar. One limitation of this method is that it doesn't give the current size if the window is resized.Is there a pure Flash way to do this?

View 2 Replies

As3 :: Obtain The Size Of The Browser Window?

May 16, 2011

Can I get the obtain the size of the browser window in AS3?

The best method I've found is to get the size with Javascript and send it to Flash as a FlashVar. One limitation of this method is that it doesn't give the current size if the window is resized.

View 2 Replies

ActionScript 3.0 :: Scale A MC With Window Size?

Jul 10, 2010

I have an image inside a MC called "hPic" and i want this MC to scale with the window when it's resized vertically, but it has to keep the same dimensions/aspect of the MC when it's scaled, not just stretch it vertically or the image will be distorted - so the proportions have to be constrained.

View 1 Replies

ActionScript 3.0 :: Control The Size Of A Window?

Dec 7, 2010

im trying to control the size of a window i tried multiple things and searched with google but only found old AS2 stuff

ActionScript Code:
var request:URLRequest = new URLRequest(".com/swf/dice.swf");
navigateToURL(request);

View 5 Replies

ActionScript 2.0 :: Locking The Window Size?

Oct 14, 2005

looking to lock the window size, of the htm pages that hold the swfs. i know there is a way to do it an i have it at home. only thing is im not at home. does anyone have the script that locks the browser window size. or know where i can get this.

View 1 Replies

ActionScript 2.0 :: Exactly The Size Of The Flash Window?

Sep 13, 2006

I am working on an infinitely scrolling image field that reacts to the user's mouse similar to the one in this tutorial:[URL].. The only difference is that my content is much wider than the flash window whereas the one in this tutorial is exactly the size of the Flash window.

[Code]...

View 2 Replies

ActionScript 2.0 :: Lock Window Size?

Feb 11, 2008

(searching this forum doesn't seem to work for me any more I get no result)how do I lock the window size with AS? the obvious thing is html, but its suppose to be a hand out.I have an exe, which loads in swfs as a cheap cover for those without the plugin.

View 5 Replies

ActionScript 2.0 :: Opening A New Window With A Certain Size?

Mar 18, 2002

I want to open a new window with let's say height 500 and width 600 could i use this in flash so i can open such an window with an html -file in it, i have made a javascript to do this, but could i use this in my actionscript or do I have to work with getURL somehow.

View 3 Replies

Control Browser Window Size With GetURL?

Jul 1, 2003

Just wondering if anyone knows what I would add to my actionscript for a getURL command to make the browser window that opens up a certain size, in my case, really small.

View 8 Replies

ActionScript 2.0 :: Images Adjusting According To Window Size?

Dec 8, 2009

I saw this website CLICK HERE TO SEE WEBSITEand I've been trying to create the same effect where if you resize the browser window the main image on the gallery adjusts to the size of the window but the rest of the flash stays the same.

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved