You are not logged in.

1

Monday, November 19th 2012, 8:58am

krpano progress.progress default not 0.0

hi ,I want to do a load progress bar,I used this attribute progress.progress,but this default value is not 0.0,is 1.0, is this a bug?
trace("progress : "+Math.floor(core.get("progress").progress*100) in Timer

the result is:

progress : 100
progress : 0
progress : 33
progress : 33
progress : 100
progress : 100
progress : 100

*sad*

2

Wednesday, November 21st 2012, 5:24pm

Hi,

are you maybe first loading a xml and then a scene?

The progress value will always go from 0 to 100, even when there are no images in the current pano (like any 'image-empty' startup xml).

Best regards,
Klaus