You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, June 4th 2018, 7:19pm

How to get the result from an Action ?

hello, i would like to get the restult from an action and set it to a plugins.


ex :

onclick="set(plugin[myplug].html, get(myaction));"


I want to get to "myplug" in attr "html" the result of "myaction"

I've tried so much without any resutl the best that i've do is take the content of my action but not the result...

when i trace my action it's work well but i want to put the result on my plugins

Thx *whistling*

This post has been edited 1 times, last edit by "ChukA" (Jun 5th 2018, 2:09pm) with the following reason: i don't need this feature anymore (trace all hotspot)... and i don't found the delete button :/


2

Tuesday, June 5th 2018, 2:23pm

I've contourned the problem and put to the end of my action this code


Source code

1
	<action name="myaction" >		set(_blah calc:i put all my code there);		set(plugin[myplug].html, get(_blah));	</action>




but i think another way is better...

This post has been edited 1 times, last edit by "ChukA" (Jun 5th 2018, 3:56pm)