OPEN NEW WINDOW With Adjusted Size HELP
THE QUESTION
I tried to go thru' your instructions using Get URL and putting the java script but I think I'm not doing it correctly, it simply doesn'T adjust to its own size. You can see the stuff on my website www.inversefunction.com to give you a better idea what I mean.
I have a main flash movie for the index page called inverse.swf, on that main movie it has Photo swf as a sub movie, if you click Photo button. hence it will lead to sub swf movie(photo.swf), if you click pix which says Ripple the separate browser in width 440 height 325 should show up, but instead it shows up in huge browser instead. Like you said on your site, I tried to use Get URL and put the script as
javascript:Launch('http://www.inversefunction.com/Ripple.html
but what I got confused about was if I needed to publish the Photo.swf, since that is the movie it has the button. I did publish the Photo.swf to html, and added your javascript, but when I tried to see it on the net nothing shows up. So what I did later on was instead putting
javascript:Launch('http://www.inversefunction.com/Ripple.html
I put on (release) { getURL("Ripple.html", "_blank"); }
and instead of publishing the Photo.swf, I published Ripple.swf to html and added your javascript there instead, and as you can see the image does show up, but the browser size hasn't been adjusted. I dunno how I can adjust the browser size for the flash movie. it seems simple, but its not working. I can send you the fla. and html if you need to check them. hope anyone can answer to my question soon!!! Sincerely Fluxus
FlashKit > Flash Help > Flash ActionScript
Posted on: 09-01-2004, 07:52 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Open New Window With Adjusted Size HELP
THE QUESTION
I tried to go thru' your instructions using Get URL and putting the java script but I think I'm not doing it correctly, it simply doesn'T adjust to its own size. You can see the stuff on my website www.inversefunction.com to give you a better idea what I mean.
I have a main flash movie for the index page called inverse.swf, on that main movie it has Photo swf as a sub movie, if you click Photo button. hence it will lead to sub swf movie(photo.swf), if you click pix which says Ripple the separate browser in width 440 height 325 should show up, but instead it shows up in huge browser instead. Like you said on your site, I tried to use Get URL and put the script as
javascript:Launch('http://www.inversefunction.com/Ripple.html
but what I got confused about was if I needed to publish the Photo.swf, since that is the movie it has the button. I did publish the Photo.swf to html, and added your javascript, but when I tried to see it on the net nothing shows up. So what I did later on was instead putting
javascript:Launch('http://www.inversefunction.com/Ripple.html
I put
on (release) {
getURL("Ripple.html", "_blank");
}
and instead of publishing the Photo.swf, I published Ripple.swf to html and added your javascript there instead, and as you can see the image does show up, but the browser size hasn't been adjusted.
I dunno how I can adjust the browser size for the flash movie. it seems simple, but its not working. I can send you the fla. and html if you need to check them. hope anyone can answer to my question soon!!!
Sincerely
Fluxus
Open New Window With Adjusted Size HELP
THE QUESTION
I tried to go thru' your instructions using Get URL and putting the java script but I think I'm not doing it correctly, it simply doesn'T adjust to its own size. You can see the stuff on my website www.inversefunction.com to give you a better idea what I mean.
I have a main flash movie for the index page called inverse.swf, on that main movie it has Photo swf as a sub movie, if you click Photo button. hence it will lead to sub swf movie(photo.swf), if you click pix which says Ripple the separate browser in width 440 height 325 should show up, but instead it shows up in huge browser instead. Like you said on your site, I tried to use Get URL and put the script as
javascript:Launch('http://www.inversefunction.com/Ripple.html
but what I got confused about was if I needed to publish the Photo.swf, since that is the movie it has the button. I did publish the Photo.swf to html, and added your javascript, but when I tried to see it on the net nothing shows up. So what I did later on was instead putting
javascript:Launch('http://www.inversefunction.com/Ripple.html
I put
on (release) {
getURL("Ripple.html", "_blank");
}
and instead of publishing the Photo.swf, I published Ripple.swf to html and added your javascript there instead, and as you can see the image does show up, but the browser size hasn't been adjusted.
I dunno how I can adjust the browser size for the flash movie. it seems simple, but its not working. I can send you the fla. and html if you need to check them. hope anyone can answer to my question soon!!!
Sincerely
Fluxus
How Do I Get Get Fullscreen Or Adjusted Browser Window?
i want to have a flash movie open in a browser with certain width and height when clicking on a regular hyperlink in my website?? is there a javascript code for this or do i need to make a flash button in my site and assign a actionscript to it???
Popup Window Adjusted To Users Screen Resolution (navigateToURL)
Hi
Does anyone know how to open a popup window which is adjusted to the users screen resolution? The window opens when a flash button is clicked.
Here's an example I found of how it SHOULD work (click on the bee in the door) : http://www.dr.dk/b/Oline/forside.htm
The window is resized to fit the screen resolution.
And heres my code (this one uses a fixed size, however)
Code:
startbutton.addEventListener(MouseEvent.MOUSE_UP, startIntro);
function startIntro(e:MouseEvent):void {
var js:String = "window.open('Intro.html','win','height=400,400,toolbar=no,scrollbars=no,resizable=no');";
var url:URLRequest = new URLRequest("javascript:" + js + " void(0);");
navigateToURL(url, "_self");
}
Open A New Window With A Certain Size
k I don't know if this is action script, but, how can I make it so that when someone presses a button in the flash movie, a new window opens with a certain size ,which can't be changed ?
k I know this is the javascript for it :
<script language="javascript">
<!--
var orb_num = '19';
var adult_flag = 'n';
var popup=window.open('/page.html,'popupad','title=no,resizable=no,scrollb ars=no,status=no,width=125,height=180')
popup.focus()
//-->
</script>
but how can I use that in actionscript ??
[Edited by vick on 12-02-2001 at 03:11 AM]
Open New Window At A Specified Size
Using Falsh 5 and mx
I linked a button from 1 falsh movie that is embeded in a coldfusion file to another swf file. I need the file to open at a specified width and height and not in full screen mode in the browser. Tried using the fscommand ("fullscreen", "false"), Please help! Thanks!!
How To Open New Window In Specified Size?
Using Flash MX!!
Does anyone know a way to open a new browser window in a specific size??
I'm making a pic gallery and want the pics to pop up in a new 200x400 px window
Please Help!!
-Garbus
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 New Window With Specific Size
G'Day all,
I'm trying to open a new window from flash (easy enough) but is there any way to have a specific size on this new window without using javascript???
Open New Window To Certin Size ----
i want to open a window from inside my flash movie to a certin size outside the flash movie, however,i don't use an HTML page so i can't use the standard Javascript code. any suggestions?
Open New Window - Specific Size
Hey there - -
I am trying to open a new browser window - but as a specific size like you can do in Dreamweaver... This is probably a function for the "advanced mode" of the actions panel and I am not much of a "scripter"....
Any help out there??
Thanks, Wendy
Open Site In A Window The Size Of The Swf
ive made a swf for my menu which will be the opening page on my site.. the dimensions of the pic used as the background for the swf are W:650 H:462. Im wanting it so when you go to the url of my site
the index.html window that opens up is the same size as the swf file.
when i publish the flash file and open the .html file it opens full screen with the swf embedded in it, with about 3-4 cm cut of the right hand side and the bottom of the .swf, also does thich when i tried making a floating html page for it, it just came out full screen with the .swf embedded in it at the top left.
also when i tried making it open in a javascript window resizing the window to the same size as the .swf it done the same thing cutting 3-4 cm of the right side and bottom.
if i make the width of the java window about 850 it doesnt cut anything of the right hand side but it leaves about 3-4 cm of white border down the left hand side plus it makes the image of .swf larger which i dont want. It also does the same thing when increasing the java window height only the white border being at the top.
when i open the .swf on its own it also has 3-4 cm cut of the right hand side and the bottom..
some1 know why this is happening? and how do i make the html page just be the same size as the .swf ?
cheers..
Window Open To Picture Size?
so i have a picture in flash, when i click on it, i have this box that kinda expands, then loads the picture in it, problem is right now itll open to one size. Can i have this window read the width and height of a picture and open this box to that size?
-or-
could i have it when you click on the picture, it opens a internet explorer window in the same size as the picture?
Any help is 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 New Window, Specify Size. Java?
Hey.
I need to open a URL in a new window from flash. I can do that. But i need to define the size the window opens at.
i can do this in html, with java stuff, but how can I do it in flash??
It needs to open a flash page at a certain size.
Thanks
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 A New Window With A Defined Size And No Add. Bar Top
Hi, I have been trying to figure out a solution to my site problem. On my site I have a portfolio swf. Under each sample in the movie I want a launch button to activate a popup window with a closer look at the sample. I would like that same button on different frames to activate different frames in the popup window. Which would mean it would jump to the desired sample. Ive seen this done in other portfolio sites. Cant figure it out. It seems the openwindow code would only be effective for a single button not the button I would have to have.
Any ideas??????? Advice????? My url: www.gmsystems.com --->click portfolio button
Your advice is greatly appreciated!!
Thanks.
RT
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.
How To Open New Window (size, No Scroll, No Nav) And Insert URL?
How do I open a new window within Flash and insert a URL with any degree of control? I'd like the new window to be small, without scroll bars, nav bar etc, and be able to position it where I want it when it opens. I've tried loadVariableNum ("downloadpopup.html",0) but the new window opens up with all the extra crap.
I've tried using the above and within the first URL having Javascript that opens the new window as described above. The problem is that flash doesn't seem to want to recognize the Javascript in the URL obtained via loadVariableNum?
Help...please.
This is the two step kludge that _doesn't_ work:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function tmt_winLaunch(theURL,winName,targetName,features) {
eval(winName+"=window.open('"+theURL+"','"+targetN ame+"','"+features+"')")
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" onLoad="tmt_winLaunch('malahat.html','newWin','new Win','width=310,height=275,left=50,top=50')">
</body>
</html>
To Open A New Window With Predefined Size With Flash
Hello everybody,
I am facing a major problem to open a new window through flash.
initially I have tried to open it with writing in flash :
on (press) {
getURL ("javascript:launchwin('invite.asp' , 'newwindow' , 'height=150,width=200')");
}
And writing the "launchwin" function in the ASP page which opens the window, this worked perfectly well.
But when i tried to send a querystring value along with the page by writing in Flash :
on (press) {
room1 = _root.room;
getURL ("javascript:launchwin('invite.asp?room='"+ _root.room +"' , 'newwindow' , 'height=150,width=200')");
}
It did not run, infact the window did not open at all.
Can you please help me in this case.
Any other method to open a new window is also very welcome.
Please Help
Thanx in advance
Sid
Trying To Open New Window W/specific Size BUT Dynamic URL...
I need to open a new html (asp really) window and want to be able to specify the size of the window. The only problem is that the URL of the movie I am opening is dependent on user input. Basically, the user inputs a part number and submits the part number which then drives the URL of the new window. How can I make this new window a specific size?
Thanks,
Jordan
How To Open Browser Window With A Specific Size?
In the index.htm are a intro in flash, when it finish the user click enter and then a pop up window open with the site.
I want that the pop up, dont have status bar, or search bar, only a window with a specific size?
Where i can find some tutorials for that? Any help?
Thanks!
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!
Open Link In A Specific Size Window?
Hey all. I have a simple button that I would like to open a new window. The thing is that I want the new window (Just a simple HTML page) to open at a specific size. How would I go about this? Thanks in advance for any help!
Jay
Can You Make Flash Open A Window Size?
can you control what size window is opened from a button clicked in flash?
for example make the new window 750 x 550?
anything else like remove scroll bars ect?
cheers
Aidan
Open A _blank Window With A Specific Size
Hi !
I need to open a new _blank window with a specific size. I don't know sh*t about javascript. Could somebody help me by showing me a completed solution.
I searched for a "onLoad" solution to put in the html of the targeted page but I didn't find anything. My link is from a flash to a really basic html page.
Thx guys !
I'm Calling Html From As3 But How Do I Have The Window Open At A Certain Size
function callLink ( pEvent:MouseEvent):void {
var url:String = "aw01.html";
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, '_blank'); // second argument is target
} catch (e:Error) {
trace("Error occurred!");
}
}
p1btn.addEventListener(MouseEvent.CLICK, callLink);
it works fine. but how do i make aw01.html open in a window thats width=600 by height=400
pls show me how thanks
Open HTML Window At Specific Size...
When I click on a button in Flash, I want it to open a new Explorer window with the following criteria:
- 400x300 in size
- centered in the middle of the screen
- no scroll bar
- no tool bars at all
Anybody have any idea how to do this with the click of a button in Flash (5)?
Thanks!
Open Shoutbox Window In Proper Size?
Hi!
I have searched the forum for answers, but can't find the One Thread That Answers My Question...
I helping a friend with her page:
www.helgaiselin.no/knyttet
From that, I want to open a shoutbox from www.myshoutbox.com and I want the bow to be a new html page in a fixed size, something like 200 px wide and 300 px high.
But that means that I have no control over the target page, and have no posibilities other than inserting some code into the action script, that takes that into account.
P.S.:What I need is something simple that I can understand
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~
How Do I Open A _blank Page (URL) To A Specific Size Window?
Hello Everyone,
I was hoping someone might be able to let me know if it is possible to open a web page, with action script, to a specific size. I have no problem with this code opening to a _blank page but the resize is not working. Below is the AS I use to open the page which gets the URL info from an XML file.
_global.thumbPress = function(obj) {
getURL(Large[obj.ID], "_blank, width=790pxheight=620px")
};
I tried different ways to add in the size info but when the browser opens to a blank page the page size opens to the size of the monitor. Can Action Script resize a browser window to the specific size that I want. I know java script can accomplish this task.
I appreciate any help to my issue.
Thanks in advance.
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
Publish Settings Making Html Window Open To The Size Of The Swf, Help Me
hey guys i really have no idea how to do this
ive been messing with publish settings for like an hour now
i want my website to open in the size that the swf is, 800x600 but instead IE just opens it in a normal sized window, so then i get a load of "white space" around the outside of it
can anyone help me please
the site isnt up on the net yet, so i cant show you it.
also, can you dumb it down a little when you respond, im not the sharpest knife in the drawer when it cums to flash terms and such, so simplified words and terms would be help full!
cheers
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!
Flash - Set Window Size, Open Middle Of Screen, Disable Resize
HI,
I am doing a flash movie and would like to set my my publish flash movie to open in the middle of the screen in a specific size. I would also like to have the resize mode disabled. How do I dow that?
1) Set size of flash window
2) Open in the middle of the screen
3) Disable resize
Thanks
[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.
How To Open A Popup Window Exact Size Of Random Gif From Within Flash Movie On Load?
Hi,
i have a flash movie, and on loading, or at a certain frame, is there some way i can have a random popup html window (which will have small gifs of random sizes) open up automatically the size of the gif.
They will be random images or quotes in gif format from a selection uploaded to a folder called quotes.
Many Thanks in advance from someone who will need it spelled out very clearly.
Cesca : )
p.s. i have a macromedia behaviour script that i found a while back, that creates a popup window of a chosen gif and resizes the window to the exact dimentions of teh gif. However this is for use within an html page, and doesnt consider the random factor....if i understood cding better, id probably be able to manipulate the code but i'm more of a doughnut...lol...any help or advise appreciated.
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
|