Tip: Fadeout effect using blendLevel?
Phil Davis
revdev at pdslabs.net
Tue Jul 18 12:20:50 EDT 2006
Hi Peter -
Don't know where the tip is, but I used the fade-out approach recently
for a stack. It's pretty easy. The following script is untested, but
gives the idea:
on fadeOut pObjectLongID
repeat with x = the blendLevel of pObjectLongID to 100
set the blendLevel of pObjectLongID to x
wait 2 ticks -- adjust this value to change fade-out speed
end repeat
#-- NOW THE OBJECT IS NOT VISIBLE
-- prep the object for subsequent fade-in
hide pObjectLongID
set the blendLevel of pObjectLongID to 0 -- make it opaque again
end fadeOut
HTH -
Phil Davis
Peter T. Evensen wrote:
> The dictionary entry for "visual effect" has a cross-reference to:
> "Tip: Fadeout effect using blendLevel"
>
> Does anyone know where I can find this tip?
>
> Peter T. Evensen
> http://www.PetersRoadToHealth.com
> 314-629-5248 or 888-682-4588
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list