help for developing a javascript plugin

  • Hi I need help in developing a javascript plugin I don't know how to activate in the virtual tour becouse i've added this:

    Code
    <action name="startup">
    		addplugin("myplugin");
    		if(startscene === null, set(startscene,get(scene[2].name)) );
    		
    		loadscene(get(startscene),null,MERGE); 
    		 
    	</action>

    and this:

    Code
    <scene name="s3" onstart=" set(plugin[myplugin].visible,true);">

    I don't know how to execute it in the virtual tour, could you help me??? thank you *confused*

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!