Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6690983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:41:58+00:00 2026-05-26T05:41:58+00:00

I need to do this conversion so that I can determin the drag drop

  • 0

I need to do this conversion so that I can determin the drag drop colour a puck lands on.

Anybody have any ideas, possibly involving:

ImageSnapshot
BitmapData

This would be in Flex 4

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:41:58+00:00Added an answer on May 26, 2026 at 5:41 am

    Once the component is rendered on the screen; you can get BitMapData using something like this:

        static private function getUIComponentBitmapData( target : UIComponent ) : BitmapData
        { 
            var bd : BitmapData = new BitmapData( target.width, target.height,true);
            var m : Matrix = new Matrix();
            bd.draw( target, m );
            return bd;  
        }
    

    [Note: I borrowed this method from a blog somewhere; but the URL I had on file for it is returning a 404]

    Then you can turn that bitMapData into an image for display:

                var bitMap:Bitmap = new Bitmap(bitMapData);
                var image : Image = new Image();
                image.source = bitMap;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have no experience with low level programing and I need this piece of
I need to convert a vdproj file to WiX format so that I can
I have a directory with PDF files that I need to create an index
I have a date in this format: 20101101120000 I need to convert it to
I have a newsfeed similar to Facebook's newsfeed. It means that I need to
I have a byte array that can be of size 2,3 or 4. I
I have a code that does something like this: char16_t msg[256]={0}; //... wstring wstr;
I have a date that is currently formatted as 'y.m.d' and I need it
The problem is really that specific. I need a library in java that can
I have this requirement for my business. We have a swing desktop application that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.