Solved

getURL, maximize URL

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
This is an explanation of a simple data model to help parse a JSON feed
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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…

746 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