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

TPlay

Description

Plays the timeline specified by target. The argument type is string.

Message

FPCM_TPLAY

Structure

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

     } target;


     // [out]
     HRESULT hr;
};

Example

void InvokeTPlay(HWND hwndFlashPlayerControl, LPCTSTR target)
{
     SFPCTPlay info;

     info.target.lpszBuffer = target;

     ::SendMessage(hwndFlashPlayerControl, FPCM_TPLAY, 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.