[APT v1.1 beta 7] Failure to write swfobject folder  

This forum is fully dedicated to Autopano Tour. Bug report as well as feature discussion.
no avatar
mediavets
Moderator
 
Posts: 14287
Joined: Wed Nov 14, 2007 2:12 pm
Location: Isleham, Cambridgeshire, UK.

[APT v1.1 beta 7] Failure to write swfobject folder

by mediavets » Mon Mar 08, 2010 12:20 am

I find that sometimes APT does not create/write the swfobject folder in target folder when saving.

However I haven't been able to decide just what the circumstances/settings are when it does vs. when it doesn't.
Andrew Stephens
Many different Nodal Ninja and Agnos pano heads. Merlin/Panogear mount with Papywizard on Nokia Internet tablets.
Nikon D5100 and D40, Sigma 8mm f3.5 FE, Nikon 10.5mm FE, 35mm, 50mm, 18-55mm, 70-210mm. Promote control.

no avatar
mediavets
Moderator
 
Posts: 14287
Joined: Wed Nov 14, 2007 2:12 pm
Location: Isleham, Cambridgeshire, UK.

by mediavets » Mon Mar 08, 2010 12:33 am

OK - I figured it out.

I edited the javaWithFullScreen.html template and saved the edited version with a different filename.

Now when I use that edited template the swfobject folder does not get created in the target folder.

It seems when creating alternative versions of the java.html or javaWithFullScreen.html templates you must also have folders (containing the swfobject folder) with the same name as the new tempates.

I suppose this made/makes sense to somebody.
Andrew Stephens
Many different Nodal Ninja and Agnos pano heads. Merlin/Panogear mount with Papywizard on Nokia Internet tablets.
Nikon D5100 and D40, Sigma 8mm f3.5 FE, Nikon 10.5mm FE, 35mm, 50mm, 18-55mm, 70-210mm. Promote control.

User avatar
gkaefer
Member
 
Posts: 3386
Joined: Tue Jun 09, 2009 1:01 pm
Location: Salzburg

by gkaefer » Mon Mar 08, 2010 12:35 am

mediavets wrote:I find that sometimes APT does not create/write the swfobject folder in target folder when saving.

However I haven't been able to decide just what the circumstances/settings are when it does vs. when it doesn't.

I can reproduce that bug if I use a new destination folder where the swfobject folder never was created before (manually or via APT)
and when using a userdefined HTML Template.

Georg

no avatar
Adrien F
Member
 
Posts: 264
Joined: Fri Jul 03, 2009 9:18 am

by Adrien F » Mon Mar 08, 2010 9:56 am

Hello,
You are right mediavets. All the resources for your HTML template you want APT to export must be within a folder having the same name as the template itself.
That is the reason why there exists two folder called java/ and javaWithFullScreen/ containing exactly the same thing (the swfobject folder), there is one for each java template (HTML templates we provide don't need any external resource).
This way if you define a HTML template containing calls to various javascript object, png pictures, or anything else, put them all in a folder having the same name as your template file once for all and APT will export them.

no avatar
mediavets
Moderator
 
Posts: 14287
Joined: Wed Nov 14, 2007 2:12 pm
Location: Isleham, Cambridgeshire, UK.

by mediavets » Mon Mar 08, 2010 10:00 am

Adrien F wrote:Hello,
You are right mediavets. All the resources for your HTML template you want APT to export must be within a folder having the same name as the template itself.
That is the reason why there exists two folder called java/ and javaWithFullScreen/ containing exactly the same thing (the swfobject folder), there is one for each java template (HTML templates we provide don't need any external resource).
This way if you define a HTML template containing calls to various javascript object, png pictures, or anything else, put them all in a folder having the same name as your template file once for all and APT will export them.

OK - that's good, and it makes sense, but Im sure you agree that it needs to be properly documented.

Could I also use this folder as a repository for other assets I might use for the tour such as images or audio or video referenced from hotspots?

I don't think this would work but something like this would be helpful.

What I'd really like I guess would be that assets referenced from the tour stored in the local filesystem - which might include networked storage - would be copied to a tour-specific location when the tour was 'exported' or saved or via some specfic 'consolidate' command. This would avoid the risk of these assets being lost or unavilabale when returning to do further work on a tour at some later date. I have used various multimedia and presentation programs in the past that had such a feature.
Last edited by mediavets on Mon Mar 08, 2010 10:10 am, edited 1 time in total.
Andrew Stephens
Many different Nodal Ninja and Agnos pano heads. Merlin/Panogear mount with Papywizard on Nokia Internet tablets.
Nikon D5100 and D40, Sigma 8mm f3.5 FE, Nikon 10.5mm FE, 35mm, 50mm, 18-55mm, 70-210mm. Promote control.

no avatar
Adrien F
Member
 
Posts: 264
Joined: Fri Jul 03, 2009 9:18 am

by Adrien F » Mon Mar 08, 2010 10:38 am

mediavets wrote:Could I also use this folder as a repository for other assets I might use for the tour such as images or audio or video referenced from hotspots?

Unfortunately not. Assets used in the tour are under the tourdata/ folder hierarchy, those included in the html template folder are copied to the same folder as the flash. A better folder management is part of our internal development plan.


Return to Archive

Who is online

Users browsing this forum: No registered users and 1 guest