FlashPlayerControl Help >> Access to Native Flash ActiveX Interface >> Methods

TCallFrame

Description

In the timeline specified by target, executes the action in the frame specified by FrameNum.

Message

FPCM_TCALLFRAME

Structure

struct SFPCTCallFrame
{    
     // [in]
     struct
     {
          LPCTSTR lpszBuffer;

     } target;

     // [in]
     int FrameNum;

     // [out]
     HRESULT hr;
};

Example

void InvokeTCallFrame(HWND hwndFlashPlayerControl, LPCTSTR target, int FrameNum)
{
     SFPCTCallFrame info;

     info.target.lpszBuffer = target;
     info.FrameNum = FrameNum;

     ::SendMessage(hwndFlashPlayerControl, FPCM_TCALLFRAME, 0, (LPARAM)&info);
    
     if FAILED(info.hr)
          // Error
     {
          // ...
     }
     else
          // OK
     {
          // ...
     }
}

Flash versions

5: supported
6: 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.