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.

Jetzt mitmachen!

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