ActionScript 2.0 :: Way To Disable Print Function

Feb 16, 2005

I have a small client that needs to put information into Flash and prevent people from printing the document out on their printers.

Of course, you can always print anything you see on your monitor (Print Screen and other apps), but I am only concerned with preventing users from printing from 1) any browser and 2) from the Flash contextual menu.

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Disable Print Sceen Option Through Flash?

Aug 10, 2009

I m trying to disable print screen option in my website. I tried various java scripts but nothing seems to work. Then i come across few blogs where they have shown 'how to disable print screen by Flash'.

View 1 Replies

ActionScript 3.0 :: Method To Disable The Print Screen Button?

Jul 9, 2010

Is there a method to disable the print screen button, for example bring up an error box explaining it's disabled, instead of taking a print screen?

View 2 Replies

ActionScript 3.0 :: Disable RollOut Function On Movieclips On Click Function?

Sep 13, 2009

I'm doing a basic site with frame labels on the main timeline whose name corresponds to the btn names. A simple  otoAndPlay(evt.target.name); I have a basic navigation setup of 7 mcs with mouse eventlisteners for CLICK, ROLL_OVER and ROLL_OUT.
 
Example:
prepare.addEventListener(MouseEvent.CLICK, navigate);plans.addEventListener(MouseEvent.CLICK, navigate);retire.addEventListener(MouseEvent.CLICK,

[Code]....
 
Does anyone know a better way to do this so when my mcs are clicked they display the rollover content/art? In essence I'm trying to achieve that when the user clicks a btn it goes to that "page" and the corresponding btn stays highlighted. Pretty standard web navigation technique but I just don't know what the best way to do this in flash is and with  how my site is setup.

View 1 Replies

Add Print Function To A Coloring Book?

Mar 6, 2009

How can i add a print function to a particular page for a coloring book?

View 2 Replies

ActionScript 3.0 :: Disable Ctrl+c Function And Cutomize This For Own Function?

Sep 14, 2011

hi,is there disable ctrl+c function? and cutomize this for own function

View 4 Replies

ActionScript 2.0 :: Print Function, Clearing Variables?

Oct 2, 2009

I'm using this code

Code:
on (click) {
var x = 1;
print(x,"bmovie");
}

To print out the current page as displayed on the screen. The command works great, but when the button is pressed all of my variables seem to be reset, along with various combo boxes.The print function works as intended except clearing all my values .Is there a way around this?

Edit: I just ran a small test on a blank .fla with 3 buttons 1 - set variable = 1, 2 - trace variable, 3 - my print code

This does not clear the variables like it does in my application.What exactly goes on during the print function? If I can isolate and trace the problem, I could find a fix for it, but I have no idea whats going on.

View 1 Replies

ActionScript 3.0 :: Trigger A Print Function Via Flash?

Dec 27, 2010

There is an output that fits in A4 papersize with a resolution of 827x1169px. I trigger a print function via Flash AS3


[code]...

But the printout does not fit on A4 paper size (it tries to print larger and can see only a small portion on the paper). How can I arrange this with AS3?

View 1 Replies

ActionScript 2.0 :: Apply A Print Function To A Button?

Sep 27, 2004

how to apply a print function to a button, i have search through the script directory and this was all I could come up with?

on (press) {
printAsBitmapNum(_root.order, "bmovie");
}

order is the name of the movie clip. what i need is to be able to print the screen from the position where the button is situated??

This script does not print: i have played around with the settings in normal mode but there is no response from my printer.

View 3 Replies

ActionScript 2.0 :: [MX2004] Use The Print Function In A Button?

Mar 11, 2005

I'm trying to use the print function in a button, a.s. below:

on(press){
print(_root.instance_1, "bframe");
}

This works fine...the mc "instance_1" is the only thing that prints. The problem is that I need to print 2 movieclips at once. So I have tried the following:

on(press){
print(_root.instance_1+_root.instance_2, "bframe");
}
on(press){

[code]....

None of these work though, the entire movie prints instead.

View 1 Replies

Php :: Taking Data From Only One Print Function In A Php Page And Passing To Flash?

Aug 5, 2011

I'm trying to take a variable from a php page and send it to flash to then use in a link.I'm having problems just selecting ONE variable from the print function, the code will help explain:

PHP page

<?
print"fbook=facebook";
print"tweet=twitter-test";[code]....

It collects all the data fine but it does not print it out correctly, it prints out all the variables in the php in one link. For example: If i click the facebook icon, i will be taken to http:[url].... This also happens with the other icons (Youtube and Twitter).

View 2 Replies

ActionScript 3.0 :: IE Print Button Gets Around Print Movie Clip With Alpha?

Aug 24, 2010

I have a print button with this code in it:

Code:
var pj:PrintJob = new PrintJob();
var printOptions:PrintJobOptions = new PrintJobOptions();

[code].......

View 1 Replies

ActionScript 2.0 :: Print The Contents Of A Textfield Or String Using The Print Command?

Mar 16, 2004

Is there any way to print the contents of a textfield or string using the pring command in AS?

View 2 Replies

ActionScript 3.0 :: Create A Print Button To Print One Frame?

Jan 3, 2012

I am trying to create a print button on the last frame that will allow the user to print just that frame. I've tried using the printjob object, but all that I can get to happen is print a blank sheet of paper. Here is the code that I have so far:

function printScore(event:MouseEvent):void
{
var printJob:PrintJob = new PrintJob();

[code].....

View 1 Replies

Print From Flex App By Clicking Print In Context Menu?

Jul 5, 2011

I want my flex 4 application to print proper picture when I click on print in context menu of Adobe Flash Player.Is it possible?

View 1 Replies

ActionScript 2.0 :: Print MovieClips When Press A Print Button

Jun 5, 2007

i want to simply print 2 movieClips when i press a Print button. so i have the "_root.container_mc" and "_root.logo_mc"... paste the simplest code for printing a "landscape" page with these 2?

View 3 Replies

ActionScript 2.0 :: Make A Print Button That Will Print The Contents Of A Mc?

Jan 14, 2008

I am trying to make a print button that will print the contents of a mc...this mc basically holds a dynamically drawn floorplan which can be zoomed and panned...I want to be able to print the contents of the mc, and only what is viewable in the mc at the time of the print...so if you are zoomed in, all that prints are the actual objects visibly seen in the mc...I think it may be with the print command using bmovie but I have no idea how to assign a #b lable to the frame.

View 3 Replies

ActionScript 2.0 :: Print Section And Then Check Out The Print Pieces?

Jul 15, 2004

[Code]... and go to the print section and then check out the print pieces. for some reason my resizing gallery movie is doing some weird stuff and i cant figure out how to fix it. my actionscript goes like this :

[Code]...

View 4 Replies

ActionScript 3.0 :: Unable To Print More Than 5 Pages In One Print Job?

Dec 19, 2008

I am not able to print more than 5 pages in one go. I want to print almost 12 pages in one print job. I am creating the movieclips of each page by adding the dynamic data in to it and store in an array. When all the movieclips created and stored in an array(pagesAry) then it call the following function to print those pages:

private function sendToPrinter():void
{
pj = new PrintJob();
try

[code]....

Getting error: Print job canceled as it took more than 15 seconds to complete.

View 5 Replies

ActionScript 2.0 :: Print Button Shows Up On Print Out?

Jul 19, 2005

how do you set a print button so that it does no show up in the print out?

View 1 Replies

ActionScript 3.0 :: Way To Disable A Function

Aug 6, 2009

I've got a project that consists of a main SWF that pulls external SWFS via an XML document. Within the main SWF are the navigation controls (i.e. next button and back button). When the next button is pressed, it pulls up the 'next' external SWF called in the XML file. When the back button is pressed, it pulls up the 'previous' external SWF called in the XML file.

The external SWF pages contain different interactions (i.e. drag and drop, multiple choice exercises, etc). Is it possible to disable the next button until the user completes these exercises?

If the navigation buttons were contained within the individual external SWFS, I know how I could make this work, but the XML setup has me confused. My only thought is using the Timer class, but that doesn't ensure the interaction is complete; rather, it just means the next button won't work for x amount of time.

View 3 Replies

Disable Certain Button Function?

Mar 15, 2010

I have a button that when you roll over it a big window pops up, but then when you click on it, it pops the window up again, now its not a problem but i would like to know if i can disable the click function somehow. so that only the roll over works.

I know you can probably use a movie clip and just tell it with actionscript to load when rolled over, but i don't know how

View 2 Replies

ActionScript 3.0 :: Disable A Function?

Dec 21, 2010

I am currently have this script on frame 5, AS3:

var timer:Timer = new Timer (2000,45);
timer.addEventListener(TimerEvent.TIMER, timerFunction);
timer.start();

[code].....

View 3 Replies

ActionScript 3.0 :: Cant Disable Button By Function?

Sep 23, 2009

[code]How come I cant disable the button by this function?

View 1 Replies

ActionScript 2.0 :: Disable StopAllSounds Function?

Nov 23, 2009

i have a music player in my shell that plays background music. In swf files that are embeded (two layers in) I have videos playing.i want to make a button that stops the background music. Its too hard to communicate with the music player which is many layers away so i think i should use stopAllSounds.However, after i press it, it also disables the videos. how do i disable the stop sounds function, so that I can play videos, without turning the background music back on?

View 1 Replies

ActionScript 3.0 :: Disable Function And Then Enable?

Sep 3, 2011

I have two functions, I need one that of them at the start would be disabled and after decent amount of time or when x = 1000, function would be enabled and become active. How can I do that?

View 1 Replies

ActionScript 3.0 :: Make A Function Disable?

Oct 13, 2010

I have a movie clip and i and coding here[code]...

is there any way i can make this type of function ,like true on and off ? i dont wanted to use removeEventListener

some kind like Move="true" pX=20 if Move="false" pX=0

View 4 Replies

ActionScript 2.0 :: How To Disable Function On Right Click

May 9, 2006

How I can make it so when the right click is pressed the zoom in/out 100% quality and all that does not show.

View 12 Replies

ActionScript 2.0 :: Print Entire Page But When Text File Is Scrollable It Doesn't Print Whole Text?

Jul 14, 2005

how do I go about printing entire, scrollable text area in flash movie, I know how to print entire page but when text file is scrollable it doesn't print whole text.

View 8 Replies

ActionScript 1/2 :: Stop/disable CreateEmptyMovieClip Function

Sep 2, 2009

I am designing a graph to allow line drawing. After the user draws the line, they will drag words (movieclips) from a menu onto to the graph. I am not able to turn of the line drawing function, so when the words are dragged another line is created. I tried to turn off the line drawing onRollOver of the word with no luck. Here is what I'm doing.
 
Draw line function:
 
var isDown:Boolean = false;var xPos1:Number;var yPos1:Number;var xPos2:Number;var yPos2:Number;
_root.onMouseDown = function() {

[Code]....

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved