When I try to open a program on my desktop via an AMS flash object, it opens two instances of the prog. Not good.
To start, I created a simple flash btn with the action script code:
Next, I put the Flash object on an AMS page and added the actions to get the property variable for the fscommand command. Next I used an IF statement to check the property 'On Fscommand.' If it matched the IF, I ran an Open.File on a path leading to the Access database file (in this case).Code:On (release){ fscommand("test") }
I've tried variations like placing a RETURN statement following the Open.File action, changing the property variable immediately following the Open.File command, placed a pause after the get.property command etc. - But it seems the fscommand is firing more than once at a single click of the button.
Two methods produced the desired result:
1) I placed a message box just after the get.property command line in the code. That seems to hang the execution long enough to keep the flash from sending the message twice...
2) If I move the mouse out away from the button 'hot spot' immediately after clicking it.
Any insight appreciated.

