Hi Yuri,
Thank you for your quick reply.
As I get a JSON back from our application with an input value
How do I pass this back to puzzle?
my current function
app.ExternalInterface.parse_selections = function (selections) {
var colorInputValue = ( selections[‘COLOR’] != undefined ) ? selections[‘COLOR’] : ‘CHROME’ ;
console.log(“colorInputValue” + colorInputValue);
};
The color selection is right as I can see it in my logger I am not sure how I can get puzzle to trigger when parse_selections function is called and to pickup the JSON in the dictionary?
I probably should add we had something like “when called from JS as” but I can’t find that in puzzle(See attachment).
Many thanks,
Jortijn