Ask a Question related to Adobe Flash, Flex & Director, Design and Development.
-
lolarocks webforumsuser@macromedia.com #1
Specifying html browser window size from Flash link
I'm hoping someone knows how to do this -- I've been struggling with it for several days and just can't figure it out ...
I want to set the browser window size in an html file that I will be opening from a Flash link. I am creating a Flash site for a photographer, and want her specific pictures to come up in an html window that I have set the size for. Is there some specific command I should type in the "window" bar for the Flash button to define the window size for the html page that will open??
Thanx!!!
lolarocks webforumsuser@macromedia.com Guest
-
I want a link on my page to open a new browser window
I want a link on my page to open a new browser window. In the new window I have a video.flv file, but I dont want all the explorer menus, icons and... -
Open Browser Window Link Problem
Hi All, I am creating a page with a table on. In the table are certain cells that hold information that I want users to be able to click on for... -
link + window size
i normally use a Js to do this, but how to i set a window size when using JS for the link bar JavaScript on site var menu1=new Array()... -
specifying web browser window size
Can this be done? Need to open html file in web browser (easy enough) but need the browser window to be a specific size. Can this be done through... -
control browser window size
Yes, what you are wanting to do is easily done with JavaScript. However, like the majority of folks, I'd really appreciate it if you wouldn't try... -
Kidgamez webforumsuser@macromedia.com #2
Re: Specifying html browser window size from Flash link
It would be eaiser to open the window with java. Then you can specify the size.
Kidgamez webforumsuser@macromedia.com Guest
-
helan #3
Re: Specifying html browser window size from Flash link
// -------------------------
// Open a centered popup
// window with passed
// features (FLASH MX)
// -------------------------
MovieClip.prototype.centerPopup = function( theUrl,title, w, h, features)
{
var sysW = System.capabilities.screenResolutionX;
var sysH = System.capabilities.screenResolutionY;
var centerx = Math.round((sysW/2)-( w/2));
var centery = Math.round((sysH/2)-( h/2));
getURL("javascript:void(window.open('" + theUrl
+ "','" + title + "','width="+w+", height="+h+", left="
+centerx+", top="+centery+",screenX="+centerx+", screenY="
+centery+"," + features + "'));");
}
// -------------------------
// usage:
// -------------------------
/*on (release)
{
centerPopup("http://www.html.it","html",400,300,"menubar=no");
}*/
// code from: [url]http://www.sephiroth.it/[/url]
Helan (Norway)
[url]www.helanweb.com[/url]
Live life to the MX
helan Guest



Reply With Quote

