Flasher Archive

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


Subject: Re: FLASH: Netscape pop-up windows
From: derrickito
Date: Mon, 4 Dec 2000 19:54:55 GMT

javascript works just fine for opening and controlling windows, and you can
specify perameters of the window easily, this is what most people use in
flash for pop ups.. heres a tutorial from good old jessica over at
www.were-here.com

http://64.224.111.148/forum/tutorials/javascript-popup/index.html

good luck
derrickito


----- Original Message -----
From: "Ben Houghton" <benatakoluthic [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Monday, December 04, 2000 2:56 AM
Subject: FLASH: Netscape pop-up windows


Hi flashy folk

I'm trying to get the pop-up windows for a flash site working with Netscape.
I want to use the MM_OpenBrWindow macromedia style Javascript command,
rather than getURL which is no good for getting rid of the browser tool bar
on the pop up (see html source below or at
www.online-ps.com/bud/default.htm). The command is called using;

on (press) {
fscommand ("WindowName");
}

within the movie, where WindowName is either vac, des, web or pri depending
which button you press.

Although it works (albeit randomly!?) locally on my machine in Netscape it
doesn't on the web (but does in Explorer).

Do you have any ideas?

Thanks

Ben
----------------------------------------------------------------------------
------

<HEAD>

<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</HEAD>
<BODY bgcolor="#000000">

<SCRIPT LANGUAGE=JavaScript>
<!--
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;

// Handle all the the FSCommand messages in a Flash movie

function test2_DoFSCommand(command, args) {
if (command == "messagebox") {
alert(args);
}
if (command == "vac") {
MM_openBrWindow ('vac.htm','MAPVacancies',
'scrollbars=yes,resizable=yes,width=1000,height=400')
}
if (command == "des") {
MM_openBrWindow 'artwork_quote.htm','DesignQuotationForm',
'scrollbars=yes,resizable=yes,width=1000,height=400')
}
if (command == "web") {
MM_openBrWindow 'web_quote.htm','NewMediaQuotationForm',
'scrollbars=yes,resizable=yes,width=1000,height=400')
}
if (command == "pri") {
MM_openBrWindow('print_quote.htm','PrintQuotationForm',
'scrollbars=yes,resizable=yes,width=1000,height=400')
}
}

// Hook for Internet Explorer
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&
navigator.userAgent.indexOf("Windows") != -1 &&
navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('<SCRIPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('Sub test2_FSCommand(ByVal command, ByVal args)\n');
document.write(' call test2_DoFSCommand(command, args)\n');
document.write('end sub\n');
document.write('</SCRIPT\> \n');
}
//-->


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Netscape pop-up windows, Ben Houghton

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