Hi Robert,

Thanks for your advice.. will try it first thing in the morning.

Your help is GREATLY appreciated.

Cheers,

Ivan

--- In flexcoders@yahoogroups.com, "ag_rcuren" <robert.vancuren...@...> wrote:
>
> The first thing that comes to my mind is the getPixel32 method of the 
> BitmapData Class. You pass in the x and y of the pixel you want to know about 
> and it returns a ARGB unit color value back. So you would have to calculate 
> the exact point you want to know about and then use that method.
> 
> --- In flexcoders@yahoogroups.com, "ivansebastiansurya" <ivansebastiansurya@> 
> wrote:
> >
> > Hi everyone,
> > 
> > I've got a problem regarding colour gradient.  I have created a control 
> > when you can define colour points along a rectangle to create a colour 
> > gradient.  The problem that I have is that I need to find a way to find the 
> > exact colour at a point between the gradient points (my control also allow 
> > you to define the alpha at that point).
> > Anyone has come across that problem and know how to solve it?
> > Thanks in advance for reading my question and any help is greatly 
> > appreciated.
> > 
> > Ivan.
> >
>


Reply via email to