Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-21-2001, 06:37 PM   #1
Registered User
Join Date: Jun 2001
Posts: 2

I'm new to flash, but trying to learn quickly. I have created a flash movie with one section that has a photo gallery. I would lke to generate a borderless pop-up window for each thumbnail. I tried the "pop-up window within flash" tutorial, and it worked great, but only for one window. I can't create more than one this way. Is there a way to spawn more windows? The problem with the other way was that I only have one html page. Help would be greatly appreciated. Thanks,
Ndater is offline   Reply With Quote
Old 06-21-2001, 07:01 PM   #2
Registered User
Join Date: Nov 2000
Location: Toronto Canada
Posts: 798
Send a message via ICQ to Strok


last thread will help you
My photography: http://strok.photosight.com
Strok is offline   Reply With Quote
Old 06-21-2001, 07:31 PM   #3
Registered User
Join Date: Jun 2001
Posts: 2

Thanks for your reply. I tried using that approach, but if I understand correctly, you are linking multiple flash movies from an HTML document. Unfortunately I want to use Flash to open up multiple new windows. The tutorial shows how to open one of these new windows, and that works very well. The problem is that I need to open 6 windows all from the same flash movie and scene. As you showed this would be very easy to do with standard html, but it gets more complex with flash. I could be going about this the wrong way, but I'm currently miffed.
Ndater is offline   Reply With Quote
Old 06-22-2001, 12:52 AM   #4
ActionScript.org Founder
Jesse's Avatar
Join Date: Nov 2000
Location: New York
Posts: 8,736

The issue is that when you spawn a new popup the 'name' field must be different, otherwise your browser recognizes the exisiting popup with that name and simply opens your document in that window.
You can fix this by manually alterring the name field on each of your buttons, or dynamiccaly using code like this:
on (release) {
        _root.buttonCount += 1;
        getURL ("javascript:openNewWindow('somePage.html','thewin"+_root.buttonCount+"','height=100,width=250,toolbar=no,scrollbars=yes')");
NB: This code is just an example, you will obviously have to change the javascript function it calls and the values it passes.

keywords: open multiple pop up windows name field new

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 09-06-2005, 01:24 PM   #5
Join Date: Sep 2005
Location: Valencia (Spain)
Posts: 10

I'm testing your code with no result.

here my code

ActionScript Code:
Actions.gotoURL = function(urlVar) {     _root.buttonCount += 1;     getURL("javascript:openNewWindow("+urlVar+",'win"+_root.buttonCount+"','fullscreen=1')"); };

Do I need the .swf to be embeded in a html in order to run properly ????

if not,

Is there anyway to get multiple windows with different names using only .swf files ???? the main problem is that new windows is getting opened behind the projector for the reason you explain in the last post I supose.

I'm getting mad looking for this theme.
I'll appreciate you to help me and all of us who want to achieve reading archives from a flash cd.

xus is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why everyone hates (or should hate!) mircosoft stealthelephant General Chat 100 01-07-2005 01:17 PM
Pop up windows Developer Other Flash General Questions 6 01-24-2004 09:10 AM
site structure and pop up windows in flash eskymo ActionScript 1.0 (and below) 4 02-07-2003 11:01 AM
Pop up windows ptown ActionScript 1.0 (and below) 1 01-31-2002 11:28 PM

All times are GMT. The time now is 02:28 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.