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

LoadMovie

Description

Loads the movie identified by url to the layer. The argument type is integer for layer and string for url.

Message

[ C++ ]
FPCM_LOADMOVIE

Structure

[ C++ ]
struct SFPCLoadMovie
{
    // [in]
    int layer;
    // [in]
    struct
    {
        LPCTSTR lpszBuffer;

    } url;



    // [out]
    HRESULT hr;
};

Example

[ C++ ]
void InvokeLoadMovie(HWND hwndFlashPlayerControl, int layer, LPCTSTR url)
{
    SFPCLoadMovie info;


    info.layer = layer;

    info.url.lpszBuffer = url;


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