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!
---------------------------------------------------------------------------------------------
on openStack
send "Continue" to me in 3 seconds
end openStack
---------------------------------------------------------------------------------------------
on Continue
visual effect "wipe down slow"
close this stack
go to stack "Login" in new window
end Continue
The visual effect command affects only navigation within a window. If you want to create a transition effect when moving between stacks, use the go...in window form of the go command:
visual effect wipe down
go stack "Index" in window "Part 2" -- replaces stack on screen
but you could fake a visual effect with stacks, at least the "dissolve" one.
1. Use a repeat loop and set the blendlevel of stack one until it is totally transparent.
2. Hide this stack
3. Use another repeat loop and set the blendlevel of stack two to "fade" this one in
the blendlevel approach will be the better (crossplatform) choice, since the nice dissolve (a "fade out" actually) effect you see on the mac relies on QuickTime!
If QT is not installed (on windows) you will get this boring and ugly pixel dissolve effect you may know from Director.
You can check the difference by yourself:
...
set the dontuseqteffects to true
## switch QT OFF for transitions
## don't forget to switch it ON again later!
## do something with a dissolve effect and be prepared to be bored
...
but you could fake a visual effect with stacks, at least the "dissolve" one.
1. Use a repeat loop and set the blendlevel of stack one until it is totally transparent.
2. Hide this stack
3. Use another repeat loop and set the blendlevel of stack two to "fade" this one in
Hi.
This does not seems to work on iOS simulator.
??
repeat with U = 0 to 100
set the blend level of image "something" to U
end repeat
set the blend level of image "something2" of stack2 to 100
go visible stack2
repeat with U = 100 down to 0
set the blend level of image "something2" to U
end repeat