On Tuesday, October 30, 2001, at 09:42 AM, Domi wrote:

I made a simple slideshow stack.
I wanted to add some visual effects between the pictures,but some of them don't function correctly (Mac OS 8.6, MC 24b4 starter kit):

barn door: OK
iris: striped screen
push: striped screen
revea: OK
scroll: OK
wipe: striped screen
zoom: OK

Then I tested the "answer effect" command: I am given a number of characters -- that seems to be code (QT 502) !

So, what?

--
Regards,
Dominique



Dominique,

Currently (version 2.4) you will have to deal with visual effects that are built-in and those that are from QT differently.

I use the following handler to deal with visual effects. Visual effects that are from the answer effect dialog have a long sequence of characters. I store these in separate fields. Then I just call their contents when I need them and put that into a variable (teffect). I store the speed in (tspeed). If you have any questions, just let me know. I am working heavily with them myself right now.

on visualEffecto
global teffect, tspeed, qtFX


--SET UP VISUAL EFFECTS THAT NEED THE ANSWER EFFECT DIALOG
if teffect is "radial" then put fld "radial" of card "setup" of stack "info" into teffect
--handle speed
if tspeed is "very slow" then visual effect teffect very slow
if tspeed is "slow" then visual effect teffect slow
if tspeed is "fast" then visual effect teffect fast
if tspeed is "very fast" then visual effect teffect very fast
exit visualEffecto


if teffect is in qtFX then
do "visual effect" & quote & teffect & quote && tspeed --QT EFFECTS
else
do "visual effect" && teffect && tspeed --BUILT-IN EFFECTS
end if
end visualEffecto


-Mark

Reply via email to