Curl Effect

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jeanvouillon
Posts: 21
Joined: Sat Jan 15, 2011 6:40 pm

Curl Effect

Post by jeanvouillon » Tue Nov 08, 2011 4:00 am

Hi,
I have just noticed that the Curl visual effect doesn't work anymore... (LC5)
Is it just for me??
Thanks.

rvanar
Posts: 26
Joined: Fri Aug 05, 2011 10:43 am

Re: Curl Effect

Post by rvanar » Tue Nov 08, 2011 8:42 am

When LC5 came out I noticed that curl effect card to card worked fine. When I have to go from stack to substack that it wasn't working. I submitted a ticket and they said it was a bug and added it to their bug support.

I also noticed that i get an error in debugger every time I use the code "visual effect"

jeanvouillon
Posts: 21
Joined: Sat Jan 15, 2011 6:40 pm

Re: Curl Effect

Post by jeanvouillon » Tue Nov 08, 2011 1:34 pm

Thank you, rvanar!

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: Curl Effect

Post by CALL-151 » Wed Nov 09, 2011 9:24 pm

rvanar wrote:I also noticed that i get an error in debugger every time I use the code "visual effect"
Try this:

Code: Select all

  lock screen for visual effect
   go card "cardname"
   unlock screen with visual effect "curl up"
   

rvanar
Posts: 26
Joined: Fri Aug 05, 2011 10:43 am

Re: Curl Effect

Post by rvanar » Fri Nov 11, 2011 1:37 am

CALL-151 wrote:
rvanar wrote:I also noticed that i get an error in debugger every time I use the code "visual effect"
Try this:

Code: Select all

  lock screen for visual effect
   go card "cardname"
   unlock screen with visual effect "curl up"
   

I did try that code visual effects for me work just fine card to card it's stack to substack that it fails. I tried that code that you gave me (going from stack to substack) and in the simulator it crashed.

gpb01
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Sat Jun 04, 2011 5:41 pm

Re: Curl Effect

Post by gpb01 » Fri Nov 11, 2011 9:33 am

rvanar wrote:I did try that code visual effects for me work just fine card to card it's stack to substack that it fails. I tried that code that you gave me (going from stack to substack) and in the simulator it crashed.
If you look into the documentation, you will find that the visual effect work on Cards but not on Stacks.

Opening the dictionary suggest you :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

Guglielmo

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Curl Effect

Post by Mark » Fri Nov 11, 2011 10:16 am

Hi,

"Go stack... in window" doesn't work on iOS. You have to use "go stack" without "in window"

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply