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




How To Open A New Fixed Window Thorough Flash Button



I would like to open a new window in my browser (in fixed size, without browsers toolbars - just in a simple frame only) if I press a button on my page. Is it the buttons feature or the new pages feature? Where should I setup this and how??
I am able to do it in Dreamweaver- I must setup the new windows behavior to the button thorough I want the new window open (for ex: 'toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,copyhistory=n o,width=550,height=400'), but I am not able to do it in the Flash programm for the button - it doesnt work.
Thanx Ondra



ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 11-08-2003, 04:42 PM


View Complete Forum Thread with Replies

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

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

How To Open A Flash File In A Fixed Window Size?
here is the thing...

http://silentscreams.europe.webmatri...reamscapes.swf

this time what i want to do is, when a picture is clicked i want that picture to be opened in a new window. the window should be having the exact width and height of the picture. and the picture is going to be a .swf file

so its like opening a swf file of the pic to its width and height in a new window.

and when the mouse moves to the pic that person want to see, a preview is shown from the center of the circle. i tried it but that takes too much space, any idea of how to reduce the size of the file

How To Open A Flash File In A Fixed Window Size?
here is the thing...

http://silentscreams.europe.webmatri...reamscapes.swf

this time what i want to do is, when a picture is clicked i want that picture to be opened in a new window. the window should be having the exact width and height of the picture. and the picture is going to be a .swf file

so its like opening a swf file of the pic to its width and height in a new window.

and when the mouse moves to the pic that person want to see, a preview is shown from the center of the circle. i tried it but that takes too much space, any idea of how to reduce the size of the file

Open New Fixed Window ?
Hello.
I been trying to make a button that when clicked will open a new window and I need the new window to be with no scroll bars, no address, etc. and the window size fixed to 400x400.
thanks in advance.
marcos

Open An Swf In A Fixed Window
I am making a cd with a flash file on it. Inside this piece are a bunch of links to pdf and stuff like that.

I have a video I need to place as an intro...it's a movie clip or an swf.

I can do one of two things: 1 place the movie in my file to play at the beginning and then stop and go to the next frame or 2 have it open in a new window on load, but have that window a predetermined size.

I've tried both and here are my problems.

For 1.
my movie is set up where i have a bunch of labeled frames and you move from each labeled frame to the next with the navigation buttons. So, each frame is a stop frame. I want this intro movie to play when the user first opens the window, then stop and go to the next frame. What is happening is that I try to put a gotoandplay at the end of the movie, but you can't reference frame on the scene stage from a clip. My movie keeps playing over and over...i just want it to play, stop and move to the next frame.

Any suggestions?

For #2.
I tried the geturl where it will open the swf when the user opens the flash file...that's right...but it opens it in a big ugly window and i need it to be a certain height and width.

Any suggestions?

Thanks.
S.

Open New Fixed Window Size
I am trying to open a new window from a link within flash. I want the window to be 300x350. The new window is just a straight .html document. I don't want any nav bars, scroll bars, etc... in the new browser window. What do I need to do to my flash button and also my .html document? Any help would be appreciated.

Thanks.

Open A Fixed Size Window
Hellow, ppl. id like to open a new browser window -from flash, with a flash button- with a fixed size, lets say... 300x200.
Now, i dunno i gotta set this in flash or dreamweaver (wich is the program im using with flash). Anyhow, help is needed. I have both flash and dreamweaver MX. Thx.

Open Fixed Window Within A Text Box
Hello everyone,

I'm trying to open a new window WITHIN A TEXT BOX. I've tried using other code, but it doesn't work. I guess it needs to be html. Does anyone have a clue?

Open New Window Fixed Size
bonjourno

anyone have any idea how you link to an html page from flash and make the browser window that opens a fixed size and no scrolly bars?

thanks in advance
james

Open Fixed Browser Window
I know there are a million tutorials, but none seem to work for me. I want to make a button in my flash open a new window with a fixed size. My AS is as follows:

on (release) {
url = "template.swf?name="+_root.name+"&email="+_root.em ail+"&cartid="+_root.cartid+"&style="+_root.style;
getURL("javascript:openWindow('url','newWindow','t oolbar=0,location=0,directries=0,status=0,menubar= 0,scrollbars=0,resizable=0,width=550,height=500,le ft=80,top=180')");
}

