how to insert a preloader
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
how to insert a preloader
hallo,
is there a predefined function in livecode that i can use to show the user (while he is seeing the splash screen) that the data is loading in the background ?
best regards
fred.
is there a predefined function in livecode that i can use to show the user (while he is seeing the splash screen) that the data is loading in the background ?
best regards
fred.
Re: how to insert a preloader
Why not just use a progress bar on the splash screen itself? It is up anyway, and nothing needs to be saved there (the progress bar values will be reloaded and updated anew each session).
Craig Newman
Craig Newman
Re: how to insert a preloader
thank you for your answer craig.
how do i activate that progress bar on the spalsh screen?
is that something i have to set in the standalone settings or do i have to code that by myself?
how do i activate that progress bar on the spalsh screen?
is that something i have to set in the standalone settings or do i have to code that by myself?
Re: how to insert a preloader
Not Craig here....
...but yes, you will have to "roll your own" code to do what you want.
I've attached a really simple sample stack that should get you started in the right general direction.
-Doc-
...but yes, you will have to "roll your own" code to do what you want.
I've attached a really simple sample stack that should get you started in the right general direction.
-Doc-
- Attachments
-
- SampleSplashStack.zip
- (773 Bytes) Downloaded 289 times
Re: how to insert a preloader
Hi Fre,
When you quit, write the name of the current user to the "CurrentUser.txt" file
All the best
Jean-Marc
You can read a text file "CurrentUser.txt" with the username at preopenstack and an other text file with the list of users.is there a predefined function in livecode that i can use to show the user (while he is seeing the splash screen) that the data is loading in the background ?
When you quit, write the name of the current user to the "CurrentUser.txt" file
All the best
Jean-Marc
https://alternatic.ch
Re: how to insert a preloader
@doc
thanks for the sample stack. now i know that there is a progress bar in the tools palette of livecode. that is great!
do you know if such a progress bar is working on an device ?
if i test my app on the simulator, i see only a black rectangle where the progress bar should be.
i tryed to change settings of the progress bar in the inspector, but i could not get it to work.
thanks for the sample stack. now i know that there is a progress bar in the tools palette of livecode. that is great!
do you know if such a progress bar is working on an device ?
if i test my app on the simulator, i see only a black rectangle where the progress bar should be.
i tryed to change settings of the progress bar in the inspector, but i could not get it to work.
Re: how to insert a preloader
Hello fre,do you know if such a progress bar is working on an device ?
if i test my app on the simulator, i see only a black rectangle where the progress bar should be.
i tryed to change settings of the progress bar in the inspector, but i could not get it to work.
I'm sorry, but I do not have any of the mobile platform capabilities and cannot answer...
...maybe someone that has access to the info will chime in here with and answer or if not, you can ask again down in the iOS area.
Best regards,
-Doc-