October 25, 2011 at 7:43 PM #1 Hi,I have some issues using "nested" functionsthis works: Code onclick="js(tour.createHotspot())" Code tour = new Tour(); var Tour = function(){ return{ createHotspot: function(){ this.getCurrentLocation().createHotspot(); } ... etc } } but this doesnt Code onclick="js(tour.getCurrentLocation().createHotspot())" the code works, but never transcends to the second function()
November 4, 2011 at 2:56 PM #2 Hi,calling such is not possible with the ExternalInterface of the Flashplayer (the flash interface behind the js() action),only one function with arguments can be called,see here:http://help.adobe.com/en_US/FlashPla…html#call%28%29best regards,Klaus