| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#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,
Noah |
|
|
|
|
|
#2 |
|
Registered User
|
|
|
|
|
|
|
|
|
|
#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.
Thanks, Noah |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
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: Code:
on (release) {
_root.buttonCount += 1;
getURL ("javascript:openNewWindow('somePage.html','thewin"+_root.buttonCount+"','height=100,width=250,toolbar=no,scrollbars=yes')");
}
keywords: open multiple pop up windows name field new
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org 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. |
|
|
|
|
|
#5 |
|
Chesuset
Join Date: Sep 2005
Location: Valencia (Spain)
Posts: 10
|
I'm testing your code with no result.
here my code ActionScript Code:
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. greetings ![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Why everyone hates (or should hate!) mircosoft | stealthelephant | General Chat | 102 | 11-28-2008 10:02 PM |
| Pop up windows | Developer | Other Flash General Questions | 6 | 01-24-2004 10:10 AM |
| site structure and pop up windows in flash | eskymo | ActionScript 1.0 (and below) | 4 | 02-07-2003 12:01 PM |
| Pop up windows | ptown | ActionScript 1.0 (and below) | 1 | 02-01-2002 12:28 AM |