FlashPlayerControl Help >> Access to Native Flash ActiveX Interface >> Methods
Description
Returns a number indicating the value specified by property_ for the timeline indicated by target. See TGetProperty.
Message
FPCM_TGETPROPERTYASNUMBER |
Structure
struct SFPCTGetPropertyAsNumber
{
struct
{
LPCTSTR lpszBuffer;
} target;
int property;
double Result;
HRESULT hr;
};
|
Example
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)
{
}
else
{
TCHAR lpszBuffer[1024];
wsprintf(lpszBuffer, _T("%d"), info.Result);
::MessageBox(NULL, lpszBuffer, _T("Result"), MB_OK);
}
}
|
Flash versions
5: not supported
6: not supported
7: supported
Copyright © 2004 Softanics. All rights reserved.
Delphi is a trademark of Borland Software Corporation.
Macromedia and Shockwave Flash are trademarks of Macromedia, Inc.
|