Hi,
i'm using a customised version of the scrolling thumbs generated by VTour Editor,
and want to assign style to thumbs, in my case i want to attach every thumbs a tiny pic, (small pic stay in bottom left corner of thumb while scrolling)
so code looks like this :
Code
<layer name="thumb1" scale="0.5" style="thumb_style" url="panos/pano01/Panorama.tiles/thumb.jpg" align="left" x="16" onclick="action(load_pano_01);" ondown="set(plugin[on_over].parent, layer[thumb1]);tween(plugin[on_over].alpha, 1, 0.3);" onup="tween(plugin[on_over].alpha, 0, 0.3);"/>
<layer name="thumb2" scale="0.5" style="thumb_style" url="panos/pano02/Panorama.tiles/thumb.jpg" align="left" x="160" onclick="action(load_pano_02);" ondown="set(plugin[on_over].parent, layer[thumb2]);tween(plugin[on_over].alpha, 1, 0.3);" onup="tween(plugin[on_over].alpha, 0, 0.3);"/>
...
and i define my style like this :
<style name="thumb_style" alpha="1" onloaded="set(plugin[thumb_360pic].parent, layer[thumb1])" />
it works for "thumb1" but i want a code to apply every thumbs, how to do that ?
and second question, if i have 2 styles,
how to apply the style to every thumbs assigned with the style ?
i don't know if an image plugin can have several parents or not,
may be there another solution,
i don't get it for now
thanks
z