Fade effect for a Field
John Dixon
dixonja at hotmail.co.uk
Fri May 16 08:46:07 EDT 2014
Set the blendLevel of fld 1 to 100
on mouseUp
repeat with count = 100 down to 1
set the blendLevel of fld 1 to count
wait 2 millisecs
end repeat
wait 2 seconds
repeat with count = 1 to 100
set the blendLevel of fld 1 to count
wait 2 millisecs
end repeat
end mouseUp
> From: tate83 at gmail.com
> Date: Fri, 16 May 2014 14:38:35 +0200
> Subject: Fade effect for a Field
> To: use-livecode at lists.runrev.com
>
> Hi all,
>
> I want to make a field displaying some status text ("Record saved") that
> fades from invisible to visible, stays for a few seconds and then fades out
> again.
>
> I have seen that there seems to be a way to do this with groups, but could
> I also do it with a single field?
>
> Thanks,
>
> Pascal
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list