Edit;
get a grip on creating custom visual effect that I can use "all over the place"
by creating an external script/text stack
---------
Exactly
I'm studying scripts by some "pros" (Jacque, David, Malte-animation engine)
in order to get a group on creating custom visual effect that I can use
"all over the place" but creating an external script/text stack
I've been doing server side script for so many years, the whole UI coding
is all new but a lot more fun!
so If you want "safe" generic handlers… and you don’t' want to worry about
the name space collisions you need to use the long ID
to drive things like this
put the long id of grp "lessonTextControl" into pEffectsTarget
send "object_FadeOut pEffectsTarget,0, 2, 20" to me
wait for 2 seconds with messages
#then in your library:
command object_FadeIn pEffectsTarget, newBlendLevel, someIncrement,
someDelay
set the blendLevel of pEffectsTarget to newBlendLevel
if newBlendLevel > 0 then
subtract someIncrement from newBlendLevel
send "object_FadeIn pEffectsTarget,
newBlendLevel,someIncrement,someDelay" to me in someDelay milliseconds
else
set the blendLevel of pEffectsTarget to 0
end if
end object_FadeIn
command object_FadeOut pEffectsTarget, newBlendLevel, someIncrement,
someDelay
set the blendLevel of pEffectsTarget to newBlendLevel
if newBlendLevel <100 then
add someIncrement to newBlendLevel
send "object_FadeOut pEffectsTarget,
newBlendLevel,someIncrement,someDelay" to me in someDelay milliseconds
else
set the blendLevel of pEffectsTarget to 100
end if
end object_FadeOut
Disclaimer: I am not a real programmer and I don't really know what I am
doing, but because it is LiveCode I can still reach my goals ☺
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode