Solved

getURL, maximize URL

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

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.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

776 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