Make a screenshot from a panel?

Hi,
is it possible to make a screenshot from a panel? And save it
in some object?

yevgen_78,
Flex 3 has an ImageSnapshot class which may do what you need.
For more information, see
http://livedocs.adobe.com/labs/flex3/langref/mx/graphics/ImageSnapshot.html
Also, there are a few random examples at
http://blog.flexexamples.com/category/imagesnapshot/
which may give you some ideas.
As for saving the pixels, you would probably need to send the
raw image data to a server side script (ColdFusion, PHP, ASP, etc)
to save it to a file.
Hope that helps,
Peter

Similar Messages

  • How can I make a backup from my Macbook Pro?

    How can I make a backup from my Macbook Pro?

    Basic Backup
    For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
    1. A Time Machine preferences panel as part of System Preferences;
    2. A Time Machine application located in the Applications folder. It is
         used to manage backups and to restore backups. Time Machine
         requires a backup drive that is at least twice the capacity of the
         drive being backed up.
    See Mac Basics- Time Machine. Please visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Although you can buy a complete external drive system, you can also put one together if you are so inclined.  It's relatively easy and only requires a Phillips head screwdriver (typically.)  You can purchase hard drives separately.  This gives you an opportunity to shop for the best prices on a hard drive of your choice.  Reliable brands include Seagate, Hitachi, Western Digital, Toshiba, and Fujitsu.  You can find reviews and benchmarks on many drives at Storage Review.
    Enclosures for FireWire and USB are readily available.  You can find only FireWire enclosures, only USB enclosures, and enclosures that feature multiple ports.  I would stress getting enclosures that use the Oxford chipsets especially for Firewire drives (911, 921, 922, for example.)  You can find enclosures at places such as;
      1. Cool Drives
      2. OWC
      3. WiebeTech
      4. Firewire Direct
      5. California Drives
      6. NewEgg
    All you need do is remove a case cover, mount the hard drive in the enclosure and connect the cables, then re-attach the case cover.  Usually the only tool required is a small or medium Phillips screwdriver.

  • Make an iView from MDM Web Dynpro Component

    Hello!
    I have read documentation about configuration of MDM WD Component.
    What I have found - MDM WD Components are used as standalone application and inside BPM.
    But what about iView?
    How to make an iVIew from MDM WD Component and to link it with Configration? Is it possible to use Application Parameters property?

    I have experimenting with MDM WD Components and what I have found that my approach don't work
    It is not possible to work with MDM WD Components like old MDM Portal Content because there is no client events.
    But is possible to create WD application wrapper for each layout (portal page) and configure it by iView property - Application parameters.
    For example wrapper for layout - Search panel on the left, another search panel, result set and item details on the right.
    I have a question for all:
    What doy you think is there a need to request SAP to include such wrappers into SCA file with MDM WD Components?

  • Tolerance dialogue missing on "make work path from selection"

    I am trying to convert a 1-color drawing to a path so I can put it into Illustrator. I use the magic wand to select the edges and get a nice tight fit. But when I select the "Make work path from selection" button, I get a sloppy fit. I've looked this up, and supposedly I should get a dialogue box asking me to state the tolerance. I have never seen that box - I've tried it and had colleagues come try it. My version 13.1.2 x64. Seems like a bug to me, but maybe I'm missing something. Is there another way to do this? Thank.s

    R_Kelly wrote:
    If you press the Alt/Option key while pressing the Make work path from selection button, then you'll get the Tolerance dialog.
    Other ways are to right click inside the selection and choose Make Work Path or use the flyout menu from the Paths panel and choose Make Work Path.
    Hah!  I didn't know that RK
    [EDIT]  As an aside to the above information, having had a play with it, I have realised how poorly the 'Make work path from selection' feature works in Photoshop.  It has always worried me that distibution of points that result from using that feature on a Shift drag eliptical marquee circle, appear less than optimal, but I have just lived with that because it is quick and convenient.  But having just looked again, zooming right in and activating the point handles, the curve is just plain horrible!
    Me thinks I shall take the time to do it properly in future, by using the Shape tool.
    It also amazed me how many points were used when setting tolerance to the minimum of .5
    Anyway...  I am not getting my work done here, so time to earn a living

  • How do I drag an image icon or image from one panel to another panel?

    Please help.
    I know to need how to drag an image icon from one panel to the other. For example, the first panel would shows the image files that is inside my folder. How can i code it so that I can drag the image that appear on the first panel into the second panel which will hold the images that I want to embed my barcode inside?
    The thumbnail size of the image and showing all the image files in my folder was done already, I only need to know how can I make the image icon to be able to drag from one panel to the other.
    Thanks.

    I found this code in some websites:
    public class ImageSelection extends TransferHandler {
         private static final DataFlavor flavors[] = {DataFlavor.imageFlavor};
         public int getSourceActions(JComponent c) {
              return TransferHandler.COPY;
         public boolean canImport(JComponent comp, DataFlavor flavor[]){
              if (!(comp instanceof JLabel)){
                   return false;
              for (int i=0, n=flavor.length; i<n; i++){
                   for (int j=0, m=flavors.length; j<m; j++){
                        if (flavor.equals(flavors[j])){
                             return true;
              return false;
         public Transferable createTransferable(JComponent comp) {
              if (comp instanceof JLabel) {
                   JLabel label = (JLabel)comp;
                   Icon icon = label.getIcon();
                   if (icon instanceof ImageIcon){
                        final Image image = ((ImageIcon)icon).getImage();
                        final JLabel source = label;
                        Transferable transferable = new Transferable(){
                             public Object getTransferData(DataFlavor flavor){
                                  if (isDataFlavorSupported(flavor)){
                                       return image;
                                  return null;
                             public DataFlavor[] getTransferDataFlavors(){
                                  return flavors;
                             public boolean isDataFlavorSupported(DataFlavor flavor){
                                  return flavor.equals(DataFlavor.imageFlavor);
                        return transferable;
              return null;
         public boolean importData(JComponent comp, Transferable t){
              if (comp instanceof JLabel){
                   JLabel label = (JLabel)comp;
                   if (t.isDataFlavorSupported(flavors[0])){
                        try {
                             Image image = (Image)t.getTransferData(flavors[0]);
                             ImageIcon icon = new ImageIcon(image);
                             label.setIcon(icon);
                             return true;
                        catch (UnsupportedFlavorException ignored){
                        catch (IOException ignored) {
              return false;
    What this codes does is to get the image from the imageicon and replace the image to the imageicon that you drag the source from. However, I had no clue how I can get the source's file name. Anyone can teach me how?
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Drag layers from layers panel to document tab

    On this page http://www.photoshopuser.com/cs5/cs5-features I have read that Adobe finally have implemented "Drag a layer from Layers panel to another open document tab". Is this true, cause I can't make it work? I can do that in floated windows interface but in tabed it's not possible (as in CS4).
    Can somebody from Adobe confirm this please?

    I had the same problem when I first got it....called tech support as I was used to minimizing the windows to add a new layer...drag...drop....simple with CS3.....then it seemed they were locked together.
    I did the floating windows thing too....but, that seemed unreasonable on every layer....even though it says "all windows"...it didn't seem to work.  THEN, I found out that all you have to do is drag one layer apart from the other and then drag and drop!  I liked the old way better, but hey...it works!!! 
    Sure hope this helps you!
    Kathi

  • Make a symbol from a photo

    Doug Katz mentioned that one can make a symbol from a photo.  Could you give details as to how to do this... to a real novice.  I have made the symbol, but when I try to place it on a perspective grid, it keeps telling me to "expand" the symbol, which I do, but still get the same message.  Maybe it isn't possible to place a photo-symbol on a perspective grid? Thanks for any help

    To elaborate you can also select and drag the embedded image into the Symbols Panel and that will make it a symbol as well.
    In either case you will be confronted with a dialog of options if you are not exporting the symbol to Flash it does and just using it as art fro an Illustration file then it does not matter whether it is a graphic or movie symbol and for an image I cannot think of a reason to use nine slice scaling or if it even works with an image so leave it unchecked and being a novice you might also want to at this time leave align to pixel grid unchecked as well.
    Depending on how you are sing the symbols, if it is other than mapping to a 3D object you might want to explore the symbol tools in the tools panel which allows you to some degree to alter a symbol instances or instances without effecting the original symbol or other instances of the symbol.

  • Moving Fields from left panel to right panel

    Hello All
    I am involved in configuring web ui screens. I want to actually move captions and fields from left panel ( Colums A-H) to Right Panel ( Colums I-P). When I go into field properties, it;s not giving me the option to enter colums from right panel.
    Or show me how to do this
    Please reply asap Gurus
    Thanks

    Hi,
    Please follow below steps:
    1. Go to config tab
    2. Choose the right config.
    3. Go to edit mode.
    4, Display available fields.
    5. you can see two blocks now. One with available fields and other with your displayed fields.
    6. In your displayed fields block you can see two buttons in top left corner (right above A column). One with plus sign and other with minus. Similarly you can see two buttons on top right corner( right above P column) of your displayed fields block.
    7. select a field you want to move from displayed columns by clicking on it. Click on minus button on top( the one above A). Now this field would be moved to available fields under its context node. Locate the field there.
    8.Select the field on Available fields block and then click on 'plus' button on right side( one above P).
    Your field would be moved to Right side.
    Also you can click on a field and click on show properties button and directly mention the column where you want this field to appear( Make sure you are edit mode so that you can change the column names). Also while doing this please make sure the columns you are entering are not occupied by other field.
    Hope that helps.
    Regards,
    BJ

  • Unable to open dolby digital from control panel in G510

    Hi ,
    When i try to open the dolby digital from contol panel i get this error.
    in lenovo g510
    Solved!
    Go to Solution.

    hi shanalikhan,
    The error on the screenshot that you posted usually happens if the version of the audio driver and the dolby digital driver are different. Both of them must use the same driver in order for them to work correctly.
    Try to:
    1. Press the Windows key‌ +R, type appwiz.cpl.msc and press Enter. On the list of installed programs, remove anything that relates toRealtek Audio Driver and Dolby (reboot if necessary).
    2. Delete the C:\Drivers folder Install this audio driver (windows 8 version).
    Audio Driver (Conexant, Realtek) for 64-bit Windows
    3. Open Device Manager > Sound, video, and game controllers and check if the High Definition Audio becomes Realtek High Definition Audio or Conexant High Definition Audio (this indicates that the sound driver is installed properly).
    When the audio driver is properly installed, install the DolbyAdvancedAudio and the DolbyHomeTheater from the following path:
    For Realtek:
    C:\Drivers\Audio\Realtek\6.0.1.6957\PCEE4
    For Conexant:
    C:\Drivers\Audio\Conexant\8.64.49.0\DolbyGUI
    - Link to picture
    More info:
    Dolby Audio driver cannot start after upgrading to Windows 8.1
    Let me know how it goes.
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Embedded youtube videos from accordion panel

    I'm trying to get embedded youtube videos to pop in from accordion panel
    the accordion panel would have the 'titles' with descriptions displayed when clicked on, and there in the description would be a link to make the embedded youtube clip appear beside the panel.
    go to each accordion panel selection and get a different embedded video to play.
    anybody know if that can be done and how ?

    Thank you for the suggestion,
    I already did try that, but didn't work.
    However after watching your swf, I figured out I must have had the wrong 'aspects' active when I was putting my embedded code in, so the results were all over the place.
    So I tried it again by your steps, and it does work, -- thankyou !  -- except for one thing.
    If the watcher does not finish or stop or pause one video before playing another, both videos are playing, even though one of them is 'hidden' in the closed panel, which is ok if there's no audio, however if they both have audio, the audio track of both play back.
    Darn, I don't think most people would realize if they don't finish a video before watching another, they have to manually stop the currently playing video before playing another.
    Even if I was to include instructions to say so.  :-(

  • We try to unistall from control panel or helper folder and nothing happens. What are the next step.

    We want to upgrade Mozila to a new version. When we try to upgrade from your web site, nothing happens.
    When we follow your recommendation to unistall the program from control panel or helper folder, the folder doesn't open.
    we need to force the unistall to upgrade the new version.
    Thanks for your advice.
    Julio

    I had the same issue. To resolve it, I:
    1. Backed up my bookmarks to my desktop;
    2. Deleted the Mozilla Firefox folder (in the C:\Program Files folder).
    3. Reinstalled Firefox
    4. Uninstalled Firefox (to make sure any registry entries that may have been causing problems were removed)
    5. Reinstalled Firefox again
    6. Imported bookmarks.
    7. OPTIONAL: Reinstall any add-ons I regularly use
    I no longer have the problems with slow performance or websites hanging that I had after originally upgrading to Firefox 7.
    Obviously if you just want to uninstall, you only need to do steps 2 through 4. I wanted to continue using Firefox and was just trying to resolve the issues I was having browsing the web since upgrading to 7.

  • A problem with copy/paste from extract panel in Dreamweaver 2014.1.1

    I have a problem with copy/paste from extract panel in Dreamweaver 2014.1.1 :
    Russian letters pasting in dreamweaver html in such way:  ffd0 ff9e  ffd0 ff9a ffd0 ff9e ffd0 ff9c ffd0 ff9f ffd0 ff90 ffd0 ff9d ffd0 ff98 ffd0 ff98
    Can you help? What could it be?

    Hi,
    I test the issue with my colleague and didn't find the same issue.
    Here is the screenshot:
    So please check if Lync Server 2013 and all the issued Lync 2013 client update to the latest version firstly, it not update to the latest version, update it and then test again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • HT1918 I'm unable to make iTune purchases from my phone using my iTune gift card

    I'm unable to make iTune purchases from my phone using my iTune gift card, the gift card information is entered on the phone and I can see the credit amount.

    I am having the same problem and it is REALLY frustrating.
    Exact setup that you have, COMCAST, PayPal, etc....
    I have reviewed my account three times with my PayPal info and received confirmation from my PayPal Account but it still won't let me log in. Let me know if you hear anything.
    This is a REAL PAIN.
    Andy

  • I'm trying to make a cd from my itunes. I get error message "cannot be used because it is not recognized.

    I'm trying to make a cd from my itunes. I get error message "cannot be used because it is not recognized.

    I just figured it out. All I had to do was close out of iTunes then restart.

  • How can I make a call from iPad

    How can I make a call from IPad

    Oh, you have to get the iPhone app.
    Seriously, though .... you are aware that it's not a telephone, right? Any calls you make will be using VOIP and any of the apps and/or services (Skype, Google Talk, etc., etc.) which support that. Some of those are US-only, all have various restrictions and cost structures.

Maybe you are looking for