Using QT Transitions

Klaus Major klaus at major-k.de
Sat Jan 1 12:10:57 EST 2005


Hi Mark,

> On Saturday, January 1, 2005, at 07:41 AM, 
> use-revolution-request at lists.runrev.com wrote:
>
>> When you use the answer effect command, an encooded description for
>> the effect is returned in the "it" variable. You can store this
>> somewhere (variable, custom property, etc.) and use it in a later
>> script:
>>
>>    answer effect
>>    if it is not empty then set the myCustomEffect of this stack to it
>>
>>    -- in a later script...
>>    visual effect (the myCustomEffect of this stack)
>>    go card "My Card"
>
> Okay, but wouldn't that bring up a dialog box for the user of my 
> stack?  I would like Card
> A to gradient wipe to Card B without asking the user.  I'm still not 
> getting it.

:-)

The dialog will NOT pop up in that case!

It is the EFFECT itself that is being stored in the custom property.

This way you can create a "library" of QT transitions in your stack(s) 
and use it whenever
you like and the user will never! see the dialog, honestly! :-)

> 		Mark G.

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list