Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Multiple Popup Windows
From: Randy Kato
Date: Thu, 20 Jul 2000 22:07:25 +0100

Diana,

You can make a different function for each button, and name them something like
popupwindow1, popupwindow2, etc. In your Get URL, just call the one you want.

In your HTML you'll copy and paste the function, including the curly brackets and
everything in between, until you have one for each button. Rename them as
described above. Then replace "colour.html" with whatever page should open for
each function.

Now what you'll need to do is to fill in a name for each popup window. The ""
after "colour.html" is where your window name goes, so fill that in with a unique
name for each popup, like popup1, popup2, etc.

HTH,
Randy

DLA wrote:

> Hello everyone,
>
> I am very new to this very helpful list so please bear with me if this has
> been answered a million times before.
>
> I have flash movie that has 4 buttons on it. Each button will have to open
> a separate popup browser window with specific and different dimensions,
> etc... I know I would need to use JavaScript for this and knowing next to
> nothing about I dug around for a tutorial to help me. After trying numerous
> I found one that worked, but the problem is it only works for one button and
> does not work for the others. Here is what I have so far:
>
> In my flash movie, this is the action I have for my button:
> On (Release)
> Get URL ("Javascript:popupwindow( )")
> End On
>
> In my HTML I have the following:
> <script LANGUAGE="JavaScript">
> function popupwindow(){
> window.open("colour.html","","height=525,width=675,menubar=0,resizable=0,scr
> ollbars=0,status=0,titlebar=0,toolbar=0,left=0,top=0")
> }
>
> </script>
>
> >From what I can see the function in the HTML document is hard coded with the
> url (colour.html) and I cannot call that function for a different button
> that is supposed to go to a different pop up window. What should I do?
> Any assistance given would be VERY appreciated.
>
> Thanks a lot
>
> Diana

--
'''''' ' ' ' ' ' ' ' ' '
Randy Kato - Web Master
Braincraft

627 Broadway, Suite 504, NYC 10012
T 212.539.1680 F 212.539.1741
http://www.braincraft.com
...... . . . . . . . . .



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Flash ScreenSavers, Amanda Farr
  FLASH: Multiple Popup Windows, DLA

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]