#### c++ to flash calls:
ex->GetErrorMessage(szCause, 255);
strFormatted = "The program exited because of this error: ";
strFormatted += szCause;
AfxMessageBox(strFormatted);
}
END_CATCH
in Actionscrīpt now :
#### flash to c++ calls:
void CFlashPlayerDlg::OnFSCommand(LPCTSTR command, LPCTSTR args)
{
AfxMessageBox(command);
}
void CFlashPlayerDlg::OnFlashCall(LPCTSTR request)
{
AfxMessageBox(request);
}
in Actionscrīpt :