Those are very good suggestions, but I already have the server architecture in place. I have one web service where I will keep the page flipped events I want to have one client (student) flash which will receive page events from the server And one control client (teacher) flash which will send the web service flip events.
For example when I try building this Main class in Flex Builder (after fixing the ; error) http://lists.gnu.org/archive/html/swftools-common/2009-02/msg00141.html
and then try to put my swf into its viewport control swfcombine -f Main.swf viewport=LowLatencyData.swf -o test.swf
I get the WARNING Didn't find anything named viewport in file. No substitutions will occur.
I can't find one working example of making my own viewer in actionscript, and I don't know how to do externalinterface in sc.
Help would be greatly appreciated.