|
|
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 |
<?xml version="1.0" encoding="utf-8"?>
<images>
<thumboptions>
<ScrollSpeed>20</ScrollSpeed>
<thumbW>150</thumbW>
<thumbH>80</thumbH>
<ThumbPadding>20</ThumbPadding>
<ShownThumbs>10</ShownThumbs>
<ThumbOffset>10</ThumbOffset>
<ThumbOffsetY>-10</ThumbOffsetY>
<textOffsetX>100</textOffsetX>
<textOffsetY>-200</textOffsetY>
<InitialAlpha>.20</InitialAlpha>
<font_type>Verdana</font_type>
<font_size>15</font_size>
<font_alpha>10</font_alpha>
<font_color>0xffffff</font_color>
<overColor>#FFFFFF</overColor>
</thumboptions>
<pic>
<thumb>jpg/1.png</thumb>
<panoToLoadXml>s0</panoToLoadXml>
<about>Meta</about>
</pic>
<pic>
<thumb>jpg/2.png</thumb>
<panoToLoadXml>s1</panoToLoadXml>
<about>Most Zamkowy</about>
</pic>
</images>
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 |
<plugin name="thumbnails"
url="plugins/as3Thumbsforkrpano.swf?TheXML=gallery1.xml"
align="leftbottom" x="900" y="10"
/>
<action name="s0">
loadpano(44.xml,null,MERGE,BLEND(1));
</action>
<action name="s1">
loadpano(2/60.xml,null,MERGE,BLEND(1));
</action>
|
i use rev7 |
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<view hlookat ="81"
vlookat ="0"
fov ="81"
fovmin ="5"
fovmax ="81"
limitfov ="true"
fisheye ="0"
architectural ="1.0"
fisheyefovlink="0"
limitview="lookat"
vlookatmin="-0"
vlookatmax="+0"
/>
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 |
<view hlookat ="0"
vlookat ="0"
fov ="90"
fovmin ="90"
fovmax ="90"
fisheye ="0.35"
fisheyefovlink="0.50"
limitview="auto"
/>
|
Dear Shanti,totaln00ber:
It works exactly like that
krpano.call("action(" + panoToLoad +")");
and as you can see on the xml
<action name="s1">
loadpano(pano.xml,null,MERGE,BLEND(1));
</action>
s1 is an action
you can name your action anything you like, and just replace it in the <panoToLoadXml>
I think the xml is not clear on that, sorrymaybe I should rename it to <krpanoaction> ...
![]()
This post has been edited 1 times, last edit by "rzayevt" (Sep 9th 2009, 10:40am)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<!-- as3Thumbsforkrpano plugin: -->
<plugin name="thumbnails"
url="as3Thumbsforkrpano.swf?TheXML=./gallery1.xml"
capture="false"
keep="true"
align="leftbottom"
scale="0.5"
y="-114"
edge="leftbottom"
/>
<action name="loadpano">
loadpano(%SWFPATH%/%1, null, MERGE, BLEND(1));
</action>
|
|
|
Source code |
1 2 3 |
<action name="thumb01action"> action(loadpano, xml/01.xml); </action> |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<krpano> <image type="CUBE"> <left url="../360/01/demo_01_l.jpg" /> <front url="../360/01/demo_01_f.jpg" /> <right url="../360/01/demo_01_r.jpg" /> <back url="../360/01/demo_01_b.jpg" /> <up url="../360/01/demo_01_u.jpg" /> <down url="../360/01/demo_01_d.jpg" /> </image> </krpano> |
|
|
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 |
<thumboptions>
<thumbW>150</thumbW>
<thumbH>70</thumbH>
<ThumbOffset>5</ThumbOffset>
<InitialAlpha>0.2</InitialAlpha>
<ThumbPadding>10</ThumbPadding>
<ScrollSpeed>10</ScrollSpeed>
<ShownThumbs>4</ShownThumbs>
<font_type>Arial</font_type>
<font_size>37</font_size>
<font_alpha>1</font_alpha>
<font_color>0xffffff</font_color>
<textOffsetX>-180</textOffsetX>
<textOffsetY>-50</textOffsetY>
</thumboptions>
<pic>
<thumb>thumbs/001.jpg</thumb>
<panoToLoadXml>thumb01action</panoToLoadXml>
<about>Location 1</about>
</pic>
etc..........
|
Here is where you have to set your <view> preferences....
Quoted
Each of the 14 xml files looks something like
.......
|
|
Source code |
1 |
<view hlookat="0" vlookat="0" fov="90" /> |
<action name="fed up">
onclik="set(fabrice.commit suicide, true);"
</action>
gallery1.xml
<images>
<thumboptions>
<thumbW>150</thumbW>
<thumbH>70</thumbH>
<ThumbOffset>0</ThumbOffset>
<InitialAlpha>0.2</InitialAlpha>
<ThumbPadding>10</ThumbPadding>
<ScrollSpeed>20</ScrollSpeed>
<ShownThumbs>5</ShownThumbs>
<font_type>Arial</font_type>
<font_size>20</font_size>
<font_alpha>1</font_alpha>
<font_color>0xffffff</font_color>
</thumboptions>
<pic>
<thumb>vignettes/img1.jpg</thumb>
<panoToLoadXml>thumb01action</panoToLoadXml>
<about>1</about>
</pic>
<pic>
<thumb>vignettes/img2.jpg</thumb>
<panoToLoadXml>thumb02action</panoToLoadXml>
<about>1</about>
</pic>
</images>
krpano.xml
<plugin name="thumbnails"
url="as3Thumbsforkrpano.swf?TheXML=gallery1.xml"
align="bottom"
keep="true"
x="0" y="-50"
/>
<action name="thumb01action">loadpano(test sivory completbeta0.xml);</action>
<action name="thumb02action">loadpano(test sivory completbeta1.xml);</action>
so when i open krpano.swf
i have this error message...
ArgumentError: Error #2025: Le DisplayObject indiqué doit être un enfant de l'appelant.
at flash.display::Loader/_load()
at flash.display::Loader/load()
at as3Thumbsforkrpano_fla::MainTimeline/loadThumbs()
at as3Thumbsforkrpano_fla::MainTimeline/thumbLoaded()
only one image appear on the thumbnails and works correclty....
there is a message on the krpano.swf windows
loaded one of two thumbnails..
i'm a novice and i don't know how to resolve my problem...
i someone have the soluce... it would be great .. i didn't read all the pages but some of its i didn't find the clue..
thanks.
Hello, you didn't answer on my comment #167. Please let me know if anybody can help me with this:
The thumbnails does not load and plugin shows “Loaded 2 of 10 thumbnails”.
But some pictures does not have these problems. Could you please tell us what can cause these problems? Thank you!
P.S. We have these problems on both server and local machine.