Limiting page dimensions...

I have a Flash 4 interface which links to different pages on my site. What I want to do is have the page that pops up be a size which I define in the HTML, either through JS or HTML scripting. I know there is a method to do this with JS on the parent page, but I only know how to do this with text, and I don't think  Flash allows for writing pop up window code. Basically, how can I make the pages that pop up smaller sizes? The code will have to go into the new page's HTML, unless there is a way to code it into Flash.

volker@teleport.com
MourneAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HocamCommented:
Hello, here is a sample code...
You can play with all the settings like displaying scrollbars, toolbars and size and position of your window etc.

I hope this helps,
-Hocam
http://www.atanet.net/enu

<script language="JavaScript">
if ((navigator.userAgent.indexOf("MSIE")!=-1) && navigator.appVersion.substring(0,1) > 3) {
      msgWindow=window.open("YOURFILE","displayWindow","toolbar=no,width=275,height=345,directories=no,status=no,scrollbars=auto,resize=no,menubar=no,left=610,top=150");
}
else {
      msgWindow=window.open("YOURFILE.htm","displayWindow","toolbar=no,width=300,height=350,directories=no,status=no,scrollbars=auto,resize=no,menubar=no,left=10,top=10");
}
</script>

-Hocam
http://www.atanet.net/enu
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MourneAuthor Commented:
I was not clear enough, I am sorry. What I meant was, when you click on a link in the Flash interface, I want the window that pops up as a result to be scaled down to a size I define. Is there a way to do that?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.