if the sprite is not completely faded in (opacity <1) when the second
key press happens the alpha jumps up to 1 before fading to 0.
Also for this solution you need to hit the key twice - once to fade
in once to fade out. The javascript patch in the composition was an
attempt to detect the 'release' of the key and trigger the fade out.
I am sure this is possible.
Also, I added a 'number store' macro (from Quartzcompositions.com) to
explore the idea to store the patch time when the key is release - so
if it is less than 1 the sprite can fade out from that value...
*******************************
Ian Grant
Lecturer in Digital Art
Faculty of the Arts
Thames Valley University
Ealing, UK
W5 5DX
<email@hidden>
*******************************
On 19 Feb 2007, at 15:47, Markus Buberl wrote:
I've got a simple problem, i hope.
I want an image to fade in when pressing a button on my keyboard.
And a slow fade out on release.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer-
email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/ian.grant%
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
This email sent to email@hidden