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

**URL:** <https://forum.kirupa.com/t/fscommand-how-can-i-define-my-own-commands-and-args/209860>\
**Category:** Uncategorized\
**Created:** [December 12, 2006, 10:04pm UTC](https://forum.kirupa.com/t/fscommand-how-can-i-define-my-own-commands-and-args/209860 "2006-12-12T22:04:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lariat1997](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@lariat1997](https://forum.kirupa.com/u/lariat1997)\
**Post date:** [December 12, 2006, 10:04pm UTC](https://forum.kirupa.com/t/fscommand-how-can-i-define-my-own-commands-and-args/209860/1 "2006-12-12T22:04:00Z")

</div>

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!
