This is very hard advenced tutorial.
First of all, MFC skill is need.
in the part of flash,work step is 2:
first, variable is match with MFC Application.
and variable is defined in root.
second, send data variable is used with fscommand.
ActionScript Code:
fscommand(command,argument);
in the part of MFC (VC++6)
make MFC Application Project (exe).
and insert ActiveX Control, "Shockwave Flash Object"
and draw flash on dialog.
and insert member variables and FSCommand Event handler in Class Wizard.
and next is resizing dialogbox and flash size.
In OnInitDialog function on DialogBox class, used MoveWindow and ShowWindow functions to resize it.
and in FSCommand Event handler callback functions, catch variables from flash.
and getVariable, setVariable is also able.