FMS server side code with flash as3 - how to ping?

Hi,

Can someone please show me how to use a .asc (server-side script) with a ping function that updates a text component on the client side (.swf). If you can, I request that the explanation is in AS3 and FMS2. Seems simple enough but I’m new to .asc files and how to implement them. This is a functionality that I need and it should serve to help me understand other aspects of FMS server-side code.

Thanks,

waffe