ActionScript 3.0 :: Method To Disable The Print Screen Button?
Jul 9, 2010Is 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 RepliesIs 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 Repliescan i make a print screen button in flash? but i dont the button to print all screen.. just some place that i set to print screen..
View 2 RepliesHow can I make a action script controlled print screen that will save a part of a screen And can I filter a color out of it (so that only that one color will NOT be visible on the saved img) with AS
View 3 Repliesi want to user print screen command in AS3 and convert into bitmap as background in fullscreen i.e.
print screen from keyboard - keycode i.e. 44 [URL]
i want to know how can i run printscreen code from flash to capture user screen as i want to have flash presentation in 600x600px with disabled desktop and flash presentation should be in center of screen.
Quote:
import flash.system.fscommand;
stage.showDefaultContextMenu = false;
stage.scaleMode = StageScaleMode.NO_SCALE;
fscommand("fullscreen", "true");
[Code].....
I have a print button with this code in it:
Code:
var pj:PrintJob = new PrintJob();
var printOptions:PrintJobOptions = new PrintJobOptions();
[code].......
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].....
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 RepliesI 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 Replieshow do you set a print button so that it does no show up in the print out?
View 1 RepliesI 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.
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 RepliesAnd also is there a way to print a part of flash contents of maybe entirely compose the stuff (image that is) you give to printer.In my case i have a flash in which contains to pictures (basicaly even and odd page of a book) and other stuff. I want to add printing functionality. Also i want user to be able to choose what to print - whole flash, both pages or just one of them
View 2 RepliesI want to print the screen using bitMapData.
var bmd:BitmapData=new BitmapData(700,500,true,0xFFFFFFFF);
//draw the bitmapData from the captureContainer to the bitmapData object;
bmd.draw(stage, new Matrix(), null, null, null, false );
I have it working but the image being drawn starts from the Top Left of the stage I need it to start x 15 and y 80 is there a way to do this? Ive tried bmd.scroll(15,80) but it just make the image look funny.
I want to print variables onto the screen of my game. I am using text boxes to display the variables. When I try update the text boxes, the text boxes are blank.
I use an EventListener to update the text boxes:
// Add the EventListener that updates the game HUD
addEventListener(Event.ENTER_FRAME, updateHUD);
[code].....
First, when i print my movie(properties 760 x 520) it is very small on paper. How can i make it fit the paper?
Second, how can i only print the current frame or what is on the screen from flash?
Why this code doesn't print anything in the screen?
var ball:Ball = new Ball();
ball.x = 300;
ball.y = 300;
addChild(ball);
I have in the library a Movie Clip with the name "Ball" and the class name "Ball".
Say I want to print a summation or integral on the screen. Is there some kind of API I can use to do this? Or do I have to import images?
View 1 RepliesIs there a way to Get the print screen image from the keyboard. Say for example I had a image hosting site and wanted a feature where users could paste in an image and simply host it that way. would that be possible? EDIT: Would it be possible with some sort of third party plugin? Are there any existing Firefox plugins which do something similar?
View 6 Repliesgot a touch screen project that runs full screenwith scaling (so the same project can also be disributed on CD andweb without manually resizing everything). Full screen is invokedby:if (runMode=="touch") {fscommand("fullscreen","true")};When the user prints the player is knocked out of full screenmode. I can put it back into full screen mode butunsightly and a potential security issue to have access to thedesktop while the kiosk is running. Does anyone know how to keepthe player in full screen mode? I know it can be done,got a sample from the client (AS2, my project is AS3) that runsfull screen without scaling and the print dialog floats nicely overthe stage without dropping out of full screen mode.
View 1 RepliesI am trying to print a HTML from my air app, however, this HTML should never be seen on screen. I am using HTMLLoader for this, as per some sample I saw on the web.
What happens, is that there is a print dialog, but it prints out a blank page.
If this is a window application, and I click some button to print (just the HTMLLoader) it gets printed.
Following is my code.
var mySprite:Sprite = new mySprite()
var loader:HTMLLoader = new HTMLLoader()
loader.loadString("ADDRESSThu Aug 20 21:37:20 GMT+0530 2009")
[Code].....
I am developing a small flash application.In my application users should be able to drag different elements from a toolbox into a canvas.At some point a user will be able to save the different elements he dragged as a picture.I wanted to know if there is a functionality that prints the screen in flash.
View 1 Repliesis there anyway to bypass the print dialog box while using printJob.Start() method? is there anyway to set desired value for page orientation from the script.
View 0 RepliesIn my project i need to add a button to print. When i press that button i need to print the current screen(or frame).
View 1 RepliesI have a several chart components that I have created in Flex. Basically I have set up a special UI that allows the user to select which of these charts they want to print. When they press the print button each of the selected charts is created dynamically then added to a container. Then I send this container off to FlexPrintJob.
i.e.
private function prePrint():void
{
var printSelection:Box = new Box();
[Code]....
I have seen some examples on the adobe site that add the container to the application but don't include it in the layout. This looks like the way to go.
i.e.
printSelection.includeInLayout = false;
addChild(printSelection);
I want to drag a object using a animated hend (MovieClip) and drop it in a holes. I cannot use dropTarget method to this because when i trace(object.dropTargat.parent.name) output shows "hend" only.
View 3 RepliesI have created an application in which i need to input text . But if i run the swf in full screen mode it disable s the input typing functionality.
Is there any way so that i can disable the fullscreen functionality when i press ctrl+F or change it to normal mode even if I press ctrl+F.
I am working on a little android app which i use Flash Builder4.5. what i want to do is when app is loading something, i'd like to disable the touch-screen,or anything similar to that.
View 1 RepliesSo you are in the menu screen of a game and you press a button to enter a level code. A pop-up menu is created that asks for the level code.
In a situation like this, how can I prevent you from clicking the "start game button" or the "options button" or whatever when this level code pop up is on the screen?
Would I have to temporarily remove all the listeners for the other buttons? That sounds like it would work, but it would require a lot of maintenance, especially if there are a lot of buttons on this menu screen.
There are a three public variable
[Code]...
when application goes into full-scree mode, "press ESC to exit full-screen"(or something alike) label is appeared. Is it possible to disable it?
View 1 Replies