Sie sind nicht angemeldet.

1

Sonntag, 22. Februar 2015, 11:36

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

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »ntnj« (22. Februar 2015, 12:07)


2

Montag, 23. Februar 2015, 13: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.

3

Montag, 23. Februar 2015, 14:53

Thank you for reply!

I need the correct thumb near each hotspot, that is why i try to get thumburl from hotspot.

4

Montag, 23. Februar 2015, 17:43

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