|
|
Quellcode |
1 2 3 4 |
<scene album="Album 1 title" title="Scene 1 title" ...> ... <scene> <scene title="Scene 2" ...> ... <scene> <scene album="Album 2 title" title="Scene 3 title" ...> ... <scene> <scene title="Scene 4" ...> ... <scene> |
Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »hernan124« (25. Juni 2014, 23:51)
An amazing skin and design!
I know about that requirement, but it's unfortunately a bit difficult to provide that in a way that works the same in Flash and all different HTML5 browsers - but it's on my todo list of course.A plugin that let's you find the absolute position/coordinates of a layer relative to the stage, no matter what its align, edge, scale, width/height, x/y or ox/oy settings are, of it or any of the infinite parents it may have. You can also specify of what edge of the layer you want the coordinates.
Thank you Klaus!! That means a lot.An amazing skin and design!
Congratulations!
I did develop the plugin I mention (I don't know if I was very clear now that I read it again, I'll edit it). I developed it in JS first, and then ported it to AS3 with not much trouble. I saw another post that someone published a similar plugin, but it didn't work with scaled layers and the scrollarea plugin, which I needed, so I did one from scratch.I know about that requirement, but it's unfortunately a bit difficult to provide that in a way that works the same in Flash and all different HTML5 browsers - but it's on my todo list of course.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »hernan124« (24. Juni 2014, 23:22)
Sorry, I was misunderstanding - I thought you are asking for such functionality.I did develop the plugin I mention (I don't know if I was very clear now that I read it again, I'll edit it)

Yes, why not. I can't promise anything about it's potential commercial success of course, but if you want a plugin page - here is a plugin-page-template for downloading - create a plugin page using it, send it to me and I will upload and add it to the krpano plugins page:Do you think I could release these as commercial plugins?
Not in the immediate short-term yet, but in long-term I think there will be probably a build-in function for this...Klaus, about the absolute position plugin, if you are eventually going to make it a feature of Krpano I might as well make it open source, if you or anyone else is interested.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »hernan124« (14. August 2014, 19:52)
|
|
Quellcode |
1 2 3 4 5 6 7 |
<settings name="tooltip"
style="default_tooltip_style"
oy="0"
textfield_plugin_url="%SWFPATH%/plugins/textfield.swf"
abs_plugin_url="%SWFPATH%/plugins/abs.swf"
abs_plugin_alturl="%SWFPATH%/plugins/abs.js"
/>
|
You may have a look at my curent test here: http://www.zakato.com/pub/20140721/
That was a little bug in the tooltip xml, fixed!
Zitat
A. If I include "abs_plugin_url" "abs_plugin_alturl" ... I get - ERROR: decoding failed - http://www.zakato.com/pub/20140721/plugins/abs.js - and tooltips won't show up.
My bad, another bug! Fixed!
Zitat
B. Also, "oy" above doesn't seem to be parsing as a general setting. It does work good if included inside each <layer> element.
That was because of a typo regarding the alignment names in the Abs plugin, fixed too!
Zitat
C. Tooltips are showing as expected on left side and right side icons (align=leftbottom align=rightbottom), but for center bottom icons (align=bottom) the tooltip shows up on the left of the screen.
That issue of is probably related to not having the latest Krpano version as Klaus pointed out. I've tested it with the same skin on the latest version and it works fine. Try updating it (the viewer and all Krpano plugins) and see if that fixes it.
Zitat
D. I am also trying to use the new tooltip plugin to work out on thumbs in order to show up the pano title (I'm doing this because it will show too on HTML5!). In this case, the tooltip show good on starting, but does not refresh its position when scrolling.
|
|
Quellcode |
1 2 3 4 5 6 7 |
<action name="remove_help_tooltips">
set(layer[skin_btn_prev].tooltip, '' );
set(layer[skin_btn_next].tooltip, '' );
set(layer[skin_btn_thumbs].tooltip, '' );
...
set(layer[skin_btn_show].tooltip, '' );
</action>
|
|
|
Quellcode |
1 2 3 4 5 6 7 |
<action name="set_help_tooltips_eng"> set(layer[skin_btn_prev].tooltip, get(data[help_tooltip_eng_prev].content) ); set(layer[skin_btn_next].tooltip, get(data[help_tooltip_eng_next].content) ); set(layer[skin_btn_thumbs].tooltip, get(data[help_tooltip_eng_thumbs].content) ); ... set(layer[skin_btn_show].tooltip, get(data[help_tooltip_eng_hide].content) ); </action> |
|
|
Quellcode |
1 2 3 4 5 |
<data name="help_tooltip_eng_prev"> previous </data> <data name="help_tooltip_eng_next"> next </data> <data name="help_tooltip_eng_thumbs"> thumbnails </data> ... <data name="help_tooltip_eng_hide"> controls on/off </data> |
. You'll now be able to define it in the settings adding visible="true/false", and in your case now you can call this in your button's event:|
|
Quellcode |
1 |
switch(settings[tooltip].visible); |
|
|
Quellcode |
1 2 3 4 5 |
<layer name="fullscreen" style="button|tooltip" tooltip_es="Pantalla completa" tooltip_en="Fullscreen" ... </layer> |
|
|
Quellcode |
1 2 3 4 5 6 7 |
<action name="set_tooltip_source">
for(set(i,0), i LT layer.count, inc(i),
if(layer[get(i)].%1,
copy(layer[get(i)].tooltip, layer[get(i)].%1);
);
);
</action>
|
|
|
Quellcode |
1 |
set_tooltip_source(tooltip_en); |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »hernan124« (23. Juli 2014, 08:51)
Am I reading it right.... US$49.00 for the tooltips plugin?
Wow! I really don't mean to sound like a grumpy old fart or start off a thread war but that's pretty pricey. Are you going for maximum sales or just a quick few
Perhaps it includes the thumbs & album plugin or is that another US$49.00?