On Wed, Feb 4, 2009 at 6:11 PM, tazg <[email protected]> wrote:
>
> Yep that code works perfectly, after defining modified_color of course
> which seemed obvious enough:
>
> old_color = document.get_style("color", start)
> modified_color = old_color[:3] + (alpha,)

Ok, good to hear.  'old_color' should actually be equal to 'color',
given in the for loop, which is already calculated for you.

Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to