Quick links:
F-IN-BOX DLL Edition Home Page
| Buy license
| Welcome to our forum!
| Ask your question
| Help on the Web
F-IN-BOX DLL Edition Help >> Native Flash ActiveX Interface >> Methods SetVariable
Description
Sets the value of the Flash variable specified by name to the value. Type of both arguments is string.
Message
[ C++ ]
FPCM_SETVARIABLE Structure
[ C++ ]
struct SFPCSetVariable { // [in] struct { LPCTSTR lpszBuffer; } name; // [in] struct { LPCTSTR lpszBuffer; } value; // [out] HRESULT hr; }; Example
[ C++ ]
void InvokeSetVariable(HWND hwndFlashPlayerControl, LPCTSTR name, LPCTSTR value) { SFPCSetVariable info; info.name.lpszBuffer = name; info.value.lpszBuffer = value; ::SendMessage(hwndFlashPlayerControl, FPCM_SETVARIABLE, 0, (LPARAM)&info); if FAILED(info.hr) // Error { // ... } else // OK { // ... } } Flash versions
3: supported
4: supported 5: supported 6: supported 7: supported 8: supported 9: supported Copyright © Softanics. All rights reserved. F-IN-BOX is a trademark of Softanics. Macromedia and Shockwave Flash are trademarks of Adobe
Quick links:
F-IN-BOX DLL Edition Home Page
| Buy license
| Welcome to our forum!
| Ask your question
| Help on the Web
|