Hi,
In runtime viewer,there is option (enable java script,enable java applets,enable activex controls) check whether you enabled or not,if yes,please rerecord the script,dont do any chnages run it again,and check in run time viewer whether it is coming or not