you can test for colour by taking a bitmap data snapshot and using getPixel
or getPixel32 on it.

On 5/10/07, Danny Kodicek <[EMAIL PROTECTED]> wrote:

> ...I am wanting to run a color of instance test.   I am
> wondering if I can do this?
>
> attachMovie("shapes","shapes",num);
>
> if( shapes /*color*/  == 0x333333){
>   // action(s)
> }
>
> // this is sudo code but basically I want to know if I can
> test for color.

A library symbol doesn't have a colour - what exactly are you trying to
do?

Danny

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
j:pn
http://www.lennel.org
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to