wiln / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

CanvasButton Private Canvas does not force a BackgroundAlpha of 0 #277

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to reproduce the problem?
1. Use a CanvasButton with some child controls.
2. Use a CSS that sets the Canvas backgroundColor and a backgroundAlpha of 1.

Running the code causes the canvas to be draw over the button so that the
button is not visible. I suspect this is because the private canvas loads
the CSS, which cause it to be drawn opaque instead of transparent. Perhaps
adding code that forces the background alpha of the private canvas inside
the CanvasButton to 0 would prevent this problem.

Original issue reported on code.google.com by william....@gmail.com on 18 Feb 2010 at 11:43