F-IN-BOX DLL Edition Help >> Native Flash ActiveX Interface >> Methods

TGotoFrame

Description

For the timeline indicated by target, goes to the frame number specified by frameNumber.

Message

[ C++ ]
FPCM_TGOTOFRAME

Structure

[ C++ ]
struct SFPCTGotoFrame
{
    // [in]
    struct
    {
        LPCTSTR lpszBuffer;

    } target;

    // [in]
    long FrameNum;


    // [out]
    HRESULT hr;
};

Example

[ C++ ]
void InvokeTGotoFrame(HWND hwndFlashPlayerControl, LPCTSTR target, long FrameNum)
{
    SFPCTGotoFrame info;


    info.target.lpszBuffer = target;

    info.FrameNum = FrameNum;


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