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);

    Edited once, last by ntnj (February 22, 2015 at 12:07 PM).

  • 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....

Participate now!

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