roypardi / panosalado

Automatically exported from code.google.com/p/panosalado
1 stars 1 forks source link

"Loading Preview" is displayed on cylinder panoramas #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. The problem is that whenever I want to load a cylindrical panorama
image, when it's finished loading, it continues to say "Loading Preview" on
the lower left corner of the screen.
2. For example, using the 'example' package, set it so that after the
preview space, it loads a cylindrical panorama. It should continue to say
"Loading Preview"

What is the expected output? What do you see instead?

Since the preview has been loaded and is over, the "Loading Preview" text
should go away, as it does in the 'cube' panorama in the example.

What version of the product are you using? On what operating system?

I am using rev_128 on Windows Vista SP1, and this problem is seen on both
Internet Explorer and Firefox. The Adobe Flash plugin version on my
computer is 10.0.12.36

Please provide any additional information below.

I have found a work-around to this problem. If I load a cube panorama (even
for a very short period of time), the "Loading Preview" disappears.

Original issue reported on code.google.com by laser3y3s on 30 Dec 2008 at 1:57

GoogleCodeExporter commented 8 years ago
I have the same issue on MacOSX 10.5.6 running Firefox 3.0.5 as well as Safari 
3.2.1.
It occurs on cylinder and equirectangular pano's. My flash plugin is 10.0.12.36.

The "Loading Preview" message is always displayed, whether or not a preview 
image is
specified.

Original comment by hvdw...@gmail.com on 31 Dec 2008 at 10:42

GoogleCodeExporter commented 8 years ago
I also have this problem... Anyone have any solution or fix?

Original comment by martijnd...@ziggo.nl on 28 Jan 2009 at 10:03

GoogleCodeExporter commented 8 years ago
Hi all:

There is a UserInterface Actionscript file provided with the source code. This 
contains the listeners for loading & 
load progress. This can be edited any way you see fit, to handle loading of 
different types of panoramas or 
scenarios.

As it is provided, the example's loading logic is geared for cubes.

Original comment by cheatham...@gmail.com on 28 Jan 2009 at 2:57

GoogleCodeExporter commented 8 years ago

Original comment by cheatham...@gmail.com on 1 Apr 2009 at 7:55

GoogleCodeExporter commented 8 years ago
If anyone needs to get this working but can't figure out how, I'll share the 
method that solved this problem for me. Open up 
UserInterface.as change the following lines:

            if ( e.itemsTotal > 1 ) {
                loadingText.text = "LOADING: "+theWeightLoaded+"% (cube face "+e.itemsLoaded+" of "+[e.itemsTotal-1]+")";
            } else {
                loadingText.text = "Loading Preview";
            }

            if ( theWeightLoaded >= 99 && e.itemsTotal > 1) {
                // set the stage with our buttons and such:
                resizeHandler();
                // hide this text:
                loadingText.visible = false;
            }

To now be:
            if ( e.itemsTotal > 1 ) {
                loadingText.text = "LOADING: "+theWeightLoaded+"% (cube face "+e.itemsLoaded+" of "+[e.itemsTotal-1]+")";
            } else {
                loadingText.text = "LOADING: "+theWeightLoaded+"%";
            }

            if ( theWeightLoaded >= 99) {
                // set the stage with our buttons and such:
                resizeHandler();
                // hide this text:
                loadingText.visible = false;
            }

By essentially changing two lines it got the loading behaviour working as 
expected for cylinders.

Original comment by mand...@gmail.com on 10 Nov 2009 at 4:48