HELP App stops on the ipad.

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Es124
Posts: 26
Joined: Sat Apr 30, 2011 3:48 pm

HELP App stops on the ipad.

Post by Es124 »

Hi,

When i run the app. pn the ipad this happens ( on the sim everything is OK ) :
I have 12 cards in one stack, every stack has a next button that takes you to the next card,

On mouseup
go next card
End mouseup

but when i come to the 11the the app stops.
The app. Is around 200 mb including three movie files.
Is this because the stacks our still in the memory ?
How can i check why it always stops on the 11 card , and what can be the problem ?

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

Re: HELP App stops on the ipad.

Post by Mark »

Hi Enno,

Are you Dutch or not?

Your question confuses me. How many stacks do you have? Why do you think the number of stacks is relevant?

What exactly does "stop" mean? Quit? Freeze?

Do you have ANY scripts besides the one you posted?

Are you using groups (backgrounds) or datagrids, MobGUI, scrollers? Can you tell anything else specific?

You can put the following handler in the stack script:

on errorDialog err
answer err
end errorDialog

and see what happens next time when the app stops.

Kind regards,

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
Es124
Posts: 26
Joined: Sat Apr 30, 2011 3:48 pm

Re: HELP App stops on the ipad.

Post by Es124 »

Hi Mark,
no I'm from Belgium.

I think the problem is solved,
i chanced

go to next card & go previous card
to : go card " name card"

and it works for the moment.

but how can i pause or stop the movie when i don't want to watch the movie further ?
And is it possible to zoom and pan a picture ( like you do in a digital mag. )

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

Re: HELP App stops on the ipad.

Post by Mark »

Hi Enno,

Zooming a player object is difficult. It might work if you turn off the alwaysBuffer and put a button with (IIRC) the required touchMove handlers on top of the player object, but turning off the alwaysBuffer may cause other problems.

Belgian people are also welcome on the Dutch forum, as long as you speak Dutch.

http://runrev.info/rrforum

Groeten,

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
Es124
Posts: 26
Joined: Sat Apr 30, 2011 3:48 pm

Re: HELP App stops on the ipad.

Post by Es124 »

Beste Mark,

ik probeer me te registreren op jouw forum, maar mijn adres wordt altijd geweigerd.

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

Re: HELP App stops on the ipad.

Post by Mark »

Hoi Enno,

Stuur me dan even een mailtje.

Groet,

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