PDA

View Full Version : DataGrid with Tranparent Background



satiss
July 20th, 2006, 01:04 PM
hi there, i've recently been trying to skin the dataGrid Component. I was wondering if someone know how to have a transparency background?

Some forums says that myDataGrid.setStyle("backgroundColor", "transparent"); work fine! :( But it is probably for FlashMX, 'cause it won't work for Flash 8!

If anyone could come up with a solution that would be much appreciated!!!

creatify
July 21st, 2006, 01:03 AM
not sure if this will work - but see this post, search on the page for transparency:

http://www.flashgamer.com/2006/02/skinning_the_flash_datagrid.html

satiss
August 14th, 2006, 04:06 PM
Finaly I use this line

_global.styles.ScrollSelectList.setStyle("backgroundColor", "undefined");

By setting this color to a fake value (i.e., not a real one), you'll see that the grid is transparent.

Thanks to Tcoz ( http://www.tcoz.com ) on the Ultrashock Forums!
I was looking for that features since a long time ago! :thumb2: