How to insert thumburl from linkedscene ?

  • How to insert thumburl ?

    I got thumburl of scene on hotspots,

    copy(scene_name, scene[get(linkedscene)].name);
    copy(thumb_url, scene[get(scene_name)].thumburl);

    trace(thumb_url);
    showlog();

    Trace Ok.

    Now i try to insert thumb_url in array..

    copy(layer[get(thumbname1)].url, hotspot[get(i)].thumb_url);

    not working...

    but this works fine.. ( shows only last thumb )

    copy(layer[get(thumbname1)].url, .thumb_url);

    Einmal editiert, zuletzt von ntnj (22. Februar 2015 um 12:07)

  • Explore vtourskin.xml and you will see that all thumbs are having appropriate thumb_url set by:
    copy(layer[get(thumbname)].url, scene[get(i)].thumburl);

    That mean your line where you try to copy thumb_url from hotspot!!! is wrong and potentialy thumbname could be issue as you are using thumbname1. Don't see rest of the code to be sure.

  • without the complete code or link to online version to be able to explore your code on how you are creating hotspots, assigning thumbs to it , iterating thumbname1 name.... can't help you more...If you say it only works on last hotspots maybe you have only one hotspot in memory....

Jetzt mitmachen!

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