panorama software,virtual tour software
Alternate Text
Joined: 2008-10-10
Send Msg:
Posts: 12
2010-08-12
#1

Loading Bar

I ulpload some .swf standalones files to my website ( http://www.elcirculoperfecto.com ) created in Panoweaver 6 Pro.

The situation: The loading bar from the .swf does not appear when the loading process is happening. When the .swf appears, the loading bar appears too for about 1 or 2 seconds and then dissapear.

This is a problem because it looks like nothing is happening for a few seconds. That is going to cost me a lot if I can't fixed this properly.

There is anyone can help me?
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2010-08-12
#2

Please supply a link so we can see what is happening with different browsers. You are displaying the .swf via HTML right?

Regards, Smooth [8D]


Alternate Text
Joined: 2008-10-10
Send Msg:
Posts: 12
2010-08-12
#3
Thanks for the quick response Smooth.

Here is the link:
elcirculoperfecto.com

And yes I am displaying the .swf via HTML.
Thanks for your time.

Best regards,

Circulo


Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2010-08-13
#4

Mate,

Your .swf doesn't exist on your homepage _swf/360Cq1.swf so that one will never show until it is uploaded or move to the correct directory.

Secondly your code is requesting Flash version 6.0.65.0 when really today we are using Flash 9 and higher.

When I view your tour located at http://www.elcirculoperfecto.com/virtual.html the loader only flashes as you say briefly after a lot of white nothing. I would suggest you update your code first and see if this helps.

My guess is you are seeing local cached files.

Correct W3C complient code (for all browsers) could be:

<object type="application/x-shockwave-flash" width="920" height="375" data="_swf/360Bh2.swf">
         <param name="quality" value="high">
         <param name="allowscriptaccess" value="always">
         <param name="allowFullScreen" value="true">
         <param name="menu" value="false">
         <param name="wmode" value="opaque">
         <param name="swfversion" value="9.0.28.0">
         <param name="movie" value="_swf/360Bh2.swf">
     <div>
         <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
         <p><a title="
http://www.adobe.com/go/getflashplayer">
         <img src="
http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33"></a></p>
     </div>
</object>

Regards, Smooth [8D]


Alternate Text
Joined: 2008-11-10
Send Msg:
Posts: 315
2010-08-13
#5
Smooth you did the same thing I was going to do - look at the code and you are spot on (as always) [:)]
Lee Scott - Nikon D3/D300/D5000 - |shaved Nikkor 10.5 mm| Manfrotto 055XPROB tripod /322RC2 Grip - Mrotator TCS |CS5 | PW7 & TW6.5 Pro
----
To err is human ... to not try is just plain lazy
Alternate Text
Joined: 2008-10-10
Send Msg:
Posts: 12
2010-08-17
#6
Thanks. I tried the code you give it to me but is not working.

I uploaded again the swf files. Now at least they are opening but the loading bar doesn't appear until the end.

Well thanks for your efforts.

Circulo
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2010-08-18
#7

Both pages are still showing old outdated code.

Please try again with this code:

<object type="application/x-shockwave-flash" width="920" height="375" data="http://www.elcirculoperfecto.com/_swf/360Rm2.swf">
<param name="quality" value="high">
<param name="allowscriptaccess" value="always">
<param name="allowFullScreen" value="true">
<param name="menu" value="false">
<param name="bgcolor" value="#FFFFFF">
<param name="movie" value="http://www.elcirculoperfecto.com/_swf/360Rm2.swf">
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a title="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33"></a></p>
</div>
</object>

I'm not sure this will fix the load bar issue but it is at least up to date code. Your .swf is under 1mb so loads extremely fast for me. I can't really tell if I see the load bar at the very beginning. Maybe you should try the "tile" image loading with say a gray preview and see if this help?

Regards, Smooth [8D]


Alternate Text
Joined: 2010-11-08
Send Msg:
Posts: 10
2010-11-17
#8
Ok, I am actually having this exact same problem. Whether I use the swfObject code or the code you suggest, the load bar doesn't appear until the panorama is almost finished loading. This results in a long wait through plain, blank, white space.
Any other ideas?

On this page, the first three are loaded with swfObject and the fourth one is loaded with your recommended code.
Check it out
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2010-11-18
#9

The introduction of standalone .swf was for people to be able to use it within Flash websites or CD display. For normal .html pages you are best suited to using the regular Flash output method.

That said, Easypano need to look into "why" the loader doesn't work correctly with standalone files.

For you though, I see no reason why you are using the standalone version other than want. Swap to normal/regular Flash output and your loader will work correctly.

Regards, Smooth [8D]


Alternate Text
Joined: 2010-11-08
Send Msg:
Posts: 10
2010-11-18
#10
My thinking was that I could avoid having a folder of "resources" for every panorama. More of an organization concern than a storage space or embedding issue.
Am I correct in deducing that with the Flash VR output, I only need to have one "PWViewer.swf" file in the folder to handle all of my panoramas?
Would you just use the embed code generated by Panoweaver?

<script type="text/javascript" src="swfObject.js"></script>
<div id="flashcontent">
To view virtual tour properly, Flash Player 9.0.28 or later version is needed.Please download the latest version of <a title="http://www.adobe.com/go/getflashplayer" target="_blank">Flash Player</a> and install it on your computer.</div>
<script type="text/javascript">
var so = new SWFObject("PWViewer.swf","Green Hills Test","640","480","9.0.28","#FFFFFF");so.addVariable("base", "Green Hills Test/");so.addVariable("lwImg", "resources/360 Zen Logo.jpg");so.addVariable("lwBgColor","204,255,255,255");so.addVariable("iniFile", "config_Green Hills Test.bin");so.addVariable("progressType", "1"); so.addVariable("swfFile", ""); so.addParam("allowNetworking", "all");
so.addParam("allowScriptAccess", "always");
so.addParam("allowFullScreen", "true");
so.addParam("scale", "noscale");
so.write("flashcontent");
</script>


It seems from my searching that the accepted standard for embedding SWFs at this point is SWFobject.

Thanks,
360Zen
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2010-11-19
#11
Quote: Originally posted by 360Zen on November-18-2010
It seems from my searching that the accepted standard for embedding SWFs at this point is SWFobject.

Well, Google would have you believe that. It is an acceptable method. I would just simply use the Panoweaver/Tourweaver produced code. It works perfectly well. You do have the option of "sharing resources" to a point in the publish settings.

Still, the original problem still exists. Easypano needs to address the loader within the standalone .swf file so that it actually works as expected.

Regards, Smooth [8D]