Where to put needed resources
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Where to put needed resources
In many other programming environments (Xcode for instance) you add resources that your project will need like images, sounds and so on to your project. How do you do corresponding thing in LC? I was thinking of having a card called Resources, which user never sees, but where I could import my controls. Is that a good way to do it, or is there some better way?
uelandbob@gmail.com
Re: Where to put needed resources
Depends the number of ressources and what you want about security for your app.
For an app with many texts, images and sounds (> 3000), I do this:
All images, texts and sounds are referenced to a file except img used as icon which are in a cd "cMyStoreBtnImages" of the main stack.
That is only a way. It is also possible to use the main stack an other stack or substack to store all ressources.
Best regards
Jean-Marc
For an app with many texts, images and sounds (> 3000), I do this:
All images, texts and sounds are referenced to a file except img used as icon which are in a cd "cMyStoreBtnImages" of the main stack.
That is only a way. It is also possible to use the main stack an other stack or substack to store all ressources.
Best regards
Jean-Marc
https://alternatic.ch
Re: Where to put needed resources
Thanks Jean-Marc, very good advice. But could you explain what you mean by
I do not understand what this means. What kind of file are you referring to? A single file or what?All images, texts and sounds are referenced to a file
uelandbob@gmail.com
Re: Where to put needed resources
Yes. SorryWhat kind of file are you referring to? A single file or what ?
I mean "are referenced to files"are referenced to a file
Single file for texts (.txt), images (.png) and sounds (.aif"), except images used as icon for btns
https://alternatic.ch