Flasher Archive

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


Subject: FLASH: Javscript Question
From: Rick Koch
Date: Sun, 30 Jan 2000 16:56:16 GMT

Hi All,

>From my flash piece, I'm calling up a new, smaller browser window
containing a text-only version of the page and I want the print dialog
box to pop up automatically so all the visitor has to do is click OK to
the print request.

No problems calling up the new window from Flash but in the html of the
new window I'm using the following:

<SCRIPT>
function printIt() {
window.print();
}
</SCRIPT>

</head>

<body onLoad="printIt()" link="#006600" vlink="#006633" alink="#009933"
bgcolor="#FFFFFF">
<div align="center">
etc.


I thought this worked for me before cross platform (at least in versions
4 of Netscape, IE and AOL) but today, mysteriously, it only works in
Netscape.

In both IE 4.0 and AOL 4.0, the new window open ok but then a script
error window pops up saying... object doesn't support this property or
method...
so the print dialog fails to pop up.

Any ideas on a reliable script for all of these browsers to "force" the
print dialog box to open on load?

Thanks so much,

Rick K.

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The Worlds Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 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: Javscript Question, Eric Dunham

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