Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-31-2001, 03:01 AM   #1
metamorphoze
Registered User
 
Join Date: Feb 2001
Posts: 13
Default

Allright, i have a little problem.

I my flash movie, i have 2 button, each one open a popup window. i use this script:

on (release) {
getURL ("javascript:spawnWindow('popup.html','popup','too lbar=no,location=no,status=no,menubar=no,scrollbar s=no,resizable=no,width=200,height=300')");
}

my problem:
when i open the first window, it's fine, but when i open the second window, the new page open in the first popup window. If i close the first popup window, and then, hit the second button, it's ok. but if i let the first popup window open, the next page load in the same window.

what i want to do is:
the first button = 1 popup
the second button = 1 new popup

I appriciate your help, thanx
metamorphoze is offline   Reply With Quote
Old 06-06-2001, 05:43 PM   #2
evildj
Registered User
 
Join Date: Jun 2001
Location: San Diego
Posts: 3
Default

I'm sure you have the answer to this by now, but its a common problem. You have named your new window 'popup'. If you try to open another window with the same name, the new content will replace the old content in the same window. Try naming the second window 'popup2' or something.

Dave Jones
http://www.flash-data.net
evildj is offline   Reply With Quote
Old 06-07-2001, 02:25 AM   #3
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

Yeah if you do a search on the forums we posted a work around some time ago I think...
__________________
Cheers

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
Reply


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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with javascript popup window in MX 2004 lina.johansson ActionScript 2.0 2 02-14-2005 12:04 PM
problem with popup AS bmerens ActionScript 1.0 (and below) 7 08-18-2004 04:06 PM
javascript problem... i think. tg Other Flash General Questions 0 01-07-2003 03:16 PM
popup with javascript & external txt file worf Server-Side Scripting 3 04-16-2002 09:19 AM
Problem opening a new window from a popup window Jungl3M4n Simple Stuff (Newbies) 3 12-12-2001 08:16 PM


All times are GMT. The time now is 05:07 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.