|
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 TGetPropertyAsNumber
Description
Returns a number indicating the value specified by property_ for the timeline indicated by target. See TGetProperty.
Message
[ C++ ]
FPCM_TGETPROPERTYASNUMBER Structure
[ C++ ]
struct SFPCTGetPropertyAsNumber
{
// [in]
struct
{
LPCTSTR lpszBuffer;
} target;
// [in]
int property;
// [out]
double Result;
// [out]
HRESULT hr;
};
Example
[ C++ ]
void InvokeTGetPropertyAsNumber(HWND hwndFlashPlayerControl, LPCTSTR target, int property)
{
SFPCTGetPropertyAsNumber info;
info.target.lpszBuffer = target;
info.property = property;
::SendMessage(hwndFlashPlayerControl, FPCM_TGETPROPERTYASNUMBER, 0, (LPARAM)&info);
if FAILED(info.hr)
// Error
{
// ...
}
else
// OK
{
TCHAR lpszBuffer[1024];
wsprintf(lpszBuffer, _T("%d"), info.Result);
::MessageBox(NULL, lpszBuffer, _T("Result"), MB_OK);
}
}
Flash versions
3: not supported
4: not supported 5: not supported 6: not supported 7: supported 8: supported 9: supported Copyright © 2004 - 2008 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
|