Go Shopping Cart Site Map User Panel and Admin English Home

Home > Easypano Forum    Easypano Forum has been upgraded.

Easypano Forum


Welcome Guest Register Login Search The Forum Display List of Forum Members
 All Forums
  Panoweaver
 
Subject Topic: Loading Bar Post Reply Post New Topic
Message posted by CirculoPerfecto on August-12-2010 at 12:11pm
View CirculoPerfecto's Profile Profile   Search for other posts by CirculoPerfecto Search   Visit CirculoPerfecto's Homepage www   Quote CirculoPerfecto Quote   Send Private Message Send Msg  
CirculoPerfecto
Avatar
Standard Member
Standard Member
Puerto Rico
October-10-2008
9 Posts
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?

Message posted by smooth on August-12-2010 at 1:25pm
View smooth's Profile Profile   Search for other posts by smooth Search   Visit smooth's Homepage www   Quote smooth Quote   Send Private Message Send Msg  
smooth
Forum Moderator
Forum Moderator
Australia
November-23-2002
5401 Posts

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]


Message posted by CirculoPerfecto on August-12-2010 at 5:54pm
View CirculoPerfecto's Profile Profile   Search for other posts by CirculoPerfecto Search   Visit CirculoPerfecto's Homepage www   Quote CirculoPerfecto Quote   Send Private Message Send Msg  
CirculoPerfecto
Avatar
Standard Member
Standard Member
Puerto Rico
October-10-2008
9 Posts
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


Message posted by smooth on August-13-2010 at 6:07am
View smooth's Profile Profile   Search for other posts by smooth Search   Visit smooth's Homepage www   Quote smooth Quote   Send Private Message Send Msg  
smooth
Forum Moderator
Forum Moderator
Australia
November-23-2002
5401 Posts

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]


Message posted by leescott on August-13-2010 at 5:30pm
View leescott's Profile Profile   Search for other posts by leescott Search   Visit leescott's Homepage www   Quote leescott Quote   Send Private Message Send Msg  
leescott
Avatar
Gold Member
Gold Member
United States
November-10-2008
314 Posts
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

Message posted by CirculoPerfecto on August-17-2010 at 5:41pm
View CirculoPerfecto's Profile Profile   Search for other posts by CirculoPerfecto Search   Visit CirculoPerfecto's Homepage www   Quote CirculoPerfecto Quote   Send Private Message Send Msg  
CirculoPerfecto
Avatar
Standard Member
Standard Member
Puerto Rico
October-10-2008
9 Posts
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

Message posted by smooth on August-18-2010 at 3:21am
View smooth's Profile Profile   Search for other posts by smooth Search   Visit smooth's Homepage www   Quote smooth Quote   Send Private Message Send Msg  
smooth
Forum Moderator
Forum Moderator
Australia
November-23-2002
5401 Posts

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]


Message posted by 360Zen on November-17-2010 at 3:44pm
View 360Zen's Profile Profile   Search for other posts by 360Zen Search   Visit 360Zen's Homepage www   Quote 360Zen Quote   Send Private Message Send Msg  
360Zen
Avatar
Standard Member
Standard Member
United States
November-08-2010
10 Posts
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

Message posted by smooth on November-18-2010 at 1:58am
View smooth's Profile Profile   Search for other posts by smooth Search   Visit smooth's Homepage www   Quote smooth Quote   Send Private Message Send Msg  
smooth
Forum Moderator
Forum Moderator
Australia
November-23-2002
5401 Posts

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]


Message posted by 360Zen on November-18-2010 at 12:45pm
View 360Zen's Profile Profile   Search for other posts by 360Zen Search   Visit 360Zen's Homepage www   Quote 360Zen Quote   Send Private Message Send Msg  
360Zen
Avatar
Standard Member
Standard Member
United States
November-08-2010
10 Posts
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

If you wish to post a reply to this thread you must first Login
If you are not already registered you must first register

Forum Jump Page of 2 Post Reply Post New Topic
Printer Friendly Version Printable version

Powered by: - Web Wiz Guide Discussion Forums