Timing Hide/Show - Lock/Unlock Screen - w Visual Effects.

Scott Rossi scott at tactilemedia.com
Fri Feb 5 13:18:25 EST 2016


I believe you're missing:

lock screen for visual effect

Regards,

Scott Rossi
Creative Director
Tactile Media UX/UI Design

> On Feb 5, 2016, at 10:00 AM, Sannyasin Brahmanathaswami <brahma at hindu.org> wrote:
> 
> This animation business is all new and I’m missing some key knowledge base  here.
> 
> Can any clarify LC’ underlying algorithm for running something like this?
> 
> Goal: to have “narration” text show in a field, smoothly disappear, then a second narration text appear in the field without abruptly just replacing the text.
> 
> as “pseudo” code this would appear to be what I want… but in fact it does not work.
> 
> It’s as if the dissolve over time is superseded by the subsequent commands
> 
> 
>  wait 1 second
> 
>   put the uNarrationText[1] of this card into fld "narrationPanel"
> 
>   show fld "narrationPanel"  with visual effect dissolve very fast
> 
>   wait 1 second
> 
>   lock screen
> 
>   put empty into fld "narrationPanel"
> 
>   unlock screen with visual effect dissolve slowly
> 
>   wait 30 ticks
> 
>   lock screen
> 
>   put the uNarrationText[2] of this card into fld "narrationPanel"
> 
>   unlock screen with visual effect dissolve slowly
> 
> 
> 
> 
> in particular, narrowing it down to this
> 
> 
>   show fld "narrationPanel"  with visual effect dissolve very fast
> 
>   wait 1 second
> 
>   lock screen
> 
>   put empty into fld "narrationPanel"
> 
>   unlock screen with visual effect dissolve slowly
> 
> 
> # the effect I’m looking for is the first text should appear to dissolve, and the new text appear with dissolve
> 
> 
> Obviously I can do the whole field like this:
> 
> 
>   wait 1 second
> 
>   put the uNarrationText[1] of this card into fld "narrationPanel"
> 
>   show fld "narrationPanel"  with visual effect dissolve very fast
> 
>   wait 1 second
> 
>    hide fld "narrationPanel"  with visual effect dissolve very fast
> 
>   put the uNarrationText[2] of this card into fld "narrationPanel"
> 
>    show fld "narrationPanel"  with visual effect dissolve very fast
> 
> 
> 
> 
> but it woudl be cool just to have the text change out… Yes, I could create a mask object with the field inside, but I’m looking for a simpler 1 field only solution
> 
> 
> BR
> _______________________________________________
> 



More information about the Use-livecode mailing list