Solved

Need to resize new window from Flash

Posted on 2002-06-25
5
148 Views
Last Modified: 2010-04-03
Hola!  How can I resize a new window from a link created in Flash, (Basic Actions, On Press, Release, Get URL).  SO the original page is in a full sized window but I want the new target window to be a smaller size, say 400 x 400 in a brand new window.  I got the new window but need it smaller.  Where and How can I do this in Flash?

Thanks in advance!!
Jennifer
0
Comment
Question by:guyje
[X]
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
5 Comments
 
LVL 23

Accepted Solution

by:
Zeffer earned 50 total points
ID: 7109508
It's all explained here at...

http://www.macromedia.com/support/flash/ts/documents/popup_windows.htm

the method you want which lets you control the window size..(geturl/JavaScript)..is to paste....

geturl("javascript:openNewWindow('http://www.macromedia.com','thewin',
      'height=400,width=400,toolbar=no,scrollbars=yes')")

all in a single string..no spaces..in the geturl panel in Flash..

and then..

in the head of your html document put..

<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
</script>

look for extra instructions on the Macromedia site if you
are using Flash 4.

Z


0
 
LVL 6

Expert Comment

by:rootdir
ID: 7109653
Another method is, to use 'fscommand' to call external launcing program, which will popup your new window in 400X400 scale.

You can find good examples at

http://www.moock.org/webdesign/flash/launchwindow/launchwindow.html

Cheers
RootDir
0
 

Author Comment

by:guyje
ID: 7111784
Accepting Zeffer's response with the JavaScript method.  Had to play with it a little and after reading the macromedia link provided, I was able to get it to work correctly.  Thanks so much!  - Jennifer
0
 

Expert Comment

by:technologyservices
ID: 13630347
I have a flash .exe on a CD that autoruns to fullscreen- We a link to a zip file - We have target new window-- but on some computers the window opens behind the presentation that continues to run. Is their a way to make sure the window opens in the front or to prompt the user to extract the files from this link?
0
 
LVL 23

Expert Comment

by:Zeffer
ID: 13648945
technologyservices .. please post that as a new question .. thanks

Z
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

729 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