Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fade out



Hi, Here's a quick attempt at it.

The drawbacks here:


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...



Attachment: fade_in_out.qtz
Description: application/quartzcomposer


Regards,

Ian

*******************************
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.

It would be a great help....

................................................................

TRIEBWERK

Markus Buberl
Dipl. Des. Communications Design
Dipl. Audio Engineer (SAE)

Johann Schöner Straße 48A
97753 Karlstadt
Germany

Tel       +49 - (0) 9353 - 98 25 60
Fax      +49 - (0) 9353 - 98 25 66
Mobil   +49 - (0) 171 - 898 52 37

email@hidden
http://www.triebwerk.net


_______________________________________________
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

References: 
 >fade out (From: Markus Buberl <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.