PDA

View Full Version : Editor plug-in


jlounds
05-31-2007, 03:03 PM
Hello everyone!

Thanks again, Denis, for an awesome program.

I was wondering if you could expound on how the editor (WYSIWYG) plugin works -- I was able to make the gray box with some icons appear in the upper-right, but clicking on them doesn't do anything.

Is there a way to simply click somewhere in the player and have it spit out the co-ordinates? I guess I am not sure how it works, and the text file with the plugin only describes the way to insert it, not use it.

Thanks in advance...

Jeremy

Denis
06-01-2007, 10:29 AM
Ok.
You can open, for example, examples/distorted.xml
and find this line:
layer_2 = files/hotspots.swf
this is a Hotspots plugin's loading,
add another line after this:
layer_10 = ../plugins/editor.swf
This will load Editor for distorted.html :)

"../plugins/editor.swf" - this is a path to Editor plugin, you can copy it to "files" and use "files/editor.swf"

You can make this feature for any panorama application online or offline or embed or anything...

jlounds
06-01-2007, 05:02 PM
Denis,

Super, I like it!

One quick question -- when I click on "Copy XML", I assume that means to my clipboard. But when I paste, it gives me an old snip of whatever.

Is this button not working, or what am I doing wrong?

Thanks again...

jlounds
06-01-2007, 06:15 PM
Never mind, I got it working -- it looks like you have to have it uploaded to the server instead of just loading it locally.

Jeremy