Flasher Archive

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


Subject: Re: FLASH: Printing from Flash
From: Hal Medrano
Date: Thu, 17 Feb 2000 19:18:28 GMT

>Dear All,
>
>No doubt this question has been covered extensively on the list in the past,
>nonetheless....
>
>Can you call a print function from a Flash movie?
>
>I have a flash movie in a frameset, obviously in a browser, and just want the
>user to click a button in the flash movie to print the movie.
>
>
>
>Many thanks
>
>Carl
>

Hi Carl,

You can also use FSCommand. On your HTML page, put a JavaScript function
that works something like this:

<SCRIPT LANGUAGE="JavaScript">

<!--

function moduleone_DoFSCommand(command, args)
{
if ( command == "print" )
{
window.print();
}

}

//-->

</SCRIPT>

And in your Flash movie, put a button onstage with this action:

FS Command ("print", "")

And dat oughtta do it

I'm lifting source code from a project we did a few months ago, and this
method has been working so far without any probs.

Cheers!

Hal

Hal Medrano
New Media Group
U S WEST Creative Services

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: When arrives Branden's Second, Branden Hall
  Re: FLASH: Printing from Flash, Carl Captieux

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