Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Server-Side Scripting

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-28-2001, 12:45 PM   #1
Glyn Griffiths
Registered User
 
Join Date: Mar 2001
Location: UK
Posts: 2
Question

Is it possible to set up a button within a movie that will send a text document to the viewers printer when it is clicked?

How can I code such a button?

Many thanks.
Glyn Griffiths is offline   Reply With Quote
Old 03-28-2001, 03:46 PM   #2
Strok
Registered User
 
Join Date: Nov 2000
Location: Toronto Canada
Posts: 789
Send a message via ICQ to Strok
Default

Use GetURL action:


on (release) {
getURL ("javascript:window.print()");
}


Please not post the same question in different sections.
Strok is offline   Reply With Quote
Old 03-29-2001, 12:08 AM   #3
limpduck
Registered User
 
Join Date: Dec 2000
Location: england
Posts: 82
Send a message via ICQ to limpduck
Default

or just out thius in the button:::


on (release) {
if ($version !="") {
print ("text","bframe");
}
}

text is the name of you file ok....

version is to make sure the person as an up todate player that can print...........

bframe prints what ever is on that frame and that frame only.....the frame is used for the bounding box....
bmovie can be used to print on the main time line where the movie size is used as the bounding box, bmax uses all frames in the main timeline and uses the max bounding box.
limpduck is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
load movie in new window nathang ActionScript 1.0 (and below) 1 09-24-2003 01:47 PM
load movie and "the" buttons srlem ActionScript 1.0 (and below) 2 11-28-2002 05:08 PM
Loading Jpegs from ouside flash Binbag Simple Stuff (Newbies) 4 05-29-2002 03:24 PM
Php, Javascript, and Flash 5 browser detect and more! Redline01 Server-Side Scripting 2 08-11-2001 02:09 AM
Print just one frame in all printable movie vantran ActionScript 1.0 (and below) 1 12-21-2000 07:20 AM


All times are GMT. The time now is 05:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.