You are not logged in.

1

Friday, July 24th 2015, 5:43am

How to create a "edit mode"

Hi Everyone,

Sorry bother you guys, but as a beginner lots of questions.

Is there a way to create like a "edit mode" as the editor-options-plugin?
Which software do you use to edit the swf files?

My intention with this question is create for now a edit mode that allows the user create a text area, like adding a hotspot, but
instead of hotspot would be created a draggable text box.

Thanks and have a good one!

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Friday, July 24th 2015, 4:19pm

Sure,

http://krpano.com/docu/actions/#addlayer

the virtual tours are just xml and graphics.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Friday, July 24th 2015, 10:56pm

So the swf files are just graphics?
There is no code at all ?!

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

4

Saturday, July 25th 2015, 12:09am

The tour.swf file runs the code that generates the tours. All the code is in the xml file. Also flash is dead, so it's tour.js anyway.
The plugins are compiled native js code that krpano will run.

You can see how krpano works in the documentation on this website.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

5

Tuesday, July 28th 2015, 8:25am

Hi again,

The thing that I'm looking is like when you click on the, one example, " add hotspot", it opens another window with option of upload images, and same with the editor-options-plugin, I opened up the xml, and the code that I was looking for wasn't there.

Source code

1
2
3
4
5
6
<krpano bgcolor="0x000077">

	<!-- include the both plugins -->	

<plugin name="editor" url="%SWFPATH%/plugins/editor.swf" keep="true" />
<plugin name="options" url="%SWFPATH%/plugins/options.swf" keep="true" view="true" display="true" control="false" image="true" onloaded="open();" /> </krpano>



In the beginning, it does the include for the plugins, this is the code that I am running after, and also would like to know how to do, how to have access to it.

Thanks!