Print and Save buttons in AS2

This is a two part question:
I have a flash application that has multiple layers of movie clips with an image in the background and the ability to position other movieclips on top of that image. I want to be able to print just the area the background movieclip takes up, or more specifically, I do not want to print the interface of the application, just the images that was created in the SWF itself by the user.
Using this code from the Adobe actionscript dictionary gives me part of what I want, but how can I define an area to print rather than printing the whole swf?
on (release) {print("myMovie","bmovie");}
I'm guess the print area is specified by the bmovie, bframe, and bmax parameteres, but I'm not sure where or how I would go about setting those or which would be best for what I am trying to do.
The second part of my question is that I am looking have a save button to save the same area that the print button would be printing. I'm thinking of using a field for the user to enter a name into that will create a variable and then saving the file with the name of said variable. What code can be used to save and create this bitmap?

I see how a movieclip or a single level can be specified to print, but if multiple levels have been stacked can the stack of levels be printed?
For example, if level 1 contains the movieclip I want to have printed and level 2 has some vector drawings they created on top of the movieclip, can this print level 2 on top of level 1 as the user sees this on their screen and how do I do this?
Thanks

Similar Messages

  • Disable Print and Save button in tooldbar in AxAcroPDFLib.AxAcroPDF

    Hi,
    I am using AxAcroPDFLib.AxAcroPDF  to display pdf files in my C# winform application.
    I have a requirement now that for some documents alone i should disable the print and save button in the toolbar of my AxAcroPDFLib.AxAcroPDF window.
    I need the rest of the buttons in the toolbar to be working.
    Can someone please tell me how to disable these buttons in my c# code. What property i hsould set to my AxAcroPDFLib.AxAcroPDF object to make this happen.
    Hoping to get an answer soon.
    Thanks and Regards,
    Dinesh.N

    There is nothing you can do via the C# APIs to disable these buttons.

  • How to write code to print and save the output in my GUI?

    I had been searching on code to program print and save commands to print and save the output from the GUI but to no avail. Can someone help me?

    The output will be link from the previous GUI page. Hence the output is a page with Jtable and a button for print to print the information in the JTable.

  • How can you add your own print and export buttons to the CR viewer toolbar?

    I posted a previous question that was asking how to get around the Information Bar in IE7 when you export and print.  Unfortunately the CR viewer file download code gets blocked by IE7 because the buttons don't directly download the file.  However, I have been able to get a regular button that calls the following code and streams the file to the client and IE7 does not block it. 
    Sub PrintPDF(sender As Object, e As System.EventArgs)
         Dim crReportDocument as ReportDocument
         Dim crExportOptions as ExportOptions
         Dim crDiskFileDestinationOptions as DiskFileDestinationOptions
         Dim Fname as string
         CrReportDocument = New ReportDocument()
         CrReportDocument.Load(Server.MapPath("estactionlist.rpt"))
         Fname = Server.MapPath("./") & Session.SessionID.ToString & ".pdf"
         CrDiskFileDestinationOptions = New DiskFileDestinationOptions()
         CrDiskFileDestinationOptions.DiskFileName = FName
         CrExportOptions = crReportDocument.ExportOptions
         With crExportOptions
              .DestinationOptions = CrDiskFileDestinationOptions
              .ExportDestinationType = ExportDestinationType.DiskFile
              .ExportFormatType = ExportFormatType.PortableDocFormat
         End With
         CrReportDocument.Export()
         Response.ClearContent()
         Response.ClearHeaders()
                    Response.AddHeader("content-disposition", "attachment;filename=test.pdf")
                    Response.ContentType = "application/pdf"
                    Response.Charset = ""
                    Response.WriteFile(Fname)
                    Response.Flush()
         Response.Close()
         System.IO.File.Delete(Fname)
    End Sub
    So here are my questions?
    1. Is it possible to add a custom print control/icon to the CR viewer toolbar?
    2. If one is not possible, then is it possible to override the CR viewer print and export buttons with your own subroutines like the one above?
    I just want my page to look nice and hate to have print and export buttons outside of my CR viewer. 
    Thanks,
    Kevin

    It might be possible to replace the buttons in a windows app since you can retrieve the toolbar as a toolbar object in the winform viewer  ( ToolStrip toolBar = (ToolStrip) crystalReportViewer1.Controls[3]; )  however with a web app, it's a lot more difficult.
    The problem is that that you need to parse the Request string to try and figure out if the print / export button was clicked.  The code below makes the print button disappear if you click it, so you should be able to modify it to call your custom printing / exporting code instead  (You have to do this check in a postback)
            Dim I As Integer = 0
            If Request.Form.AllKeys.Length > 0 Then
                For I = 0 To Request.Form.AllKeys.Length - 1
                    Response.Write(Request.Form.Keys(I).ToString & "<BR>")
                    If Request.Form.Keys(I).ToString = "CrystalReportViewer2:_ctl2:_ctl2.x" Then
                        CrystalReportViewer2.HasPrintButton = False
                    End If
                Next
           End If
    Shawn

  • How to disable Save and SaveAs Button in Adobe Reader ??

    I am having Dynamic XML Form (XFA based) designed on LC Designer ES2
    I Want to disable Save and SaveAs button  whenever it would be opened in Adobe Reader only.
    Other way around, i want to provide only facility to save form programmatically through Javascript to apply validation.
    Plz help
    Thnx in advance..!!

    I can apply folder level java script ...But How to handle this way on CLIENT SIDE..???

  • How to hide the Print and Export button in analytics report or tasks pane

    Hi Experts,
    In BIEE 11g,
    How to hide the Print and Export button in analytics report or tasks pane ?
    For example:
    In console,I have created one userA which is belong to BIConsumer GROUP , when I make use of the highest user 'weblogic' to create one simple report, then the userA will login the analytivs to view this report (not dashboard), it will show the print and export as below.So customers do not want to give him the privilege for printing and exporting.
    In addtion, go to catalog->tasks(left corner), it will also show the print and export button. So how to hide or not access these button?
    Note: Maybe it can use the policy for consumer role for implementing this requirement, but I do not know how to modify the policy. Are you facing the problem? Thanks.

    Hi,
    1. Create seperate folder for Reports & Dashobard.
    2. For BI_Consumer (userA) set the catalog permission to view Dashboard Folder only and remove permission on the Report Folder (you can give traverse permission but don't give Open permision).
    3. By this user won't be able to open or run any reports in that folder and the only way he can see the reports is through Dashboard and on dashboard the export and print buttone can be removed very easily.
    Mark helpful if it helps.
    Regards,
    Kashi
    Edited by: K N Yadav on 24 May, 2013 1:51 AM

  • Chart - PREVIEW and SAVE buttons disabled.

    I am using BI Publisher Desktop with WORD 2007 on VISTA. When I attempt to add a chart to a rtf template, the PREVIEW and SAVE buttons are disabled. I can move data fields from the Data section into the Layout Section, select chart type, even the style. Everything appears to work just fine but I can not preview or save. The template file is not in any restricted folder. I can add a table, then save and preview the document just fine.
    I have even openned some of the samples that came with the download and when I view the properties on an existing chart, I see the same disabled buttons.

    Which menu path are you using?
    Are the items available for personalization?

  • Adobe Reader X:Recurring issues with print and save requiring reinstalls

    One of our staff has recurring issues with PDF print, view, save.  These issue are temporarily resolved by re-installing the Reader from the Adobe website.  No error messages are displayed - the functions just cease to work.  In the most recent iteration of the issue a document attached to an email could be saved (right mouse click, save as) within the email program but not within the Reader itself. 
    It appears that Reader is getting corrupted - but by what?  This individual does a lot of downloading of web published PDFs - a possible source but one I can't confirm. 
    Information on a permanent resolution or known cause would be greatly appreciated.

    Thanks v much Twilight - once I had posted the question I saw the same issues were posted by another.
    I'll try the print as image under the advanced print tab and see how I get on with that. Hopefully Adobe will bring out a fix soon.
    Thanks again.
    Cattswood

  • Archive and print and archive buttons not active

    I create a smartform and join it in sap. It is transection me9a.
    The problem when I run the program comes printpreview. There are two button that "Archive" and "Print and Archive". But they are not active. I wan to use them. What sould I do?

    Pass the below parameter to smartform function module,
    Ex,
    EXPORTING
                    control_parameters = control_param
                    output_options     = output_opt
    Check the below structure:
    data:  control_param    type ssfctrlop,
             output_opt       type ssfcompop.
      control_param-no_dialog = 'X'.
          control_param-preview = 'X'.
          control_param-getotf = ''.
          output_opt-tddest = 'LOCL'.
          output_opt-tdnoprint = 'X'.
    Similarly chack the other structure <b>ssfctrlop</b>
    Just a rough idea given above.
    Close the thread if your question is answered.
    Regards,
    SaiRam

  • Open a pdf with out print or save button

    Hello,
    Is there any way to open pdf with out using save or print and also make other users to not to open the file.
    thanks

    Hi,
    My understanding is that you have a PDF document in a document library and you want to open the PDF in one click.
    If my understanding is right, then you can set the default open behavior to ”open in the client application”.
    Also, please install the corresponding software to  the default program of opening the PDF.
    About making others not to open the file, you can set the Library permission for specific user to achieve it.
    Here is a detailed article for your reference:
    http://blogs.technet.com/b/officeasia/archive/2013/01/09/configure-sharepoint-server-to-open-office-documents-in-client-application-by-default.aspx
    https://support.office.microsoft.com/en-us/article/Manage-permissions-for-a-list-library-folder-document-or-list-item-9d13e7df-a770-4646-91ab-e3c117fcef45?CorrelationId=46b5ab40-7045-4790-96d1-159b8afbf672&ui=en-US&rs=en-001&ad=US
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • Creating and updating table in JSP Through ADD and SAVE button

    how do I create a table in JSP which has certain number of columns and rows. I have a button called "ADD", which when clicked should add the data I entered. How do I update and save the same?, if there are buttons called "SAVE" and "DELETE".

    Do u want to add it to the database or just in the JSP Cache???
    I think if you want to add to DB, take the subject offline.
    My Mail id is [email protected]

  • Publish and Save button is gone (blogs)

    I'm tring to publish my blog in Adobe Business Catalyst, and the "Save and Publish" button is gone. At the botton is just says Update, Save Draft, Preview, and Delete. Is there another way to publish it? Thanks!
    Danielle

    Hey Danielle,
    Save and publish is gone, it is update now.
    Just re-wording which BC is tring to make consistant throughout the User Interface.

  • "Send and Save" button in trips and travel expenses

    hello guru's.
    i have a problem
    i implemented in my SAP portal the Travel Management package.
    I have a problem
    in travel expenses iview, you arrive in last step you can Save and Send the data.
    But the user can push this button more time!!! so manager can receive many time this data and this is not correct!!
    there are a way for fix this problem??
    thanks
    Alex

    I am having a problem with the buttons "Save"and "Save and Send to Approval".
    The users are choosing "Save" instead of "Save and Send to Approval" and then the trip does not go to the approval step.
    It is creating many problems and we need to hide this option "Send", just displaying to user the option "Save and Send to Approval".
    Anyone knows if have a standard solution for this case?
    Thanks,
    Thiago

  • Can i connect to a 'belkin USB Hub' so i can print and save images direct from my ipad 2..

    I have just bought a 'Belkin USB Hub' so that i can have my printer and external hard drive in a home office rather than carting them around the house or having to sit in my back room when i want to print from my mac lap top, works fine , but my question is, is it possible to connect my ipad 2 to the hub so i can edit and print directly from that rather than having to re-sync to my laptop.

    The only solution to enable printing with the iPad is via WiFi or by using one of the HP AirPrint compatible printers.
    AirPrint-enabled printers
    HP Envy e-All-in-One series (D410a)
    HP Photosmart Plus e-AiO (B210a)
    HP Photosmart Premium e-AiO (C310a)
    HP Photosmart Premium Fax e-AiO (C410a)
    HP Photosmart e-AiO (D110)
    HP Photosmart eStation (C510)
    HP LaserJet P1102w Printer
    HP LaserJet P1606dn Printer
    HP LaserJet Pro CP1025nw Color Printer
    HP LaserJet Pro M1212nf MFP
    HP LaserJet Pro M1213nf MFP
    HP LaserJet Pro M1214nfh MFP
    HP LaserJet Pro M1216nfh MFP
    HP LaserJet Pro M1217nfw MFP
    HP LaserJet Pro M1536dnf Multifunction Printer
    HP LaserJet Pro CM1415fn Color Multifunction Printer
    HP LaserJet Pro CM1415fnw Color Multifunction Printer
    HP LaserJet Pro CP1525n Color Printer
    HP LaserJet Pro CP1525nw Color Printer
    HP Officejet 6500A e-AiO
    HP Officejet 6500A Plus e-AiO
    HP Officejet 7500A Wide Format e-AiO
    HP Officejet Pro 8500A e-AiO
    HP Officejet Pro 8500A Premium e-AiO
    HP Officejet Pro 8500A Plus e-AiO
    If you don't own of these printers you will need a third party app that will allow you to print. Print n Share, Print Central, and others are available in the App Store. Some of these apps will work only if your computer is turned on and may need a helper app for the computer as well. if you have a Mac you can use Printopia. The computer must be on for this app as well. Print Magic has been mentioned on this site a few times. Google or check the App Store.

  • How to disable print and download button of pdf file when i am opening mozila firefox using java script

    i am opening pdf file in firefox browser in right side i am seeing print and download option
    i want to disable it by program like javascript, by manualy i can disable it ,
    actually i am opening pdf file in my website by using firefox browser so i do not want to any can download or print the pdf file

    If it's that critical, you could explore this partial workaround:
    Use a script or configuration file on your server that changes the disposition based on the user agent. In other words, for Firefox, send an attachment disposition that forces a download outside the browser instead of the default (inline) disposition that allows Firefox to display the PDF in a tab.
    Now... that won't stop the user from dragging and dropping the downloaded file on a Firefox tab to use the built-in PDF viewer, but most users would tend to open the file in their default viewer (e.g., stand-alone Adobe Reader).

Maybe you are looking for

  • Multiple Apple IDs with one email address?

    I want to set up an iTunes account for my son in order to keep his music and apps separate from mine.  But I want to keep it under my email address and credit card.  Can you have more than one iTunes account on one email address?  If so, do I just cr

  • JDBC--XI---ABAP Proxy

    Dear Experts, I have a scenario from DB system I am given a stored procedure that gives me the contents for creating sales orders in SAP ECC system. Now I have written a ABAP proxy code, internally I have used BAPI for sales order creation,  the sale

  • Password Protected Zip Files

    i have recieved a number of password protected zip files which the unzip utility in osx leopard will not open. (i have the correct password). i've downloaded a couple of smallish utilities from the download area but they don't seem to be able to acce

  • SWF not playing in PDF

    Hello , I am using FM11 with Windows 7. When I import a SWF in to Framemaker, it plays fine. When I print to PDF, the SWF just appears as an image. This is true if I Import By Reference or Copy Into Document.  The Embeded Adobe Flash files in PDF pre

  • ADE 2.0 stopped working (won't download library books to ADE on Windows computer for Kobo

    I've used ADE to download e-books from my public library onto my Kobo for over a year now but for a week now I haven't been able to.  When I open the library book, select 'download' and it opens  ADE but it is a totally blank page (there should be se