

Dieser Beitrag wurde bereits 5 mal editiert, zuletzt von »slyraccoon« (22. November 2009, 17:44)
Insgesamt 24 Stimmen
21%
IT IS SO BAD-ASS!!!! (5)
50%
SWEET! (12)
21%
S'OKAY (5)
4%
MEH' I CAN DO BETTER (1)
4%
PTF! MY BLIND DOG CAN DO THAT (1)

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »slyraccoon« (22. November 2009, 17:46)
Zitat
one thing i would do different: on hover the thumbs become too big and seem to overlap... i would prefer to change the alpha instead...
Dieser Beitrag wurde bereits 5 mal editiert, zuletzt von »slyraccoon« (19. November 2009, 23:27)
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

: https://pame.virtualtuur.comDieser Beitrag wurde bereits 1 mal editiert, zuletzt von »slyraccoon« (20. November 2009, 01:11)
Here a modified code to allow this....How about letting the whole bar be activated by hovering over and when you leave it will go down again
|
|
Quellcode |
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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
<krpano version="1.0.8" onstart="">
<include url="%SWFPATH%/plugins.xml" />
<!-- Right Click -->
<contextmenu>
<item caption="FULLSCREEN" />
<item caption="Virtual Tour"/>
</contextmenu>
<!-- LOADING SCREEN -->
<progress showwait="none" showload="bar(center,190,17,-18%,-6%,shaded,0x000000,0xd1d1d1,0xAAAAAA)"/>
<events onloadcomplete="set(plugin[previewimage].visible,false);" />
<!-- LINKS TO TOURS FOR THUMBS -->
<action name="loadpano">
loadpano(%SWFPATH%/%1, null, MERGE, BLEND(1));
</action>
<action name="tour1">
action(loadpano, tour1.xml);
</action>
<!-- Enable and disable how ever much you want...
<action name="tour2">
action(loadpano, tour2.xml);
</action>
.........
<action name="tour29">
action(loadpano, tour29.xml);
</action>
-->
<!-- PANO SETTINGS -->
<image type="SPHERE"> <sphere url="images/EXAMPLE.jpg"/> </image>
<display details="16" movequality="HIGH" stillquality="HIGHSHARP" />
<view hlookat ="0"
vlookat ="0"
fov ="90"
fovmin ="40"
fovmax ="150"
fisheye ="0.35"
fisheyefovlink="0.50"
/>
<hotspot name="hotspot example"
url="hotspot_ani.swf"
ath="0"
atv="0"
scale="1"
zoom="true"
blendmode="normal"
onhover="showtext(Hotspot Example);"
onclick="action(tour1);"
/>
<!-- CURSORS -->
<events onxmlcomplete="action(onstart);"/>
<action name="onstart"> action(arrowcursor); </action>
<action name="arrowcursor">
set(control.mousetype, moveto);
set(cursors.url, %SWFPATH%/arrow-cursors.png);
set(cursors.type, 4way);
set(cursors.move, 112|0|28|28);
set(cursors.drag, 112|0|28|28);
set(cursors.arrow_r, 0|0|28|28);
set(cursors.arrow_d, 28|0|28|28);
set(cursors.arrow_l, 56|0|28|28);
set(cursors.arrow_u, 84|0|28|28);
</action>
</krpano>
|
|
|
Quellcode |
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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
<!-- Menu Bar for Thumbs --> <plugin name="menu" url="menu.png" keep="true" visible="true" enabled="true" handcursor="false" capture="false" zorder="1" alpha="1.00" blendmode="normal" smoothing="true" align="bottom" edge="centre" x="0" y="0" ox="0" oy="20" rotate="0" width="" height="" scale="1" scale9grid="" crop="" mask="" onloaded="" onover="action(menu_show);" onhover="" onout="action(menu_hide);" ondown="" onup="" onclick="" /> <action name="menu_show"> tween(plugin[menu].y,67,distance(700,3),linear); </action> <action name="menu_hide"> tween(plugin[menu].y,0,distance(700,3),linear); </action> <!-- Scrolling Thumbs plugin --> <plugin name="thumbnails" url="as3Thumbsforkrpano.swf?TheXML=./gallery1.xml" parent="menu" keep="true" capture="false" align="bottom" zorder="2" /> <!-- Full Screen Button --> <plugin name="fullscreen" url="fullscreen.png" parent="menu" align="bottom" keep="true" x="340" y="15" zorder="2" onclick="switch(fullscreen);" /> <!-- Loading plugin --> <plugin name="previewimage" url="load.png" align="center" preload="true" /> |
Yes
Zitat
You wouldn't know how to add a 1 second delay on the mouse out function?
... This can be done using the delayedcall() action... More info here: http://krpano.com/docu/actions/#delayedcall |
|
Quellcode |
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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
<!-- Menu Bar for Thumbs --> <plugin name="menu" url="menu.png" keep="true" visible="true" enabled="true" handcursor="false" capture="false" zorder="1" alpha="1.00" blendmode="normal" smoothing="true" align="bottom" edge="centre" x="0" y="0" ox="0" oy="20" rotate="0" width="" height="" scale="1" scale9grid="" crop="" mask="" onloaded="" onover="set(delayedcallkilled,true); action(menu_show);" onhover="" onout="set(delayedcallkilled,false); action(menu_hide);" ondown="" onup="" onclick="" /> <action name="menu_show"> tween(plugin[menu].y,67,distance(700,3),linear); </action> <action name="menu_hide"> delayedcall(1,if(delayedcallkilled == false, tween(plugin[menu].y,0,distance(700,3),linear))); </action> <!-- Scrolling Thumbs plugin --> <plugin name="thumbnails" url="as3Thumbsforkrpano.swf?TheXML=./gallery1.xml" parent="menu" keep="true" capture="false" align="bottom" zorder="2" /> <!-- Full Screen Button --> <plugin name="fullscreen" url="fullscreen.png" parent="menu" align="bottom" keep="true" x="340" y="15" zorder="2" onclick="switch(fullscreen);" /> <!-- Loading plugin --> <plugin name="previewimage" url="load.png" align="center" preload="true" /> |
The FONTS of some titles have a slight shadow effect.
How can i get rid of it?
Hi, I spent ages looking at the actionscript for this shadow effect. I found that it was actually applied to the info_txt text field on the stage.
Zitat
The FONTS of some titles have a slight shadow effect.
How can i get rid of it?
Thanks for the beautiful template.
DOWNLOAD V1.01 1.16mb
DOWNLOAD V1.00 688kb
Thanks for the link Shanti, as I promised I made a template...
For everyone: I don't claim this to be any good, I am just sharing with what I have... so HAVE FUN, change things up and post back here for to see what improvements we can make!!!!
I had a long XML day trying to figure this thing out, I feel like I just advanced to level 17 of XMLage, gained 200xp and a perk.
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »djuna« (24. Mai 2010, 18:33)