Solved

Need to resize new window from Flash

Posted on 2002-06-25
5
149 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

Technology Partners: 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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
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.
Suggested Courses

628 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