PDA

View Full Version : Comm between FS Cmd and C++ ??


bobboots
02-19-2005, 07:17 PM
I have used the flash.ocx component to embed a flash "movie" into my Visual C++ (6.0) application.

I'm using FS commands to send command and data strings from a flash application to my C++ program....and it works well in that direction.

I am trying to use the SetVariable or SetFlashVars command to return a text string to a text variable in the Flash program...but I cannot get it to work.

If anyone knows the way to set up the variable on the flash side so that it will be "global" and accessible to C++. I also need to know how to define and access the variable (the command to use, etc) on the C++ side .

Any help is appreciated.

Thanks.

~Bob

mmm..pi..3.14..
02-19-2005, 11:27 PM
well in VB.NET I've used SetVariable like this:

SetVariable("Variable Name", "Value")

Then in flash you can just call up the variable with the name you used in the app :)

Eric