Trying to call a button

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Danny
Posts: 106
Joined: Tue Nov 09, 2010 1:28 am

Re: Trying to call a button

Post by Danny » Wed Dec 22, 2010 5:06 am

Hey Klaus,
Just after you answered I thought I had come up with a better solution:

Code: Select all

 set the icon of button ("ball1") to 0
   move me to (item 1 of myLocation,200) in 2 seconds
   set the icon of button "ball1" to 6002
It ran perfectly until I started dropping more balls at once. They started freezing at the bottom of the screen and reappearing at random times but it took a long time.
Then I thought if I just took the balls off the screen it would keep it from freezing:

Code: Select all

move me to (item 1 of myLocation,450) in 1 milliseconds
   set the icon of button ("ball1") to 0
   move me to (item 1 of myLocation,200) in 2 seconds
   set the icon of button "ball1" to 6002
but alas they kept freezing. Again I can't use "wait" because it freezes the simulator for x seconds; even if I put it in a handler.

P.S Do I have to pay the $100 to Apple to be able to deploy my app to my iPod

Post Reply

Return to “iOS Deployment”