Hi,
I have a question about using Modulo Operator.

I can easily do an Odd / Even using

i%2 !=0

Where i can be any supllied number.

My question is, I have a list of movieclips (arranged one below another).
I want to use 4 different colours to differentiate them.

So, list items 1, 5, 9, ... will have Color-1.
items 2, 6, 10, ... will have another Color-2.
items 3, 7, 11, ... will have third Colou-3.
items 4, 8, 12, ... will have fourth Color-4.

And so on.... Can someone point me to the right direction as to how I
should use the moludo?

Wether modulo operator is the right way to do this?

Thanks
_______________________________________________
[email protected]
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