Solved

Need to resize new window from Flash

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pushing Adobe Flash Player Fails with Error %%2 1 490
blocked plugin flash 5 121
File conversion question 5 118
HTML 5 video and audio or Flash 1 60
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
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 the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

838 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