Hi everybody,
within a plugin I'd like to figure out when a panorama is completely load.
Therefore I access the variable
progress with:
|
Source code
|
1
|
var progress:* = krpano.get("progress");
|
The first time I access the progress-variable everything is fine,
but when I try to check, for example, progress.loaddone in a while-loop
the variable is not reloaded.
|
Source code
|
1
2
3
4
5
|
var progress:* = krpano.get("progress");
while(!progress.loaddone)
{
progress = krpano.get("progress");
}
|
What am I doing wrong?
Markooze