The function is working, however, it can't find the url because it thinks the url is 'url'. I tried making it url instead of 'url' but then it came up as an error. So I guess my question is, how can I pass my url var to the javascript??
thanks everyone!
Mat

Open New Fixed Size Browser Window
Help, I want to be able to open a new browser window but also specify the size.
I'm currently able to launch/open a new browser window but I can't specify the size.

Want To Open Window With Fixed Size, Options
i want to open new window with fixed size like 300x200
with 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=300,height=200'
these options.

getURL ("java script:window.open("./splash.html","","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=300 ,height=200");");

has this code problem?
it doesn't work..
help me~

Fixed Size Window Dosent Open (photo Gallery)
Hey!I`ve got a big problem and i hope you`ll help me as soon as you can.the fact is that i created a photo gallery in flash 8...and after i click a button i wanted to appear a fixed size window with the photo in her real size.but the window doesn`t open!
the command i wrote was :

on(press) {
getURL("javascript:fixedSize('1.html', '', 'menubar=0, tollbar=0, scrollbars=no, resizable=yes, width=820, height=550')");
}


i think it`s something related to Global Security Center...plz help!

Launch Fixed Size Window From Flash Button
Hi All

Can anybody help me please!

I'm trying to launch a fixed size window from my flash button.
I need it to work accross IE, Mozilla, Safari on PC and Mac.

Thanks in advance
E.

[CS3]Open Browser Window At Fixed Size (ACTION SCRIPT VERSION NO JS)
I am sure this has been covered a zillion times but I'm having trouble with doing searches on this site today for some reason.

I have an AS that will open a new page at a fixed size, no JS needed in the html head, just the AS applied to a button but it only works when the publish settings are set to FlashPlayer 7, AS 2.0.

I need it to work in FlashPlayer 8, AS 2.0. How can I make that happen?


Code:
on (release) {
getURL ("javascript:NewWindow=window.open('http://www.google.com','newWin','width=610,height=600,left=0,top=0,toolbar=yes,location=yes,scrollbars=yes,status=yes,resizable=yes,fullscreen=No'); NewWindow.focus(); void(0);");
}
I have attached the FLA file.

Click A Button To Open A Fixed Size Browser
I want to make a button to open a new new URL in a new browser without the top navigation buttons like "Back", "Stop", "Refresh" buttons found in a browser.

what is the scripting like?

thanks.

