ActionScript 2.0 :: Print A Mc Which Is Placed Into A SrollPane?
Sep 30, 2004I'm trying to print a mc which is placed into a srollPane. But flash prints not only my mc, but everything wich stands on the stage.
View 1 RepliesI'm trying to print a mc which is placed into a srollPane. But flash prints not only my mc, but everything wich stands on the stage.
View 1 RepliesI'm trying to print a mc which is placed into a srollPane. But flash prints not only my mc, but everything wich stands on the stage.
View 1 RepliesI have a scrollpanel that lives inside a movie clip both created dynamically.When I add the scrollpanel to movieclip without setting it's x and y properties it adds fine but is located to the far right. I would like to add the scroll panel with it's x and y properties offset from the movieclip such as
SP.x = mc.x + 20
Here's my problem whenever I change the X and Y properties either directly or using SP.move(x,y) the scroll panel disapears and I can't figure out why.[code]...
I was working on a little code in which I am inserting a few movieclips within a scroll pane and then user is able to drag stuff(a movieclip) from stage to the movieclips inside the srollpane.
[Code].....
I have a print button with this code in it:
Code:
var pj:PrintJob = new PrintJob();
var printOptions:PrintJobOptions = new PrintJobOptions();
[code].......
Is there any way to print the contents of a textfield or string using the pring command in AS?
View 2 RepliesI 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 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 Repliesi 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 Replies[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]...
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.
how do you set a print button so that it does no show up in the print out?
View 1 Replieshow 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 RepliesI'm doing a project on personality test. So different input user will have different result page. At the end of the program , i would like to have a print button to print the result of that particular person, however there are around 4 result page where 1 page will have a few instance in it.
View 6 RepliesI have a presentation file I need to print out are ther any utilities or functions within flash that will allow me to print to printer or PDF?
View 4 RepliesIs there a way to print all my ActionScript?
View 7 RepliesI am wondering if anyone know if I can make a print button and have it print just the frame I am on and NOT pop up the print dialog box? I just want to click the button and have it print my current frame.
View 6 RepliesI am new to actionscript and am working on a product configurator.It has been a very long and frustrating project (to keep my job.)I've searched for days for a solution so I thought I'd try here.I store all the user choices in variables (text and graphic movie frames.)At the end of the user choices, I want a print button to print these choices to their desktop printer.
View 3 RepliesIs it possible to alter this code to only print a certain area of my page?[code]...
View 1 RepliesI know trace() function can print information,but I must use flex builder environment.If I don't use flex builder,the trace function can't make function.I want to know if there is a statement can replace of trace(),because sometimes I need print information for debug and I don't want to use flex builder too.
View 3 RepliesI've set up an application to print the current state of the control I'm using (in this case an ArcGIS server map), but I'd like to set up a print function that uses it's own template to print rather than grabbing the state of the application.
I've attempted to do this by setting up a flex component that lays out the items I want to print and instantiating it when I call the FlexPrintJob. Unfortunately, simply instantiating it results in getting a blank green square.
There are two main questions about this that I'd like to put out there. First, what needs to be done to print a newly instantiated template rather than just grabbing already existing controls from the screen? Second, for more controls that need to load complicated data from multiple sources, like an ArcGIS map, is it possible to instantiate them in that kind of environment, or is there a way to take an image of the control in the application and print that?
Is there the way to print pdf document from flex?
View 3 RepliesThe stand-alone Flash player has an option to print a SWF. However, there is no shell action registered for this, and as far as I can see the only way to do it is to use a keyboard macro (or do something invasive such as inject a DLL in the player). Is there some official API for this?
View 1 RepliesIn my web app, I would like to print a web page via a real, physical printer using Flash.I want to do this so that typical page headers added by the browser (eg. the URL and "Page x of y") do not get added to the printout.Perhaps I could generate a PDF and pass it to the SWF, or perhaps I could just send raw HTML ann CSS to the SWF, and then I could call some .print() method via Javascript against the SWF. So, 1) is this possible? and 2) is there a library (on GitHub perhaps) somewhere that would let me do this?
View 1 RepliesDoes AS3 have a way to output the physical name of a key that has been pressed? (ie. "You pressed: Left Arrow")
The obvious solution is to convert the character code to a string, but this only works for things like the alphanumeric keys. Ctrl, Alt, etc have special cases, but this still doesn't help for things like the arrow keys or the F-keys.
Another possibly naive option is to have a Key, Value pair for all the keycodes and their names. It should be almost trivial (if tedious) to code this myself, but since AIR already has things like
KEYNAME_LEFTARROW : String = "Left"
I was wondering if this ability is already built in somewhere without having to keep my own collection of strings.
On ResultEvent through HTTPService, i need to print the result in a textBox.
private function google(evt:ResultEvent):void
{
Alert.show(evt.result.loginsuccess.person);
[Code]...
I want to add a print button in my flash. When user press the print button, it prints some data. Ideally getting rid off the print setup pop up box.
View 1 RepliesDoes anyone know a way to generate a print job that doesn't lose the movie clip filters (drop shadow, glow, etc.)
It seems to drop them regardless of whether printAsBitmap is true or false.
I want to print the whole page with scale to fit. My stage size is 1280x720. The below code prints only part of the page.
ActionScript Code:
function printImage() {
var myPrintJob:PrintJob = new PrintJob();
var result:Boolean = myPrintJob.start();
[Code].....