Page 1 of 1
can i use a progress bar on a device ?
Posted: Tue Feb 08, 2011 2:17 pm
by fre
hello,
i want to use a live code progress bar on the iphone.
does anybody 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.
best regards
fred.
Re: can i use a progress bar on a device ?
Posted: Tue Feb 08, 2011 2:38 pm
by Klaus
Hi Fed,
yes you can use scrollbars on iDevices, BUT all LiveCode objects will show the "Motif" (Unix)
look and feel on iOS, in other words: it will looks shitty!
I would create a rectangular graphic with a nice bitmap (gradient or whatever) effect and then
resize this one as neccessary instead of a scrollbar.
Know what I mean? Should not be to complicated.
Best
Klaus
Re: can i use a progress bar on a device ?
Posted: Thu Feb 10, 2011 6:42 am
by RickD
Hi fre:
Here is a sample custom iOS progress bar that you can use and expand as needed.
Cheers
Re: can i use a progress bar on a device ?
Posted: Thu Feb 10, 2011 8:43 am
by ludo
RickD wrote:Hi fre:
Here is a sample custom iOS progress bar that you can use and expand as needed.
Cheers
Hello,
Based from your stack (for the presentation) and the Marty Slider's stack (on revOnline) i have made an iOS Slider.
Re: can i use a progress bar on a device ?
Posted: Thu Feb 17, 2011 5:18 pm
by fre
hallo,
thanks for the interesting example stacks.
i would like to explain my problem more exactly. i have to play sound in my project. i do that with the following code:
Code: Select all
play specialFolderPath("engine") & "/sound/sound.mp3" looping
when this happens, i have a break of any activity of a few seconds. the sound file is about 1.8 megabyte in size. i would like to show a progess bar during that time. the problem is, that i can only do one thing, play the sound or run the animation. when i show the animation first, i have the break after the animation. when i start the sound, i have the break first.
is it possible to do both in a multitasking way ?
best
fred.