Flasher Archive

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


Subject: FLASH: Multiple Popup windows
From: DLA
Date: Fri, 21 Jul 2000 08:52:34 +0100

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,scrollbars=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

DLA


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


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