Possible To Add Blank URL Window Dimensions To Button?

Sep 25, 2010

I've just finished working on an extensive HD intro for my website, which is in 1280x720 resolution.

At the moment, my site has a splash page with 3 buttons on it:
B1) opens the site in fullscreen mode
B2) opens the site in normal window mode
B3) opens a new browser window linking to my intro

Here's the AS code I'm using for my intro button:
Actionscript Code:
intro_btn.onRelease = function() {
getURL("[URL]", "_blank");};

I'm wondering if there is a way to somehow specify in that code segment what dimensions I'd like the new window to have? I know this can be accomplished in JavaScript with something like this:
Actionscript Code:
<a href="javascript:void(0)"onclick="window.open('[URL]','height=1280, width=720,scrollbars=no')">intro</a>

I've already tried putting the intro on it's own separate HTML page, but because of resolution and other background contrast issues, I've found that it undoubtedly looks best in a window that is resized to its specific dimensions, rather than having extra space around the edges, top, and bottom.

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Loader Disappearing - Set The Dimensions Of The Loader So The External Swf Doesn't 'spill Over', The Result Is A Blank Screen?

Mar 26, 2010

I have the following code which simply loads an external swf, puts it in the right place and should all be hunky dory.This works:

Code:
var myLoader:Loader = new Loader();
addChild(myLoader);
var url:URLRequest=new URLRequest("foobar.swf");[code].....

to set the dimensions of the loader so the external swf doesn't 'spill over', the result is a blank screen. No matter how high I set those dimensions it just doesn't display anything.

View 4 Replies

Setting Pop Up Window Dimensions?

Nov 24, 2009

I have a bttn in my swf (which is embedded into my html page) and i want to be able to control the parameters of the pop up window the bttn generates. I have found a code generator at- this generator works when i input all my parameters and URL and test it, but when i place the code it provides onto the bttn in flash it fails to produce the same result me

