Topic: sh script called from flash widget executes repeatedly
Strange issue here.
I am calling my test.sh script from flash like this:
var test_xml:XML = new XML();
test_xml.load('http://*chumby*/cgi-bin/custom/test.sh');
Testing the widget from outside the chumby, the test.sh gets executed once (exactly how i want it).
BUT testing the widget from the Chumby test.sh gets executed repeatedly.
I can only think of two possible reasons:
1. The load function from flash is constantly trying to acces test.sh (and therefore executing it all the time)
2. The sh script once called, runs itself in an endless loop.
What's starnge about this, is that it only appears when ran from the chumby.
I would need some help to figure out what the source of the error is and how to prevent it from running more than once.
Thanks in advance!