Use of effects with the Hide Command

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Simon Knight
Posts: 845
Joined: Wed Nov 04, 2009 11:41 am
Location: Gunthorpe, North Lincs, UK

Use of effects with the Hide Command

Post by Simon Knight » Fri Jun 01, 2018 8:32 am

First I hope that this is the best place to ask this question.

I am taking my first steps in trying to improve the look of my applications and I want to hide a field. I have just read the dictionary entries for both the hide command and the visual effects command and am now a little confused. Both entries put great emphasis on the fact that QuickTime has been depreciated what is less clear to me is what effects are available in an application that is not using QuickTime.

Am I correct in understanding that all of the items in the list below are available except for the first bullet?
Description:
• an encoded QuickTime special effect description generated by answer effect
• the name of a Core Image Transition Effect
• "plain"
• "checkerboard": Desktop / Web
• "venetian blinds": Desktop / Web
• "iris close", "iris open": Desktop / Web
• "zoom close", "zoom in", "zoom open", "zoom out": Desktop / Web
• "wipe up", "wipe down", "wipe right", "wipe left": Desktop / Web
• "dissolve"
• "push up", "push down", "push right", "push left"
• "reveal up", "reveal down", "reveal right", "reveal left": Desktop /
Web / iOS / Android
• "shrink to bottom", "shrink to center", "shrink to top": Desktop / Web
• "stretch from bottom", "stretch from center", "stretch from top":
Desktop / Web
• "scroll up", "scroll left", "scroll down", "scroll right": iOS /
Android
• "curl up", "curl down": iOS
• "flip left", "flip right": iOS; the background behind the flip is
taken from the background color of the current stack, i.e. the card is
cut out and flipped over the stack
List copied from the dictionary entry for "visual effects".
Thanks for reading.
best wishes
Skids

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Use of effects with the Hide Command

Post by Klaus » Fri Jun 01, 2018 9:28 am

Hi Simon,

yes, the first bullet (Quicktime) is deprecated and the second bullet (Core image) will only work on a Mac. Don't forget to use the recommended (not so) new syntax, the dictionary still shows the old syntax :(

Code: Select all

...
lock screen for visual effect
## do your stuff like going to another card or:
hide fld "el texto"
unlock screen with visual dissolve
...
You can also control the speed of the effect by setting the effectrate, which however only affects teh "very slow" option, which is a bit mentally challenging! :-)

Code: Select all

...
set the effectrate to 500 
## Values in millisecs!

lock screen for visual effect
## do your stuff like going to another card or:
hide fld "el texto"
unlock screen with visual dissolve VERY SLOW
...
Best

Klaus

Simon Knight
Posts: 845
Joined: Wed Nov 04, 2009 11:41 am
Location: Gunthorpe, North Lincs, UK

Re: Use of effects with the Hide Command

Post by Simon Knight » Fri Jun 01, 2018 9:56 am

Thanks Klaus,
I'm having fun with effects and the effects rate!
best wishes
Skids

Post Reply

Return to “Multimedia”