simulator problem with livecode 5.0

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
fre
Posts: 41
Joined: Fri Nov 12, 2010 7:22 pm

simulator problem with livecode 5.0

Post by fre » Tue Nov 22, 2011 9:56 am

hallo,

i use livecode 5.0 with xcode 4.2 and iOS 5 on snow leopard.
my simulator is version 5.

i made an app that uses visual effects when navigating to anohter card:

Code: Select all

on mouseup
  lock screen
  go card "mycard"
  unlock screen with visual effect push left very fast
end mouseup
when i test the app and i push the button to navigate to anohter card the app is gone away, i have to start it again. this problem is new, everything worked fine on livecode 4.5 and xcode 3.2.5.

the problem is this line:

Code: Select all

unlock screen with visual effect push left very fast
when i comment it out everything works fine.

what can i do ?

thank you for your help!

fred.

fre
Posts: 41
Joined: Fri Nov 12, 2010 7:22 pm

Re: simulator problem with livecode 5.0

Post by fre » Tue Nov 22, 2011 10:05 am

i have found that this solves the problem:

Code: Select all

on mouseup
  visual effect push left very fast
  go card "mycard"
end mouseup
hope it works also on a real device.

fred.

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: simulator problem with livecode 5.0

Post by bn » Tue Nov 22, 2011 10:34 am

Hi Fred,

have a look at "lock screen" in the dictionary. As of 5.0 the syntax is expanded.
lock screen for visual effect
from the dictionary:

Code: Select all

lock screen for visual effect
   show control 1
unlock screen with visual effect "dissolve"
this works in the IDE:

Code: Select all

on mouseUp
   lock screen for visual effect
   go next card
   unlock screen with visual effect "dissolve" very fast
end mouseUp

Kind regards

Bernd

Post Reply