Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
![]() |
Source code |
1 |
<plugin name="anyname" preload="true" url="getabsxy.swf" alturl="getabsxy.js" /> |
![]() |
Source code |
1 2 |
getabsxy.getx(absx, name);trace(absx); getabsxy.getx(absy, name);trace(absy); |
This post has been edited 1 times, last edit by "Sudarchikov Andrey" (Nov 16th 2012, 5:10pm)
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
<!-- Here is Containing Hierachy: - thumbArray (accessible with GetAbsXY) +- thumbBgLayout (accessible too) +- items... (not accessible) --> <plugin name="thumbArray" keep="true" zorder="1" url="Viergedata/graphics/transparent.png" handcursor="false" capture="false" children="true" alpha="0.9" smoothing="true" x="0" y="0" scale="1" align="left" edge="right" width="10%" height="prop"/> <plugin name="thumbBgLayout" keep="true" zorder="1" url="Viergedata/graphics/transparent.png" handcursor="false" capture="false" x="0" y="0" align="center" edge="center" width="100%" height="prop" parent="thumbArray"/> <plugin name="slide" parent="thumbArray" keep="true" zorder="0" url="Viergedata/graphics/slide.png" handcursor="false" capture="false" children="true" alpha="0.9" smoothing="true" x="0" y="0" align="right" edge="right" width="100%" height="2000" onclick="slide_action_in"/> <plugin name="strap" keep="true" zorder="0" url="Viergedata/graphics/strap.png" parent="thumbArray" alpha="0.9" align="right" edge="left" handcursor="true" onclick="slide_action_in"/> <plugin name="strapArrow" keep="true" parent="strap" zorder="0" url="Viergedata/graphics/arrow.png" align="center" edge="center" capture="false" enabled="false" rotate="0"/> <!-- thumbs pictures --> <!-- Those items are unreachable for GetAbsXY plugin, which returns 'NaN' --> <plugin name="thumb_Vierge0" keep="true" zorder="2" parent="thumbBgLayout" url="Viergedata/graphics/Vierge0_thumbnail.jpg" width="83.3333%" height="prop" align="topleft" edge="center" x="50%" y="10.7143%" alpha="0.8" onclick="mainloadpano(Vierge0.xml);" onover="magnify('thumb_Vierge0'); " onout="lie('thumb_Vierge0');" visible="false" onloaded="thumbloaded();"/> <!-- Related actions --> <action name="thumbloaded"> inc(plugin[thumbnailsData].nbThumbnailsLoaded, 1); if(plugin[thumbnailsData].nbThumbnailsLoaded GE 5, set(plugin[thumb_Vierge0].visible, true); adjusthtml5thumbsplugins(); ); </action> <action name="adjusthtml5thumbsplugins"> if (ishtml5 == true, set(plugin[thumbMovePrev].height, 5%); set(plugin[thumbMoveNext].height, 5%); ); </action> <action name="magnify"> tween(plugin[%1].alpha, 1.0, 0.3, easeInQuad); tween(plugin[%1].scale, 1.05, 0.3, easeInQuad); </action> <action name="lie"> tween(plugin[%1].alpha, 0.8, 0.3, easeInQuad); tween(plugin[%1].scale, 1.0, 0.3, easeInQuad); </action> |