Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
kdittyr
Posts: 278
Registered: ‎10-27-2010
My Device: Playbook

Re: Invert the colours of a graphic object?

Ummm... Why yes. Sorry, since I am on my phone I skipped that part.

However, you could omit applying the colertransform on "this", and instead apply it when drawing "this"...

Then before adding the bitmap fill I would suggest this.graphics.clear() as you could run into memory problems or you will notice that changes are no longer showing up. Anyway, at this point you add the bitmapfill. Maybe?

It should work... Though I will have to run a test later.
--------------
kdittyr

Accepted PlayBook Applications:
HDB Converter -- Utilities/Calculators
Developer
noahnu
Posts: 138
Registered: ‎01-09-2011
My Device: Blackberry Tablet OS

Re: Invert the colours of a graphic object?

Thanks it works now.

From,
Noah NU
Developer
kdittyr
Posts: 278
Registered: ‎10-27-2010
My Device: Playbook

Re: Invert the colours of a graphic object?

Glad to hear it :smileyhappy:
--------------
kdittyr

Accepted PlayBook Applications:
HDB Converter -- Utilities/Calculators