[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 454
  • Last Modified:

getURL, maximize URL

I have a link on a flash site that initiates a new browser page.  I would like the page to open maximized.

Here is the current link below...

getURL("http://mypage.aspx","_blank");

Any suggestions on how to modify this link?

thanks in advance
0
Flashvue
Asked:
Flashvue
  • 2
1 Solution
 
elfragaCommented:
sorry my english i am mexican.

directly to flash it cannot be made..
but there are other tricks.. for example
using a javascript... here is the code..

its work perfectly

in flash:
getURL("http://mypage.aspx","_blank");

and the mypage.aspx must hace like this:

<html>
<script>
this.moveTo(-2,-2);
this.resizeTo(screen.availWidth+4, screen.availHeight+4);
</script>
<body>
fraga
</body>
</html>
0
 
elfragaCommented:
I really prefer the way and told you up.. but this is

the hard way, i to create an fscommand. that communicate to
an javascript, so you can open new windows:
but the are just the same.. the function in javascript must be:

dont forget to create a live conecction true.


In flash:
Fscommand(.....);

HTML in with flash resides:

function openwin(url) {
var h = screen.height-25;
var w
= "toolbar=1,location=1,menubar=1,status=1,scrollbars=1,resizable=0,directo
ries=1,width="+screen.width+",height="+h+",left=0,top=0"
aaa=window.open(url,"aa",w)
}

The opener:
javascript:openwin('z0784011.htm')
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now