AS3 Embed Example

  • Hi all :)

    I was trying the flash-cs4-embed-example but I get a error in krpano_load_complete function:

    Code
    Scene 1, Layer 'Layer 1', Frame 1, Line 19	1061: Call to a possibly undefined method embeddedstartup through a reference with static type Class.

    I tried adding a timer before the calling the krpano_load_complete but no luck *confused* Help, anyone?

    SOLVED:
    The only thing that we need to do is change this line:

    Code
    event.target.content as Object.embeddedstartup(stage, krpano_ready);


    to this:

    Code
    (event.target.content as Object).embeddedstartup(stage, krpano_ready);

    Einmal editiert, zuletzt von MeekAS (2. Oktober 2010 um 01:31)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!