Thank you for your post.
Set Field By Name works fine with Instant Web Publishing. I suspect that the value from $myParam is the culprit. Therefore, can you tell me more about what value is being passed with Get (ScriptParameter) ? Is this being done through a button? Any additional information you can provide that will help me duplicate the problem would be appreciated.