Page 1 of 1
My app takes a long time to open
Posted: Sun Feb 15, 2015 8:19 am
by jorgecaballero
My app takes a long time to open and is heavy, 43 MB
It is a book of about 200 pages, with some images and music mp3.
That I can do to make it faster and lighter?
...
Re: My app takes a long time to open
Posted: Sun Feb 15, 2015 8:42 am
by SparkOut
How are the images and music stored? As part of the app file or as referenced assets?
Re: My app takes a long time to open
Posted: Mon Feb 16, 2015 2:03 am
by jorgecaballero
.
The images are part of the app, import to stack,
and the mp3 music are add in copy files.
Is the only way i know
...
Re: My app takes a long time to open
Posted: Mon Feb 16, 2015 2:21 pm
by ChrisMukrow
You can do the same for images, add images in the copy file section. Then create an empty image (ImageHolder) and reference to the "real" image by script:
Code: Select all
set the filename of image "ImageHolder" to specialFolderPath("engine") & "/images/1.jpg"
Re: My app takes a long time to open
Posted: Mon Feb 16, 2015 2:41 pm
by Klaus
Hola jorge,
better directly use relative pathnames for your images, too, no scripting neccessary, check this:
http://forums.livecode.com/viewtopic.ph ... es#p111641
Best
Klaus