PDA

View Full Version : To get the fill colors of a shape


aravinth_vt
10-11-2007, 01:07 PM
Hi all,

I am trying to get all the fill color values for a given shape selection.
Is there any way to find this?

This is a very long pending problem. Can anyone help me in anyway please?
:confused:

mikenaman
10-12-2007, 01:48 PM
Hi

I presume you have the shapeObject selected already, if you have then use this...

var fill = fl.getDocumentDOM().getCustomFill("toolbar");

This will return a fillObject with these properties...

http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00004091.html

Hope this works...