Solved

getURL, maximize URL

Posted on 2004-09-15
4
426 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
A short article about a problem I had getting the GPS LocationListener working.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now