Open.Fullscreen.Window (VIA Flash Button
I placed the following code on a button in FlashMX and when checked came up with no syntax errors;

on (release) {
function fullwin() {
window.open("http://www.spooncivic.homestead.com/index.html", "", "fullscreen,scrollbars");
}
}


But when I previewed it in browser i did nothing.
Appreciate any help.
Thanks.

Open Window To Certain Dimensions From Flash Button
Hi all,

Can anybody answer this question?

I designed part of my homepage in FLASH. I created buttons within it. They work fine. They open up other pages I created. But I want to control the size of the HTML page window that opens up. I know how to do it with a normal HTML page, but with Flash, I have no idea what the code should be or where to put the code.

THANK YOU!!!

Here is the code just in case this helps:

<td valign="top" ><!-- URL's used in the movie-->
<br>
<A HREF=rob_bio.html></A> <A HREF=robin_bio.html></A> <A HREF=steve_bio.html></A> <A HREF=keri_bio.html></A> <!-- text used in the movie-->
<br>
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="550" HEIGHT="400" id="flash" ALIGN="">
<br>
<PARAM NAME=movie VALUE="flash.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000> <EMBED src="flash.swf" quality=high bgcolor=#000000 WIDTH="550" HEIGHT="400" NAME="flash" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
<br>
</OBJECT></td>

I Want A Button To Open Up A Flash Window With Text. Do You Know How To Do It?
I have a cs3 flash application where I want a button to open up a FLASH window (not a browser window) with text. I'll also want the option of closing the window somehow.

Do you know how to do this?

I did make an attempt by putting some code in the Instruction button (after you press on the A button) but nothing happens:

Anyone want to take a crack at this?

feel free to email me at m.behr@lawroom.com

Thanks a bunch.

How Do I Make Button Open New Window In Flash?
Hi every one,

i have this modelling site im working on, and when you click on photo i want to open a new window with the girls profile in it. but i dont want a new IE window, just a little flash movie, i tried ..

"on (release) {

//load Movie Behavior
if(this == Number(this)){
loadMovieNum("TWtester.swf",this);
} else {
this.loadMovie("TWtester.swf");
}
//End Behavior"

and it goes to that swf file, but its not in NEW window? does this make sense to any one?





























Edited: 02/24/2008 at 09:51:48 PM by BunnyFace01

Making A Flash Button Open A Link In Another Window
On my website I have a flash video that opens in a new pop-up window. At the end of the movie there is a link and I would like the link to open a page in the original window, not in a new blank window.

How can I do this?

Your help is greatly appreciated!

[help] Flash Button+open Link In Parent Window?
I'm trying to get a getURL for a button in my flash file. I know how to open a new window, but how do I make it so that the link opens in the main window?

So basically my flash file is inside a pop-up window and the button when clicked on must open my link inside the "parent" frame.

Hope this makes sense. I just don't know how to do this and would really appreciate some guidance on this. Thanks so much

Flash Button To Open Specifically Sized Window
Thanks in advance to anyone who can help and apologies if this is really easy problem or been solved before.

I'm using Flash MX Version 6:

I need to get a flash button to open a specifically sized window, centred on screen, with no scroll bars etc.

I know under the actions section there is a tick box marked expression, can anyone help with finding examples of these, if indeed this is where i dictate the window options.

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.

How Do I Make A Flash Button Open A URL (.html File) In Same Window?
I’ve created a button in Flash CS3 which has been imported into Dreamweaver CS3. The button works fine in preview (with Internet Explorer) but opens in a new window. How do I get it to open in the same window, on the same page?

The code that has been written to the button’s action-script 3.0 (in a separate layer) in Flash is:

button.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("videos.html"));
}

When I add the code , “_self” to the action-script, nothing happens when I preview it in Explorer, why? What am I doing wrong?

The code now looks like this:

button.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("videos.html"), “_self”);
}

How Do I Make A Flash Button Open A URL (.html File) In Same Window?
I’ve created a button in Flash CS3 which has been imported into Dreamweaver CS3. The button works fine in preview (with Internet Explorer) but opens in a new window. How do I get it to open in the same window, on the same page?

The code that has been written to the button’s action-script 3.0 (in a separate layer) in Flash is:

button.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("videos.html"));
}

When I add the code , “_self” to the action-script, nothing happens when I preview it in Explorer, why? What am I doing wrong?

The code now looks like this:

button.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("videos.html"), “_self”);
}

Open Fixed Size Html Page From Flash Movie
i need to open an html page that is scripted to open at a specific place and at a specific size. the html page also contains an iframe.

ive tried the tutorial written at flashkit :

http://www.flashkit.com/tutorials/Ac...-836/index.php

and it works great when all files are on my pc. but once i upload all files to the web it dosent work.

ive tried contacting the guy who wrote the tutorial but the email doesnt work.

any help would be greatly appreciated.

Fixed / Non-scalable Flash Player Window?
Hey guys - I know this is probably a stupid question but I can't seem to find the answer anywhere. When publishing / exporting a movie, how do I set the Flash player window to be fixed and non-scalable. Thanks in advance - Liz

Fixed Size Of Flash Plyer Window
Hey guys,
is there a way to set flash player window/projector to NO RESIZE. Thanks a bunch

Launching A Fixed-size Window From Flash?
Hi all,

How can I launch an html pop-up window of size 400 by 400 from flash?

thanks in advance

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

Opening External Program Within Fixed Window In Flash Player
I've been trying to open an external program in Flash MX.
I've created the FSCommand folder along with the batch file to execute it. This all works....

I now want to be able to run the program within the flash player itself and not in a different window.

The application should be able to run within a fixed space provided in the player.

The picture below is what I want it to look like. Right now it runs the dos batch file but not embeded in the player as you see in the picture. The Dos window is seperate.

