WARNING: unknown action command: stopallsounds

  • Hello,
    Everything is OK with my virtual tour, but I get strange errors (I have to open log window myself to see them).
    Here is the tour:
    http://bg360.net/pano/pomorie/
    WARNING: unknown action command: stopallsounds - when I load next pano
    WARNING: unknown action command: stopallsounds
    WARNING: unknown action command:
    WARNING: unknown action command: stopallsounds
    WARNING: unknown action command:
    WARNING: unknown action command: stopallsounds
    WARNING: unknown action command: playsound3d - when I load pano with sound
    WARNING: unknown action command:

    I have one pano with sound and I use this code for updating spots:

    Code
    <action name="update_map_spot">
    stopallsounds();
    plugin[map].activatespot(%1);
    plugin[map].pantospot(%1);
    </action>
  • Hi bg360,

    I think srisa is right *wink* ...
    It seems that your code does not includes the soundinterface plugin...

    Code
    <plugin name="soundinterface" url="soundinterface.swf" onloaded="" />


    That could explains the WARNINGs...
    stopallsounds() and playsound3d() are special actions for the soundinterface plugin....
    If the plugin is not there those actions fails and generates the WARNINGs...

    Hope this help...

    SAlut.

  • After loading the pano with sound I get only this :
    WARNING: unknown action command:
    WARNING: unknown action command:
    WARNING: unknown action command:
    WARNING: unknown action command:

    The pano with sound is on the eastern coast - there are cluster with three panos :)

    srisa , michel,
    yes, srisa was right the soundinterface is loaded after opening the sound pano
    but it doesn't cause any problem even doesn't force opening of log window before that

    Now, I have to see why there are still empty warning messages... But this is the easier part :)


    Thanx a lot guys!!!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!