Folks, I have been trying to use 'visual effect' to make transitions between 
cards and between stacks on an iPad app and I am not getting anywhere.

Firstly I can't get the transition between stacks to do anything. The syntax 
shown in the dictionary seems a bit ambiguous (I just want to move to another 
stack in the same window) but I am not seeing any transitions. So I decided to 
confine my effects to a single stack, just switching between cards.

I built a tiny stack that just moves between cards using buttons that do this 
kind of thing:

on mouseUp
   visual effect "flip left"
   go cd "second"
end mouseUp

This works fine in the simulator: but when I put the same bit of code into my 
actual app, the 'go' works but not the visual effect. Here is the actual code, 
copied from the app

on mouseUp
   visual effect "flip left"
   go cd "Diagram"
end mouseUp 

The card exists and is in the current stack. What can I possibly have done to 
stop the effect working? Beats me.

FWIW, I'm using LC 5.0.2 on MacOS Lion 10.7.3 with version 4.2.1 of Xcode and 
version 5.0 of the simulator. The alwaysBuffer of the relevant stack is set to 
true.

Puzzled

Graham
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to