View Full Version : problem with loading percentage
malay
06-21-2008, 02:48 AM
Hi friends,
I want to put loading percentage when my application loading.
Just like .... 10%completed...20%completed...
can anybody help me please?
madtux666
06-21-2008, 04:58 AM
Hi Malay,
Few months ago I have run the same issue. Unfortunately I have not found easy solution. You can consider two approaches:
1. create standard splash instantion (and customize it to meet your requirements), please read documentation for more details
2. you can delay instantion of your components (for example display small login window), in result very basic version of app will appear almost immediately, after that you can display some kind "busy cursor" (swf resource "sticked" to the mouse pointer) going round and round.
I decided to use second solution, and results are very encouraging.
Regards,
Madtux
edinc
06-22-2008, 08:27 PM
Hi Madtux,
i want to do same type 10%...15%....99%...complete. can u share your code approch...?
Thanks in advance
regards
rakesh
nicko
06-23-2008, 01:39 AM
We did something like this with a percentage and indicator, like attached picture.
I'll get developer to post code tomorrow.
madtux666
06-23-2008, 02:43 AM
Hi Edinc,
As I explained I have not found solution (feature was not important to me, so i decided to move to more interesting activities ;-)
I know, that yo are looking for progress bar with percentage, but you may find my class useful. I have attached "busyIcon" simple class, resouce is just 8 png files imported and compiled together in 8 frame long flash swf, so you can easily create your own designs.
Regards,
Madtux
nicko
06-23-2008, 03:10 PM
How about this?
<view id="projectFileProgressBar" width="200" height="24" bgcolor="#666666" visible="false">
<view x="1" y="1" width="198" height="22" bgcolor="#FFFFFF"/>
<view name="status" x="1" y="1" height="22" bgcolor="#BBBBFF"/
<text name="percent" x="5" y="3" fontstyle="bold" fgcolor="#6666FF"/>
<method name="setValue" args="value">
<![CDATA[
status.setAttribute('width', value * 198 / 100);
percent.setText(Math.round(value) + '%');
]]>
</method>
</view>
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.