Go card x of stack y in the window of this stack

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

AxWald
Posts: 578
Joined: Thu Mar 06, 2014 2:57 pm

Re: Go card x of stack y in the window of this stack

Post by AxWald » Sat May 15, 2021 6:22 pm

Hi,

dunno if it helps you, but that's the code I use for stack switching on mobile:

Code: Select all

   set the effectRate to gPrefArr["visEffSpeed"]
   lock screen for visual effect
   go cd 1 of stack theTargetStack in the window of this stack
   unlock screen with visual effect gPrefArr["visEffUp"] very slow
I assume the variables are self explaining.

Have fun!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”