
March 1st, 2004, 05:55 AM
|
|
Registered User
|
|
Join Date: Mar 2004
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Flash 2004 and Visual C++ interactivity
Within the flash documentation it says it has the ability to communicate with C++ using the fscommand action. It also says that this can be accomplished with the use of ActiveX controls. Say I have a simple button and textarea in flash. I want to be able to pass a value from within the textarea to a C++ dll file when the button is clicked. The button code could be the following:
on (click) {
fscommand("messagebox", "This is a message from a box called from within Flash.");
}
How then do I set up activeX controls to be able to handle this fscommand and what code is also needed in C++ to be able to accept this string? Could this process also work in reverse sending a string from C++ to the Flash document? Thx
|