I'm trying to use the first example from
this thread. My goal is to modify the following code so that I can use the ATL commands repeatedly with different characters:
Code: Select all
show xxx:
linear 0.5 alpha 0.0
show yyy:
alpha 0.0
pause 0.5
linear 0.5 alpha 0.5
That is, xxx is suppose to dissolve away in 0.5 seconds, then after 0.5 seconds when xxx has dissolved away, yyy dissolves in to become semitransparent.
My modified code looks as follows.
Code: Select all
init:
transform diss:
on show:
alpha 0.0
pause 0.5
linear 0.5 alpha 0.5
on hide:
linear 0.5 alpha 0.0
and in the script I have
Code: Select all
hide xxx at diss
show yyy at diss
When I run the code, however, xxx disappears immediately and yyy appears immediately.
Of course, I could write
instead of "hide xxx at diss" and remove the pause from the "on show" part for this example, but I'd prefer not to do that in case I want to make further customizations to the "on hide" statement. I also don't want to have to write out the full ATL code every time because I'll be using the commands rather frequently.
Am I misunderstanding something about the way "at" works?