Fscommand()...how can I define my own commands and args?

Hey all,

I am a bit embarrased to admit that I am not familiar with fscommand() beyond it’s normal use of Flash’s predefined commands like:

quit
fullscreen
allowscale
showmenu
exec
trapallkeys

I’ve used many of the predefined ones, but I am in need to understand how our previous programmer used this function.

I have a ‘wrapper’ app that holds my .swf file. The .swf file sends variables to the ‘wrapper’ to let it know its’ progress (page turner). I need to be able to capture a variable to let the user know which page they’ve viewed. I can do that on my own.

All I need help with is how to send a variable to an external application using fscommand(). I do understand this has been deprecated with the ExternalAPI, but I need to review our legacy data and it is written with fscommand(). The ‘wrapper’ is not an HTML page, but an application built in C++.

Thanks!