You are not logged in.

1

Monday, August 27th 2012, 6:09pm

Print names panoramas hover on preview ( make vtour droplet)

With the release of version 1.0.8.15 "MAKE VTOUR (MULTIRES) droplet" began to form a wonderful panel. Comfortable and beautiful output preview panoramas.

Faced with the following problem - I can not conclude names panoramas on the preview when you hover the cursor.

Signatures to the buttons ("left", "right", etc.) - made easy. A preview of the output names - I can not.

Intuitively, the code must be inserted in:

"

Quoted

<action name="skin_addthumbs">
copy(thumbwidth, skin_settings.thumbswidth);
copy(thumbheight, skin_settings.thumbsheight);
copy(thumbpadding, skin_settings.thumbspadding);
copy(thumbcrop, skin_settings.thumbscrop);

if(ismobile,
mul(thumbwidth,2);
mul(thumbheight,2);
mul(thumbpadding,2);
);

add(thumbxoffset, thumbwidth, thumbpadding);
mul(thumbxcenter, thumbxoffset, 0.5);
mul(thumbbarwidth, thumbxoffset, scene.count);
add(thumbbarwidth, thumbpadding);
add(thumbbarheight, thumbpadding, thumbheight);
add(thumbbarheight, thumbpadding);
copy(layer[skin_thumbs].height, thumbbarheight);
copy(layer[skin_thumbs].width, thumbbarwidth);

for(set(i,0), i LT scene.count, inc(i),
txtadd(thumbname,'skin_thumb_',get(i));
addlayer(get(thumbname));
copy(layer[get(thumbname)].url, scene[get(i)].thumburl);
set(layer[get(thumbname)].keep, true);
set(layer[get(thumbname)].parent, 'skin_thumbs');
set(layer[get(thumbname)].align, lefttop);
copy(layer[get(thumbname)].crop, thumbcrop);
copy(layer[get(thumbname)].width, thumbwidth);
copy(layer[get(thumbname)].height, thumbheight);
mul(thumbx, i, thumbxoffset);
add(thumbx, thumbpadding);
copy(layer[get(thumbname)].x, thumbx);
copy(layer[get(thumbname)].y, thumbpadding);
add(scene[get(i)].thumbx, thumbx, thumbxcenter);
copy(scene[get(i)].thumby, thumbpadding);
set(layer[get(thumbname)].linkedscene, get(scene[get(i)].name) );
set(layer[get(thumbname)].onclick, copy(layer[skin_thumbborder].parent, name); loadscene(get(linkedscene), null, MERGE, BLEND(0.5)); );
);
</action>
"

Before the last line.

"

Quoted

set(layer[get(thumbname)].linkedscene, get(scene[get(i)].name) );
set(layer[get(thumbname)].onhover ???;
set(layer[get(thumbname)].onclick,
copy(layer[skin_thumbborder].parent, name); loadscene(get(linkedscene),
null, MERGE, BLEND(0.5)); );

"
What are your thoughts on this?

2

Wednesday, August 29th 2012, 8:52am

Hi,

try adding the last two lines here:

Source code

1
2
3
4
set(layer[get(thumbname)].linkedscene, get(scene[get(i)].name) );
set(layer[get(thumbname)].onclick, copy(layer[skin_thumbborder].parent,  name); loadscene(get(linkedscene), null, MERGE, BLEND(0.5)); );
set(layer[get(thumbname)].linkedtitle, get(scene[get(i)].title) );
set(layer[get(thumbname)].onhover, showtext(get(linkedtitle), TEXTSTYLE) );


(instead of TEXTSTYLE the name of the textstyle or DEFAULT need to be used)

best regards,
Klaus

wilsan

Trainee

Posts: 66

Location: Nederland

Occupation: Logistics Specialist – Planning & Logistics

  • Send private message

3

Friday, August 31st 2012, 8:56am

Great Klaus, it works perfect.
You're THE MASTER.

Thank You. *thumbup*


dutch(dank je wel) *thumbsup*

4

Monday, May 13th 2013, 10:03am

Thanks for the answer!

I forgot to write that the solution was found.

hans

Beginner

Posts: 14

Location: groningen

Occupation: photographer

  • Send private message

5

Tuesday, August 6th 2013, 4:02pm

cancel

sorry found it yet

This post has been edited 3 times, last edit by "hans" (Aug 6th 2013, 5:02pm)


Similar threads