Visual effect problems in iOS

John Dixon dixonja at hotmail.co.uk
Sun Feb 19 13:34:59 EST 2012


Hi... have a look at p.12 in the LC 5.0.2 release notes about the changes to using visual effects...

> From: livfoss at mac.com
> Subject: Visual effect problems in iOS
> Date: Sun, 19 Feb 2012 18:15:50 +0100
> To: use-livecode at lists.runrev.com
> 
> 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

 		 	   		  


More information about the use-livecode mailing list