I want to embed the dos window so it look like it's part of the movie and not a seperate window.

thanks

Open New Window With Button?
Using Flash MX I have a image with buttons that animate when rolled over. When clicked I want them to open a page in a new window.

If I just use one layer with the image and buttons and attach:
on (release) {
getURL("JavaScriptopup();");
}

to the buttons and then the following to the html

<SCRIPT language=JavaScript>
function popup() {
window.open('http://www.virtualgeorge.com/cantera/club.htm','','toolbar=no,location=no,directories=n o,status=no,menubar=no,scrollbars=no,resizable=no, width=350,height=400,left=80,top=0');
}
</SCRIPT>

This all works fine. I just made one button and dragged it to the stage where ever I wanted a button. However, I am wanting to use 8 buttons on different layers in my movie as in

http://www.virtualgeorge.com/test/splash3.html
the splash3.fla is there also.

When I use the button on multiple layers I get "Mouse events are permitted only for button instances
on (release) {"

How can I get my buttons to open new windows?

Thanks,
GB

Open Window From Button
right, i've got this code on my buttons

Code:
on (release) {

getURL("javascript:window.open('scelleton.html','newWin','width=320,height=500');void(1);");
}
which makes each html page open in the same windows as not to clog up the browser with excessive windows. which was all fine and dandy until i decided to make a splash screen and have the main page open in a smaller window like the pro's do now when i use the above script in the main window the new html pages load up in that same window thus makeing it impossible to navigate the site because the main window is now gone.

what part of the above code determins if the window opened is a new one or not? is there anyway to get round this or am i going to have to open them all in seperate windows?

thx, squid.

Open New Window W/o Button
I've found a gazillion tutorials on opening a new window and defining its parameters in Flash but only if you're opening it with a button.

Mine isn't working and I don't know if I just screwed up on the code or if it is because I'm trying to do it from the movie itself as a frame action rather than as an on event thing. I'm basically trying to show the user how to use the site's navigation so it needs to open on its own.

I've got this:

getURL("JavaScriptopup();");

in a keyframe on the main timeline.

And this:

<SCRIPT LANGUAGE="JavaScript">
function popup() {
window.open('samandteal.html','','toolbar=no,locat ion=no,direct

ories=no,status=no,menubar=no,scrollbars=no,resiza ble=no,width=

250,height=250,left=288,top=50');
}
</script>

in the head tag of the html the movie is embedded in.
I had another popup script in there but dumped it thinking they might be conflicting somehow.

So, which is screwed up? The flash? The JS? Both? And how do I fix it?

Thanks!
Barrie

Button To Open A Window
I need to put code in a button to open an exsisting window to a certin size ( Hight and Width ) how can I do this??

How To Use Button To Open New Window?
I want my button to open a new window link to another URL
on (release) (?

Open New Window Through Button
I am currently trying to modify an example script on a friends flash site to open a new window.

Currently when the button is clicked it takes you to a new scene in the flash movie called sp6 using the following script

onClipEvent(load){
this.b_pic.gotoAndStop('b6);
this.mc_b_txt.gotoAndStop('b6');
but = 'sp6'
}


Instead of taking the user to this scene in the movie I need it to open a URL in a NEW html window without disturbing the mouse over effects of the button or the title of the button from mc_b_txt


Anyone have any ideas?

Button To Open New Window?
I'm trying to make it so a line of text is a button, and when clicked, a internet window opens up. How would I go about this? Thanks.

[I need detailed instructions, BTW, I'm a newbie.]

HELP Button To Open New Web Window
Im making a button for my friend for his web site, so when it is clicked. It will take the clicker to the index of the page. What is the code, or what steps do I do to make it do that. Also, if you can in flash. Can I make it so the window opens in the current one with the button?

Open New Window By Clicking On A Button
I wanted to open a fixed-size window with a button click. I have everything in place... but for some reason when I edit my button all actions are disabled. Is it true for all buttons ...or do I have to create a new object (ex. movie clip)?

Thanks

Button To Open Pop-up Window At 700x300 Px?
I made a button in flash, and I want it to open a pop-up window with the dimensions 700 x 300.  I tried using

on (release) {
    getURL ("javascript:openIT()");
}

then the javascript code was placed in the html document saying what to do

<script language="javaScript" type="text/javascript" SRC="java.js"></SCRIPT>

<script>
function openIT() {
theURL="www.geocities.com/boozer_26er/pics/html"
wname ="CHROMELESSWIN"
W=300;
H=100;
windowCERRARa = "close_a.gif"
windowCERRARd = "close_d.gif"
windowCERRARo = "close_o.gif"
windowNONEgrf = "none.gif"
windowCLOCK = "clock.gif"
windowREALtit = "&nbsp;? Task title"
windowTIT = "<font face=verdana size=1>&nbsp;your chromless</font>"
windowBORDERCOLOR = "#000000"
windowBORDERCOLORsel = "#000000"
windowTITBGCOLOR = "#FF0033"
windowTITBGCOLORsel = "#FF0033"
openchromeless(theURL, wname, W, H, windowCERRARa, windowCERRARd, windowCERRARo, windowNONEgrf, windowCLOCK, windowTIT, windowREALtit , windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel)
}
</script>


but nothin happens, any ideas on what is going on?

btw Im using Macromedia Flash MX 2004.

thanks

Open A Pop Up Window From A Button Inside A Movieclip
Hi folks!
Is it possible to open a pop up window from a button inside a movieclip?
When I preview the flash movie from Dreamweaver and click the button that resides
in a movie clip to open the pop up window, I get a message from Explorer
"An error has occurred (-902)"
I'm using javacript.
Thanks in advance for your help!

Ok Serious I Don´t Know How To Use A Button And Make Open A Http Window
Hi guys, i don't know how to do a button and give the instructions to open html like used to be with the get URL, i ussualy do create a transparent button and put it over to my figure, this action script 3 is driving me crazy, is like learnig all from the beginin...

Click Button To Open Image In Same Window
i am creating a small slideshow that will sit in a webpage and started with scrolling thumbnails along the bottom of each image that will be in the slideshow. that works fine.

next i created a new movie above it with the full size images, one per keyframe.


what i want to do is make the scrolling thumbnails so when i click on one it will open that image right there above it.

i am wondering what the script is i need to insert to make each button pull up the full size image.

you can get the flash file i have created so far from here

i am using flash 8 pro.

thanks

Linking A Button To Open Window Component
Hi i am new to flash and this is probably a simple question but i have created a button symbol in flash and want to link this button to open a window component.... so what i have created is a map then i have made a button using a square shape. I created a pop up using the window component.... the windows component has a movie clip which shows one of those 360 degree pan photos.... i have all this working fine.... i just need to know how to open the window component using this button..... I have this working alright by creating a new frame with the window component on it and using the onclick goto and stop frame 4.... however this feels like not a good way to do it, i'm sure you can somehow link it by using instance names - i just dont' know the code very well at all..... also the way i did it once i close the pop up window component using the close button, it for some reason doesn't let the button work for the other pop up 360 degree photos....

Thanks for any help

How Make A Button Open A .swf File In A New Window?
How do I make a button open a swf file in a seperate window new window (like if i opened to swf file seperately)

Anyone know ?

Open Browser Window Button Inside An Mc
Hi there,
a very simple question.
I´m makin the "open browser window" tutorial but in my file i have the button that triggers the html pop up , inside a movie clip . The entire code to to attach to the button is :

on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "http://www.kirupa.com/modular/pop-up.htm";
target_winName = "kirupa";
width = 400;
height = 300;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}

I know i need to use _root something but is not gotoAndPlay, is it getUrl ?
I´m lost.
Thank you People for your help!!!
Andrea.

Open Browser Window Button Inside An Mc
Hi there,
a very simple question.
I´m makin the "open browser window" tutorial but in my file i have the button that triggers the html pop up , inside a movie clip . The entire code to to attach to the button is :

on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "http://www.kirupa.com/modular/pop-up.htm";
target_winName = "kirupa";
width = 400;
height = 300;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}

I know i need to use _root something but is not gotoAndPlay, is it getUrl ?
I´m lost.
Thank you People for your help!!!
Andrea.

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