%SWFPATH%/../ curriosity

  • Works ok for soundinterface but does not for preview and tile urls.. fails with a blackscreen
    Using basedir now..
    However basedir fails for soundinterface
    ;playscenesound(1090,%BASEDIR%/files2/san_blas1.mp3);
    requiring %SWFPATH%/../ which didn't work for the tiles..

    ERROR: soundinterface - loading of "ºSEDIR%/files2/san_blas1.mp3" failed

  • Hi sachagriffin,

    Zitat

    However basedir fails for soundinterface

    So, I have tried:

    Code
    <hotspot name="b1" .... onclick="playsound3D(s1,%BASEDIR%/music1.mp3, 0,0);" />


    and it works...

    Zitat

    playscenesound(1090,%BABASEDIR%/files2/san_blas1.mp3);
    ....
    ERROR: soundinterface - loading of "ºSEDIR%/files2/san_blas1.mp3" failed

    If I am not in mistake, playscenesound() it's an custom action of yours, and you are passing 2 parameters to the action... In my understanding, special characters included inside those parameters has to be escaped...
    Try something like this:

    Code
    playscenesound(1090,%25BASEDIR%/files2/san_blas1.mp3);

    Why make things easy when it can be complicate *g* ...

    SAlut.

Jetzt mitmachen!

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