Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
i like to open it bigger..
: https://pame.virtualtuur.comYes, using fullscreen = true:
Zitat
is it also possible to let it open fullscreen??
|
|
Quellcode |
1 |
<krpano onstart="set(fullscreen,true);"> |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »michel« (27. August 2009, 10:52)

the next kprotect version has the possibility to set the size of the window for the standalone Flashplayer,when i make an .exe / .app and i open it, it opens in a quite small flashplayer window... is it possible to manipulate this? *confused* i like to open it bigger..
unfortunately doesn't work for me. Clicking the fullscreenbutton works properly. What's wrong? This is my code:
![]()
Quellcode
1 <krpano onstart="set(fullscreen,true);">
|
|
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 |
<krpano version="1.0.8" onstart="set(fullscreen,true);"> <include url="skin/defaultskin.xml"/> <view hlookat ="186" vlookat ="-40" fov ="70" fovmax ="70" maxpixelzoom ="2" limitfov ="true" /> <display details="22" /> <preview type="CUBESTRIP" url="stoebrue.tiles/preview.jpg" /> <image type="CUBE" multires="true" tilesize="804"> <level tiledimagewidth="4423" tiledimageheight="4423"> <left url="stoebrue.tiles/l3_l_%0v_%0h.jpg" /> <front url="stoebrue.tiles/l3_f_%0v_%0h.jpg" /> <right url="stoebrue.tiles/l3_r_%0v_%0h.jpg" /> <back url="stoebrue.tiles/l3_b_%0v_%0h.jpg" /> <up url="stoebrue.tiles/l3_u_%0v_%0h.jpg" /> <down url="stoebrue.tiles/l3_d_%0v_%0h.jpg" /> </level> <level tiledimagewidth="2212" tiledimageheight="2212"> <left url="stoebrue.tiles/l2_l_%0v_%0h.jpg" /> <front url="stoebrue.tiles/l2_f_%0v_%0h.jpg" /> <right url="stoebrue.tiles/l2_r_%0v_%0h.jpg" /> <back url="stoebrue.tiles/l2_b_%0v_%0h.jpg" /> <up url="stoebrue.tiles/l2_u_%0v_%0h.jpg" /> <down url="stoebrue.tiles/l2_d_%0v_%0h.jpg" /> </level> <level tiledimagewidth="1106" tiledimageheight="1106"> <left url="stoebrue.tiles/l1_l_%0v_%0h.jpg" /> <front url="stoebrue.tiles/l1_f_%0v_%0h.jpg" /> <right url="stoebrue.tiles/l1_r_%0v_%0h.jpg" /> <back url="stoebrue.tiles/l1_b_%0v_%0h.jpg" /> <up url="stoebrue.tiles/l1_u_%0v_%0h.jpg" /> <down url="stoebrue.tiles/l1_d_%0v_%0h.jpg" /> </level> </image> </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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
<krpano version="1.0.8"> <progress showload="bar(top center,100%,10,0,20)" showwait="none" /> <!-- default quality settings --> <display flash10="on" movequality="LOW" stillquality="HIGH" movequality10="HIGH" stillquality10="HIGH" /> <!-- events: set the custom cursor on start and fullscreen events for button changes --> <events onxmlcomplete="action(setuppano);" onenterfullscreen="set(plugin[openfs].visible,false); set(plugin[closefs].visible,true);" onexitfullscreen ="set(plugin[openfs].visible,true); set(plugin[closefs].visible,false);" /> <!-- button showtext() style --> <textstyle name="buttonstyle" font="Arial" fontsize="12" bold="true" italic="true" textcolor="0x000000" background="false" border="false" blendmode="layer" effect="glow(0xFFFFFF,0.85,4,4);dropshadow(2,45,0x000000,4,1);" origin="cursor" edge="bottom" xoffset="15" yoffset="-5" showtime="0.1" fadeintime="0.1" fadetime="0.1" /> <style name="button" url="%SWFPATH%/skin/buttons.png" keep="true" /> <action name="infoaus"> tween(plugin[info].alpha,0, 0.3); delayedcall(0.4, set(plugin[info].visible,false); ); </action> <plugin name="info" align="center" x="0" y="0" url="info.png" handcursor="false" alpha="0.9" zorder="0" capture="false" keep="true" /> <plugin name="infoschrift" align="center" x="0" y="0" url="infoschrift.png" handcursor="false" alpha="1" zorder="0" capture="false" keep="true" parent="info" /> <plugin name="schlieszen" align="center" x="90" y="40" url="schlieszen.png" zorder="1" onclick="infoaus" parent="info" /> <!-- some default buttons (zooming, direction, hotspots on/off, fullscreen) --> <plugin name="in" align="bottom" x="-40" y="2" url="buttons.jpg" crop="160|0|40|40" onovercrop="160|40|40|40" ondowncrop="160|80|40|40" blendmode="screen" ondown="set(movevectorz,-1);" onup="set(movevectorz,0);" zorder="1" /> <plugin name="out" align="bottom" x="+0" y="2" url="buttons.jpg" crop="200|0|40|40" onovercrop="200|40|40|40" ondowncrop="200|80|40|40" blendmode="screen" ondown="set(movevectorz,+1);" onup="set(movevectorz,0);" zorder="1" /> <plugin name="openfs" align="bottom" x="+40" y="2" url="buttons.jpg" crop="280|0|40|40" onovercrop="280|40|40|40" ondowncrop="280|80|40|40" blendmode="screen" onhover="showtext(Fullscreen, buttonstyle);" onclick="set(fullscreen,true);" visible="true" zorder="1" /> <plugin name="closefs" align="bottom" x="+40" y="2" url="buttons.jpg" crop="320|0|40|40" onovercrop="320|40|40|40" ondowncrop="320|80|40|40" blendmode="screen" onhover="showtext(Exit Fullscreen,buttonstyle);" onclick="set(fullscreen,false);" visible="false" zorder="1" /> <plugin name="balkenoben" align="top center" x="0" y="0" url="balkenoben.png" handcursor="false" alpha="0.9" zorder="0" /> <plugin name="balkenunten" align="bottom center" x="0" y="0" url="balkenunten.png" handcursor="false" alpha="0.9" zorder="0" /> <!-- actions to change the mouse cursor --> <action name="dragcursor"> set(plugin[dragmode].visible, false); set(plugin[movemode].visible, true); set(control.mousetype, drag2D); set(cursors.url, %SWFPATH%/skin/drag-cursors.png); set(cursors.type, drag); set(cursors.move, 2|0|30|32); set(cursors.drag, 37|0|30|32); </action> <action name="qtvrcursor"> set(plugin[dragmode].visible, true); set(plugin[movemode].visible, false); set(control.mousetype, moveto); set(cursors.url, %SWFPATH%/skin/qtvr-cursors.png); set(cursors.type, 8way); set(cursors.move, 0|0|16|16); set(cursors.drag, 16|0|16|16); set(cursors.arrow_u, 32|0|16|16); set(cursors.arrow_d, 48|0|16|16); set(cursors.arrow_l, 64|0|16|16); set(cursors.arrow_r, 80|0|16|16); set(cursors.arrow_lu, 96|0|16|16); set(cursors.arrow_ru, 112|0|16|16); set(cursors.arrow_rd, 128|0|16|16); set(cursors.arrow_ld, 144|0|16|16); </action> <!-- setup pano, will be called on the onxmlcomplete event --> <action name="setuppano"> <!-- set qtvr cursor --> action(qtvrcursor); </action> </krpano> |