Screenshot help

I tried to take a screenshot of the stage, resize, and add it to a Sprite by using the following code.

Instead of a smaller version of what the scene looks like, nothing seems to happen at all.

var data:BitmapData = new BitmapData(1024, 600, true, 0x000000);
var rect:Rectangle = new Rectangle(0, 0, 1024, 600);
var arr:ByteArray = data.getPixels(rect);
arr.position = 0;
data.setPixels(rect, arr);
var newsprite:Sprite = new Sprite();
newsprite.graphics.beginBitmapFill(data);
newsprite.graphics.drawRoundRect(0, 0, 170, 100, 20, 20);
newsprite.graphics.endFill();
addChild(newsprite);

Have you watched the ImageSnapshot class in mx.graphics.ImageSnapshot?

Tags: BlackBerry Developers

Similar Questions

  • I can't turn on the firewall of Windows 8.

    Hello

    I've been playing with this for weeks, I finally installed a third-party firewall, but without the firewall of Windows applications running Metro are inaccessible.
    I get no error message, the message 'access denied '.
    I tried through Services and all other means possible, but when I look at the error report as suggested when I try and turn it on all I get is.
    I run as administrator with full rights under tension.
    He did run when I got to my new computer and I don't know when or why he stopped.
    I just noticed one day that it has been disabled.
    I have run all kinds of malware and turned up nothing.
    Since Defender is not a piece of software in 8 stand-alone as it was at 7 I see no way to uninstall it and reinstall it again to reset it as it was initially.
    Anyone have an idea how I can reset it without having to perform a recovery to until I installed and implemented all my over 40 software programs.
    If I can't I'll have to continue to run Comodo and ignore Metro applications completely, and it's that actually works very well for me.
    I would like to just make it work the way it's supposed to.
    Thanks for the help.
    Mike

    Hello

    I just say that I finally got this problem.
    At the suggestion of a poster on forum Windows 8, I looked at how services work had their permissions in place.
    I went to services, found a service that was running and looked at how the configured permissions and compared to the firewall.
    I then copied all these settings for the Windows Firewall settings manually, and the firewall has finally started working.
    I have no idea why the settings were different, but it was what was killing the service.
    I just had to go through each setting and change them as they were the same for both services.
    Taking a series of screenshots helped so I didn't have to keep switching back and forth between them.
    Mike
    Here is a link to the post that has solved this problem for me.
  • Metadata on Mobile stands

    On the mobile version of my site, the tags found in the metadata under properties of the page actually appear on the screen above all other elements on the page... If I get rid of the metadata and republish, they are still there. Any thoughts on how to solve this problem so that I can keep the tags but do not appear on my mobile site? At the moment I use the feature of publication within the Muse herself since I was on one of their pages in businesscatalyst until I have buy my own Web space.

    [Left the lounge general Forum, troubled for a specific product - Mod support forum]

    Offering generally a link or screenshots help a lot. IM Muse the most likely cause is:

    1: add information of head by using the tool "insert HTML code.

    2: the use of tags in the meta-data that are not opened or closed properly.

  • Table InDesign content model

    Hello

    I would like to creat content/index United Nations table and include in a paragraph styles that are in my model (gabbarits), but it does not work. Is it possible? How?

    Also I would like to place the style of paragraph 2 on the same line...

    Please help me

    You cannot have two paragraph styles on the same line, but you can use styles GREP and/or styles nested to automatically add Character Styles to specific parts of your line.

    The extent of why you cannot successfully create your Table of contents of your paragraph style, explain what you tried and what has happened.  Screenshots help us understand your process and maybe understand what goes wrong.

  • Combining multiple layers into a single

    Hey guys,.

    hope its pretty clear in the title, working on a project and I have several layers that I would like to convert in a single layer. I hope the screenshot helps.

    2015-12-31.png

    Precompose them.

  • After effects (trial) does not (info inside)

    Hey,.

    I installed After Effects a few days ago (30 days trial), but I can't open.

    Today, it was an update in the cloud, so I thought it could solve my problem, but it didn't.

    He always says "AfterFX.exe fails to start properly (0xc000001d error Code)" (mine is in German so it's just a rough translation)

    The pleasure is in fact, that After Effects (I got it a while ago) (also in first instance) worked perfectly before I reinstalled my Windows 7, which makes me think that this is no a hardware problem (because it has not changed)

    And the Media Encoder as Photoshop CC 2015 work perfectly.

    Here's the Q & A from here

    • What exact of After Effects version? Include the minor version number - for example, after the CC (12.2.1) effects or After Effects CS6 (11.0.4). Do not just say "After Effects with the latest updates" or "After Effects CC"; give the specific version number.

    I don't really know. It it After Effects CC 2015 with update today (12/12/15).

    Yes.

    • What operating system? This should include specific minor version numbers, like "Mac OS x 10.6.8" - not just "Mac".

    Windows 7. Service Pack 1 is installed.

    • If you get error messages, what is the integral of the error message text?

    3c8e54ef821d450ca5e009294f2ad4ab.png

    • What you were doing when the problem occurred? What is the exact actions you take?

    Uninstalled After Effects and reinstalled. Twice.

    • He has already worked before? If it worked before doesn't work now, what has changed on your computer in the meantime?

    Yes, he did, until I reinstalled my Windows 7.

    • Tell us about your hardware. Include the type of processor and the number of cores of CPU, amount of RAM installed, GPU, number and size connected monitors, number of hard drives, and how external drives are connected.

    AMD Phenom II x 4 955, nVidia GTX 550Ti, 8 GB of Ram, 1 monitor, mouse, keyboard, WLAN

    • What versions of drivers for your graphics hardware you have installed (including the CUDA driver and driver for graphics card)?

    nVidia GeForce Driver ready to play: 359.06 version. Not sure what CUDA ist so. (at least not in English)

    • Do you have any hardware I/O of third parties (e.g., AJA, Matrox, Blackmagic or MOTU)?

    I guess not?

    • What type (s) of the source footage? When talk of your source footage, tell us about the codecs, not only the types of containers. For example, "H.264 in a .mov container,' not just 'QuickTime '.
    • N/a - may not even start After Effects
    • You do not have QuickTime installed. (You should). If so, which version? The answer should be specific, such as "QuickTime 7.6.2".

    Yes

    • What other software do you use?

    Windows 7?

    • Do you have the third party effects or the codecs installed?

    NO.

    N/a - can not even start After Effects.

    • The problem occurs only with your end result, RAM Preview, or both?

    N/a - may not even start After Effects

    N/a - may not even start After Effects

    • You use the traced the beam 3D rendering engine?

    N/a - may not even start After Effects

    • If the problem is with the output, give your exact output parameters (make the adjustment and output module settings). Screenshots help

    N/a - may not even start After Effects

    Hope someone can help me.

    Thanks in advance.

    The update of the corrections after effects CC 2015 (13.6.1) is available. It fixes several bugs, including one in discussion on this topic.

    Details: http://adobe.ly/1QqMMc6

    Let us know how things work after installing the update.

  • How I output in 1080 p instead of 1080i TV

    Salvation;

    I have looked over the presets that came with my trial version of Premiere pro and do not see an output for 1080 p with the exception of the Blue Ray parameter, and I don't mean to have this to blue ray, but to watch cable TV.  He's here and I just lack?

    Thank you

    1080 p would be gradual. If you are using the current version of first (e.g.: CC2014 8.2), you can also click the Source of Match. Hope this screenshot helps (example of the 1080p25).

  • Wo finde ich meine Pdf documents?

    ICH habe die Reduzierung auf Acrobat DC weder which noch Freizeitaktivitaten.

    Seit der conversion vermisse ich von mir bearbeitete Pdf-Dokumente. Wie, ich komme daran?

    Bitte ICH um eine Antwort in Deutsch!

    Hello

    Translate (Übersetzen) - Adobe Forum happy translation

    _________________________________________________________________

    Please take a look at the following to find your files.

    How to manage files Acrobat DC for iOS

    Screenshots help?

    If you prefer to receive an answer in German, should visit the forum in German language?

    Deutsche Foren

    Thank you.

  • Creating vCloud org with lease of storage Maximum strategy custom - VAPP model rental contract.

    Hello guys!

    I'm working on the use of the Orchestrator to activate the automatic configuration and customization of the vCloud.

    My problem (I hope), remains the policy setting of the organization that is:

    VAPP model lease:

    Rental maximum storage (30 days)

    It's the default, and apparently, the example of a workflow for the creation of an organization, has no way to change that!

    I'm talking about this piece:

    var leaseSettings = System.getModule("com.vmware.library.vCloud.Admin.Organization").createOrgLeaseSettings)
    storageLeaseHours,
    deploymentLeaseHours,
    deleteOnStorageLeaseExpiration);

    Apparently, the deleteOnStorageLeaseExpiration affects only storage cleaning: (move for expired items or permanently remove) - but not the lease of storage Maximum setting

    The research of the library API, I found this and tried to do something:

    var myVclOrgVAppTemplateLeaseSettings = new VclOrgVAppTemplateLeaseSettings();

    myVclOrgVAppTemplateLeaseSettings.storageLeaseSeconds = 0;

    myVclOrgVAppTemplateLeaseSettings.deleteOnStorageLeaseExpiration = deleteOnStorageLeaseExpiration;

    However, when trying to use it in createOrgSettings, I get exception:
    Cannot convert com.vmware.vmo.plugin.vcloud.model.schema.objects.OrgVAppTemplateLeaseSettings@731305e9 in com.vmware.vmo.plugin.vcloud.model.schema.objects.OrgEmailSettings (name of the dynamic Script Module: createOrgSettings #17)
    How I don't use this, in order to customize the attribute of lease of storage Maximum for the policy of the Organization? It is not very clear...
    Thank you!

    Screenshot help SOOO much I understand now...

    Well, working with the Org object alone won't get you where you need to go, you will also need to get the Organization Admin object

    var adminOrg = myOrgObject.toAdminObject ();

    now, with the adminOrg, you can call the method 'updateSetings' with a 'VclOrgSettings' object passed as parameter...

    var orgSettings = new VclOrgSettings();

    Look on the object VclOrgSettings in the Explorer in the api to find available properties - one of them is that you need: "vAppTemplateLeaseSettings" - so that the code you created will go here...

    In view of the foregoing...

    Create the Org as you're... Once you have the org created, the admin object so that org and update of the vAppTemplateLeaseSettings as you wish

  • Create new Folio

    Hi all

    I need to create a new portfolio for my document.

    Note: Image tag of Folio text as a "a folio.

    1. take the folio belonging to Sections or numbering

    2. put the first (front) page updated

    3. same folio is the page overleaf.

    4. even once Add number of + 1 to the front page

    5. same as all pages

    Screenshot help you for better clarification,

    Entry:

    Input1.png

    Output:

    output1.png

    Try the Code:

    var myDoc = app.activeDocument;
    var myPages = app.activeDocument.pages;
    alert(myPages.length);
    
    myCounter = 0;
    
    for(p=0; p<myPages.length; p++)
    {
        myCounter++
            
         if(myPages[p].documentOffset % 2 == 1)  
            {
                var myTF = myPages[p].textFrames.everyItem().getElements();
                 for(t=0; t<myTF.length; t++)
                    {
                        if(myTF[t].label == "FOLIO")
                            {
                                myTF[t].contents = String(myCounter)
                                }
                            }
    
                }   //if condition closing
            
            else
            {
                
                var myTF = myPages[p].textFrames.everyItem().getElements();
        
                 for(t=0; t<myTF.length; t++)
                    {
                        if(myTF[t].label == "FOLIO")
                            {
                                 myTF[t].contents = String(myCounter)
                                }
                            }
                        
                }   //else closing
            }  //for loop closing
                
    

    Kindly help my request.

    Concerning

    Siraj

    Hello

    Looking page.appliedSection. pageNumberStart ?

    var
         mDoc= app.activeDocument,
         mFrames = mDoc.pages.everyItem().textFrames.everyItem(),
         mCounter = mDoc.pages[0].appliedSection.pageNumberStart,
         k, cID,  nID, cCount; 
    
    for (k = 0; k < mFrames.label.length; k = k+2)
      if (mFrames.label[k] == "FOLIO") {
           cID = mFrames.id[k];
           cCount = String(mCounter++);
           mDoc.textFrames.itemByID(cID).contents = cCount;
           try {
                nID = mFrames.id[k+1];
                mDoc.textFrames.itemByID(nID).contents = cCount;
                }
           catch (_) { break; }
      }
    

    Jarek

  • How can I make my color look Good settings?

    If I adjust the colours on my film layer or using curves/satruation/color balance by using layers of the color of my coice and mixing, the colors look absolutely rubbish and false.

    ILM can do it, why can't I?

    It is not so much a matter of number of pixels, it's all about the depth of color and what type of information you have at first. It is a correct exposure. It is a very large format. It is the original of the lighting. You can do a lot with the color adjustment, but adjustment of the colors really good often involves masking certain colors, many layers overlay and really powerful tools in the hands of someone who understands exactly what they need to do the blue so that it is not a fault in the green. You can do amazing things in AE. Tools like Colorista make it easier. Tools like speed Grade make easier and faster, but still have to learn how and what correct color.

    In all of this discussion, I saw examples of what you're trying to achieve, of the original film, or what you're trying to imitate. Screenshots help us steer you in the right direction.

    I would move to red giant or Vimeo and look at some of the tricks of Stu on Colorista. I would check out books and recommended so far discussions. I've been in this business of the past four decades, and if the budget I have someone else to do my color correction, because I know I'm not the best at home, and whenever I'm sitting in a session of ranking with a colorist I learn something new. The color is an important part of the process and it takes a long time to become an expert.

  • Assignment of rights

    Hello

    We are currently testing LCM via the downloadable application. We have set it up and running.

    A use case we met requires applicants to be able to remotely administer the system requirements. It seems that only administrators have this ability.

    Does anyone know if/how allowing applicants to standards to access these controls? (see attached image)

    Thank you

    The new screenshot help.  Thank you.

    The virtual machine is indeed Operate - available but the icon of the application does not look good.  If the virtual machine is turned off, the icon must be a red square.  If the virtual machine is turned on, the icon must be a green triangular arrow.

    I think it's maybe a VC permissions problem.

    Please tell me how you have the VC connection defined in the Orchestrator configuration.  Using a shared session or single session per user?

    If you use a single session per user, the user LCM are used to create a new connection to VC.  And apply the permissions of VC.

    The best practice is to use a shared session and to specify a user VC with sufficient permissions for this shared session.

    Kind regards.

    Bill

  • I can't read this in my windows 7 64 bit language English screenshot here please help

    I can't read this in my windows 7 64 bit language English screenshot here please help

    Iaaaeuuee - eiiieaeo niaoeaeecediaaiiue, idaaiacia÷aiiue adult idiaeoediaaieÿ
    e iiaaioiaee idiecaianoaa

    sound in Russian I know, but it looks like the Russian

  • having xp on HPpavilion dv9000 should help to use the screenshot and painting program

    What is the sequence to make a screenshot of a web page and paste nit in ms paint?

    Take a screenshot of the entire desktop press Combination, take a screenshot of just the active window Alt + combinationpress. Now open Paint and select Paste or use Ctrl + V to paste. He must now paste the screenshot in Paint; Now you can use record under to save the image in the format (.jpg, .png, .bmp, .gif, etc.) you want and choose where the file should be saved.

    I hope this helps.

  • Can you take screenshot without permission from the end-user? Help, please!

    Hello

    I recently submitted an approved application that is available in the app world. Screenshots takes in the game to make animations faster. The question is, in order to take screenshots, you must use a secure api and not the end-user give "permission" for the app to 'save '. End users are reluctant to 'accept' because they think private information are used, etc...

    Question: is there a way to make a capture of screen-app without the user 'approve' record? OR should I just, but a little warning at the beginning saying... "the following approval is needed to make the application faster, but no private info is obtained, etc."

    Thanks for your help and time!

    Unless they received him in their default permissions, you need to ask.

Maybe you are looking for

  • Pavillion DV7 Slot for cards SD etc.

    Hi, is it just me, or do what you think as well as housing is not well designed? When you press in a SD card into the slot, it sticks almost completely in. Without long nails, you are confused. Or is it something that I have not yet found? Grusst are

  • I forgot my password while my wi - fi and cell phone are disabled

    Hello my dear it I forgot my password so I searched in Internet sites and found 3 ways for restoring my iphone but unfortunately: 1-i have my Apple ID user and pass, but the wi - fi and cell phone are off and I clouldn can't disable the password to i

  • Why pay for Windows

    Windows seems too unreliable for pay.  It works about 90% of the time and is a constant battle.  Purchase Windows pretty much guarantees it issues.  So, why pay for Windows and then for support?  Can't Microsoft give this free?

  • hardware compatibility with windows xp

    I tried to install an external hard drive and a USB key, but windows says strongly I should stop installation because the products have not passed windows logo testing. is it safe to go ahead and install it because the two products state that they ar

  • How to defrag, optimize and recover system memory

    Dell Dimension 2400 Windows XP SP3