Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

getURL, maximize URL

Posted on 2004-09-15
4
429 Views
Last Modified: 2008-02-01
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
Comment
Question by:Flashvue
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
elfraga earned 500 total points
ID: 12070318
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
 
LVL 1

Expert Comment

by:elfraga
ID: 12070335
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question