Json string from plugin to hotspot

  • Hi everybody.

    Please help me to create a proper json string to send it with krpanointerface to other hotspot.

    The problem is the following^
    1. string is built in fla plugin var stringd:String="{"screen":{"flightindicator":"setnavmodeparams":"takeoff"}}}";
    2. I call function of other hotspot

    var hotspot:Object = krpano.get("hotspot[display1l]");
    hotspot.sendjson(stringd);

    3. Nothing happens.

    I have tested it when declared and called from krpano XML, that is ok.

    May be qouts enetities converted in to real symbols before sending and thus cause an error.

Participate now!

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