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

  • Home
  • SEARCH
  • 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 518035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:53:45+00:00 2026-05-13T07:53:45+00:00

So, this article looks at how to get the color from an image in

  • 0

So, this article looks at how to get the color from an image in AS3, and one of the answers suggests a better way to grab colors using the ‘draw’ function of a BitmapData object. But these are somewhat limiting, I’m trying to implement an eyedropper-type utility and need to be able to know what color the user is seeing at a certain pixel.

I’ve tried using draw() on the stage, but that doesn’t include anything that’s a child of the stage.
Next, it occurred to me that I could just look at the children of the stage to find the foremost one that’s under the mouse, and draw() that, but then we suddenly get into a possibly time consuming recursive search.
does anyone have any better ideas?
The simplest/fastest/best way to find what color is being displayed under the mouse in Actionscript 3.

  • 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-13T07:53:45+00:00Added an answer on May 13, 2026 at 7:53 am

    I believe you want this stack overflow question:

    Best way to get the color where a mouse was clicked in AS3

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created an image fading slideshow reading this article . The code looks like
this article suggests you can use Color c = Color.decode(FF0096); however this understandably throws
I've read this article Supporting Multiple Screens , but still don't get one thing
This article from Microsoft details how to implement transport security with an anonymous client
Using this MSDN Article as an example for pausing and resuming, one would assume
This article say we should avoid using this technique. This one says it's awesome.
I'm having more problem with JSON! I am using the advice from this article
I'm looking for a way to get text-shadow that looks like css3 text-shadow, but
I have a loop that can look like this: For Each article In artAll
This article on memory leaks emphasizes that having superfluous event listeners leads to memory

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.