on (release) {getURL ("javascript:NewWindow=window.open('https://secure.bellerockgaming.com/webchat/go_Max_New.asp?siteID=14&qu eueID=29&folder=BRE','Live

[code]....

View 1 Replies

Open A Blank Window?

Jun 22, 2011

I have some script I am using for a flash menu. Each button opens to the html file and has script telling each page the down state for each button when clicked. I am trying to use the function below to open a new window and it won't work with the other scripting.[code]...

View 3 Replies

ActionScript 2.0 :: Opening A New Window With Specific Dimensions?

Oct 22, 2005

i have used the function before where you can have a new window open up from your flash file on release of a button, and have the new window set to certain dimensions and minus the toolbar. I have had to remake my site and lost how i did it and now cannot find a good tutorial for this.

View 1 Replies

ActionScript 3.0 :: Opening A Url In A Blank Window

Dec 8, 2011

I have a button called bt07 and I would like when you click down this button to open an url in a blank_window (for exemple [URL]) I wrote this code below but I don t know how writting the code to open the url?

//mouse downbt07.addEventListener(MouseEvent.MOUSE_DOWN,auSurvolSurbt07);function auSurvolSurbt07(e:Event){bt01.gotoAndStop(1);bt02.gotoAndStop(1);bt03.gotoAndStop(1);bt04.gotoAndStop(1);bt05.gotoAndStop(1);bt06.gotoAndStop(1);bt07.gotoAndStop(2);

[Code].....

View 1 Replies

Professional :: Way To Open A Blank Window?

Aug 30, 2007

I have some script I am using for a flash menu. Each button opens to the html file and has script telling each page the down state for each button when clicked. I am trying to use the function below to open a new window and it won't work with the other scripting.

on(release) { getURL("http://www.flash-here.com",  "_blank");
}

[code]....

View 5 Replies

ActionScript 2.0 :: New Blank Window With No Toolbar And Fix Size

Feb 11, 2009

I have create a flash website, but I have create the forms in HTML and PHP. So I need to link the button to them. I done that but, I don't know how make it for no toolbar and fixed sixe.[code]

View 2 Replies

ActionScript 2.0 :: Get These Links To Open In A New/blank Window (xml)?

Oct 9, 2009

i found this code somewhere, and have used it for a site, but the links open on the same page and i cant find an option to have them open in a different target window.AS code:

Code:
// The first step is to activate the XML object
headlineXML = new XML();

[code]......

View 2 Replies

ActionScript 2.0 :: Changing Browser Window Dimensions On Loading Movie

Feb 17, 2002

I've seen a cool effect on: [URL]. Click on DEVLAB and than select the fourth icon. When loading the movie, the browser-window changes it'd dimensions. How can I do this?

View 2 Replies

ActionScript 3.0 :: Output Window Is Blank In Authoring Mode

Oct 5, 2009

has anyone ever had a situation where the flash CS4 Output window is blank; it should have several trace statements, and at least 1 error; furthermore the Compiler Errors window is blank; I know there is an error some where ( I updated my papervision3d yesterday ), so I should see some error messages, and the trace statements - but everything is blank;

View 2 Replies

Professional :: Adobe Media Encoder Export Settings Window Dimensions

Feb 8, 2011

I'm on a macbook pro, osx 10.6, using CS4 Web Premium. I used to have an external monitor hooked up which had much higher resolution, so when using Adobe Media Encoder I'd click the Settings button on a video to get the Export Settings window, then stretched the Export Settings window to be the size of my external monitor. Now, I'm just using my laptop, and the export settings window does not have the resize buttons at top left to adjust it back to the size of my laptop, and the bottom third of the export settings window is getting cut off so I can't see the cancel/ok buttons etc.

I've tried re-installing media encoder (via reinstalling flash using the CDs) to try to 'reset' the window sizes, didn't fix the problem. If anyone knows of any other preferences or something I could delete to fix this,

View 14 Replies

ActionScript 3.0 :: URL Request - Blank Work Open The Link In A New Window

Jul 13, 2009

just as the title says, _blank opens the link in a new window, _self does nothing could the issue be related to testing locally?

[Code].....

View 13 Replies

Flex :: Air HTMLLoader Blank Pop Up Window When Flash Content Is Loaded?

Jun 25, 2009

I have a flex Air program that loads external content with the HTMLLoader.Now for some reason whenever I load a page that has any flash content a blank system window pops up outside of my program. It's completely blank, all white with min, max and close buttons.If I close it any flash content I loaded stops working. For the life of my I can't figure out what's happening and there's no messages in the console and no title for the window.

private var webPage:HTMLLoader;
private function registerEvents():void
{

[code]......

View 3 Replies

ActionScript 2.0 :: Calling A Mailto: Function - In IE It Is Opening A Blank Window Too With Outlook?

Aug 4, 2011

I am calling a mailto: function like this below:

ActionScript Code:
on (release) {
getURL("mailto:myEmail@mysite.com", "_blank");
}

Now problem is, in IE it is opening a blank window too with outlook.

View 4 Replies

Actionscript 3 :: Finding An Original Rectangle's Dimensions From Rotation And Bounding Box Dimensions?

Jan 25, 2010

In AS3, I have a Sprite that has a Z axis rotation applied.How do I calculate that Sprite's dimensions (it's original size) from Sprite.rotationZ and Sprite.getRect(...)?

View 2 Replies

ActionScript 3.0 :: Fixed Movieclip Not To Change Dimensions If The User Starts Playing With The Dimensions Of His Screen

Jan 31, 2012

What do I have to write to keep the movieclip not to change dimensions if the user starts playing with the dimensions of his screen ? I remember it was a line of as3 written at the beginning.

View 3 Replies

ActionScript 3.0 :: Toggle_window - Window Opens And Closes Not By Clicking On The Button But On The Window Itself?

Jun 12, 2009

i would like that my window opens and closes (opens: scale out; closes: scale in) not by clicking on the button but on the window itself.here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
 
Grtz,Jan the man
 
here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
schuifwindow www.truevision.be/other/btn_home.flascroll www.truevision.be/other/scroll.flafotoalbum www.truevision.be/other/foto_album.fla only picture one (left up corner) has a X button (i dont want to use this button)

View 5 Replies

ActionScript 3.0 :: GetBounds()s On Button Component Returns Wrong Dimensions?

Mar 3, 2011

So I've been building a colour picker, where you click an icon and a tooltip fades in revealing the colour picker. You make a selction and then click an "ok" button to close the tooltip(or mouse away from a couple of seconds and the tooltip closes)...Developing this was really smooth, untill I pushed the Button Component into the colour pickers containing Sprite. The problem seems to lie with getBounds. I use this to draw a background on the Colour Pickers container sprite. Now I have a button in there the first time I open the toolip I get a width and height of 250 - 100. Although the buttons dimensions are 25 - 18. The second time I click the colourPicker its getBounds() properties are correct and all is good.

If I add the Colour Pickers containing sprite to the stage before opening it then it opens with the correct dimension. Although this means the container is on stage. So I tried to just add and remove it in the one step but I get the same result as above.I'm thinking this has something to do with waiting for the button to be added to display list/stage or something but I can't work around it

View 1 Replies

As2 :: Professional - Movieclip Button - Goes To A Blank (or Different) Frame

Sep 8, 2010

Have a blank stage with 3 movie clips as buttons. When I click them I'm using this code

[Code]...

this triggers the click of the button to return to the main timeline and stop on a specific frame. My issue is that if I click the button a second time, it goes to a blank (or different ) frame, a third click will return it to the proper frame. I'm doing this as some users I work with are mouse clickers, now this is ok if I use a button symbol, but I want them as movieclips. What script can i use to ensure that every click makes the mc operate the exact same (goto specific slide with no randomness)?

View 1 Replies

Professional :: Target Blank In Flash Button?

Aug 17, 2011

How can create target blank (new page open) button click

View 9 Replies

Flash8 :: Button To Make Screen Fully Blank?

Apr 14, 2012

Is there some way I can use a flash button to call some javascript? The swf would be embedded in my html webpage.

on(release){
//fire javascript code to blank whole screen.
}

View 1 Replies

ActionScript 2.0 :: Make A Blank Button With A Transparent Hit Area?

Oct 17, 2007

I'm trying to make a button symbol with a transparent hit area - surounded but a dynamically drawn border. Heres what I have. I have a simple AS script that uses goTo and lineTo (plus a randomizer to make sure the buttons are skewed and differnt everytime) to create a "sketchy box" as my button. My script resides in a movie clip withing the "over" state of a button symbol. Now the active hit area is ONLY the line elements. Question : How in the world, using only actionscript an I make a second, transparent area inside of the sketchy lines to make the whole button symble clickable?

View 5 Replies

Flash :: IDE - IE Cache Error - When Hit The Next Button It Comes Back As Blank

May 4, 2008

I've got a flash program that is working perfectly in firefox but not in IE. It is a program that cycles through real estate from a database. In IE, it loads the data from the search only when the search is unique, but when i try to hit the next button it comes back as blank. I tried a timestamp previously which glitched the system, but here is a workaround for anyone with a similar issue:

[Code]....

View 4 Replies

ActionScript 2.0 :: Javscript:window.open In IE - Link In A Button Inside A Flash Movie To Open A New Window And Play A Youtube Movie

Jul 13, 2009

I work with 3d animation. Im have a problem with a personal website Im doing, I have a link in a button inside a flash movie to open a new window and play a youtube movie:

on (release) {
var jscommand:String = "window.open('http://www.youtube.com/v/b0L4XLODhAA&hl=en&fs=1&','win','height=344,width=4 25,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
}

This works fine in Firefox but in IE it doesnt work, I then change the /v/ in the youtube link with /p.swf?video_id= and now I have the window open showing the small youtube thumbnail of my video but once a click play, nothing happens, I check it and is not loading anything.

View 8 Replies

ActionScript 2.0 :: Make Button When Clicked / Open Blank Email In Outlook Express To Email

Nov 6, 2004

I want to make a button, when clicked, open a blank email in outlook express to an email, with a subject.i take it you would use:[code] just wanted to show you what i meant! that was just a random stab.

View 3 Replies

ActionScript 2.0 :: Put A Close Button In The Window MC To Close The Window?

Mar 23, 2007

*let say i have a mc called A. it can call a MC with an instance name called window_btn.window can be drag and double click.i want to put a close button in the window MC to close the window.

how to call the close button in the MC?

View 14 Replies

ActionScript 3.0 :: Link Button Without A New Window?

Jul 8, 2009

[code]...

I want to link through my button but without opening a new window.

View 4 Replies

ActionScript 2.0 :: Open Up A Pdf In New Window Via Button?

Nov 12, 2009

Im trying to link a button to a pdf file, the root of which is on my pc (not a server). AS2.

View 0 Replies

ActionScript 2.0 :: Way To Close Window Button

Dec 28, 2005

I have created a windowless swf file that loads up on a webpage and i have a close window button, but when i use the
getURL("javascript:window.close();") it closes out the entire window and i don't need it to do that. i just want it to close out the swf.

View 6 Replies







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