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

TGotoLabel

Description

For the timeline indicated by target, goes to the frame label_ specified by label. The argument type for both arguments is string.

Message

[ C++ ]
FPCM_TGOTOLABEL

Structure

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

    } target;

    // [in]
    struct
    {
        LPCTSTR lpszBuffer;

    } label;



    // [out]
    HRESULT hr;
};

Example

[ C++ ]
void InvokeTGotoLabel(HWND hwndFlashPlayerControl, LPCTSTR target, LPCTSTR label)
{
    SFPCTGotoLabel info;


    info.target.lpszBuffer = target;

    info.label.lpszBuffer = label;


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