Standalone problems

J. Landman Gay jacque at
Sat Feb 19 20:52:42 EST 2011

On 2/19/11 2:22 PM, edward cawley wrote:
> I'm finally getting around to forming standalones and I have some
> problems in regard to both Mac and windows but to the Mac problems
> first. I am working wit a Macbook pro using OS 10.6.6. I have
> livecode 4.5.2,Enterprise.
> 1.I have a card which has a button to go to the next card. That card
> has a short videoclip which is shown in the center of a window over a
> background image. When the clip stops it goes to the next card. It
> works fine until I make the standalone, then the first time that card
> opens the movie is in the upper left of the window, only the lower
> right of the movie is visible. When it ends it goes to the next card.
> If I then use the keyboard arrow to return to the movie card the clip
> is centered and from then on it remains centered, whether I use the
> button or the keyboard to return to the movie card.?

It's hard to say without more info about your scripts. What it sounds 
like, as a guess, is that you have some kind of positioning handler in a 
preOpenCard, openCard, or some other handler, and that on the first 
startup the messages are locked so it doesn't run. That could cause the 
video positioning to fail.

Do you have any handlers that position the video?

> 2. I have a number of files containing short texts which are shown on
> 8 different cards. I response to button click the texts from
> different files are shown in the same "info" text field. There are
> also a number of images which are changes in response to button
> clicks. It works fine until I make the standalone.
> I have all the information files and the image files in a resource
> folder. When I set up the Standalone setup copy files I indicate the
> Resource file, but when I look at the Resource file in the content
> folder of the standalone bundle only a limited number of the files in
> the folder are included. Is there a limit on how many files will be
> included in the standalone. If so is there an alternate approach to
> solve the problem?

I'm a little confused. You mention a Resource file, but also a folder of 
resources. What is included in the Copy Files list exactly?

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list