Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

Yomas

Fortgeschrittener

  • »Yomas« ist der Autor dieses Themas

Beiträge: 190

Wohnort: Anglet, France

  • Nachricht senden

1

Donnerstag, 9. Juni 2011, 01:56

Drag and drop plugin ?

Hi all ^^
I'm just asking me the question if I could be possible to make a drag and drop plugin
without AS3 coding...
That would be very usefull but as I can easily think of a onclick move plugin the drag and drop
stuff seems not to be possible without AS3 :'(
Maybe making a light AS3 swf drag and drop button, and attach to it another plugin by x and y coordinates
would be more customizable and flexible ?
If someone has an idea or has arleady make it, that would be great to share ^^
Thanks in advance.
Regards.
My website: www.eboovisite.com, See me also on www.Viewat.com, Facebook and Twitter

Yomas

Fortgeschrittener

  • »Yomas« ist der Autor dieses Themas

Beiträge: 190

Wohnort: Anglet, France

  • Nachricht senden

2

Donnerstag, 9. Juni 2011, 02:08

Maybe making a light AS3 swf drag and drop button, and attach to it another plugin by x and y coordinates
would be more customizable and flexible ?


Ok that was stupid cause we need to declare a container for the swf button wich is not possible to just add it on krpano stage ^^
Exept if we overlay the pano 100% with a transparent mask containing the button, but this way it looses it sense ^^
Ideas are welcomed !!
My website: www.eboovisite.com, See me also on www.Viewat.com, Facebook and Twitter

Zephyr

Profi

Beiträge: 991

Wohnort: Netherlands

Beruf: Web developer

  • Nachricht senden

3

Donnerstag, 9. Juni 2011, 13:17

I've made something like this, but with a hotspot, moving a plugin should even be simpler.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
<plugin 
ondown="set(dragging,true); dragplugin();"
onup="set(dragging,false);"
onhover="showtext(click and hold to drag the plugin)"
/>
<action name="dragplugin">
  if(dragging, 
		set(x, get(mouse.x));
                set(y, get(mouse.y));
		<!-- loop it -->
		delayedcall(0,draghotspot(%1));
	);
</action>
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

4

Donnerstag, 9. Juni 2011, 13:38

Hi,

for dragable plugin or hotspot elements see also here:
Dragable plugins/hotspots

best regards,
Klaus

Yomas

Fortgeschrittener

  • »Yomas« ist der Autor dieses Themas

Beiträge: 190

Wohnort: Anglet, France

  • Nachricht senden

5

Freitag, 17. Juni 2011, 02:21

Hi both !!
Thanks for reply ^^
That is so cool, and will be very usefull !! *thumbsup*
I've was thinking of it, and Krpano made it ;-)
Thank you infinitly !!
Regards.
My website: www.eboovisite.com, See me also on www.Viewat.com, Facebook and Twitter

Yomas

Fortgeschrittener

  • »Yomas« ist der Autor dieses Themas

Beiträge: 190

Wohnort: Anglet, France

  • Nachricht senden

6

Freitag, 17. Juni 2011, 02:24

PS: I'm trying to help on this thread, could you give a look please ?
I've tried many ways and can't get it working *cursing*
Thanks again !!
My website: www.eboovisite.com, See me also on www.Viewat.com, Facebook and Twitter

tommo77funk

Schüler

Beiträge: 150

Wohnort: London

Beruf: Photographer

  • Nachricht senden

7

Freitag, 17. Juni 2011, 12:16

hey Yomas,

Thanks soooo much for asking about my thread - its so bizaare and fustrating I have been trying so many things, but have not got there, which is why i have not got in touch sooner. I am going to ask a developer perhaps if it is posisble with a flash plugin, anyway I will contact you off list so you can see the project it is for which will be released hopefully one day soon, but you deserve to see now for all your hard efforts.

Mnay thanks again,

tom