Just found this file in the Hang Seng Indexes website. You can just write a simple program to decode it to get the latest Hang Seng Stock Index.
Here is a Flash MX sample that runs only in a local machine.
Here is another Flash MX sample that also sends the stock index to a Pd patch (zipped version) through socket and netreceive commands.
The Flash movie first uses a loadVars to retrieve the file from the remote site at http://www.hsi.com.hk/. It then extracts the Hang Seng Index through a number of string commands. After the index is ready, it sends the number to the Pd patch with an XMLSocket object. A silly step is done to bypass the byte of value zero where Flash MX inserts at every end of send command. The Pd patch just runs a netreceive command on the same machine (localhost) with a port number 8888. You need to be sure that the port 8888 is not blocked by your personal firewall.
Here is a Flash MX sample that runs only in a local machine.
Here is another Flash MX sample that also sends the stock index to a Pd patch (zipped version) through socket and netreceive commands.
The Flash movie first uses a loadVars to retrieve the file from the remote site at http://www.hsi.com.hk/. It then extracts the Hang Seng Index through a number of string commands. After the index is ready, it sends the number to the Pd patch with an XMLSocket object. A silly step is done to bypass the byte of value zero where Flash MX inserts at every end of send command. The Pd patch just runs a netreceive command on the same machine (localhost) with a port number 8888. You need to be sure that the port 8888 is not blocked by your personal firewall.

bryan, you rules!!!!!!!!!!!!