Have a look at my demo xmas greeting card :
http://fvlmedia.panodep.dk/julekort_e.htm?h=450&w=650
Any comment are welcome - and Please tell me if you find some bug
Have a look at my demo xmas greeting card :
http://fvlmedia.panodep.dk/julekort_e.htm?h=450&w=650
Any comment are welcome - and Please tell me if you find some bug
I have a panorama of a bar with a TV over the bar. Ive setup a video on a hotspot fitting the tvscreen . It work fine. But now I wanted to put a looktohotspot action on the video-hotspot "onclick" - so that the tv would move to the middle of the view, BUt when I do so the vdeo looses the sound. I have tried to insert a wait on click action., like this
but the sound is still gone.
when i'm doing only #1 +#4 the video plays with sound..
I can't figure out how to ad individual "onhover"-titles on the vtour thumbnails. I've tried this, but it shows the same title on all thumbs:
QuoteDisplay More<action name="openthumbs">
if(%1 != NEXT,
set(i,0);
set(events.onclick, set(events.onclick,null); delayedcall(0.1, closethumbs() ); );
set(events.onhover, set(events.onhover,null); );
);
if(i LT scene.count,
txtadd(thumbname,'thumb_',get(i));
openthumb(get(thumbname));
set(plugin[get(thumbname)].onhover, set(events.onhover,null); showtitle(get(i)) );
set(plugin[get(thumbname)].onclick, set(events.onclick,null); closethumbs(); loadscene(get(linkedscene),null,MERGE,BLEND(1)); );
inc(i);
openthumbs(NEXT);
);
</action>
<action name="showtitle">
if(%1 === 0 , showtext(Blomster, hotspotstyle));
if(%1 === 1 , showtext(Zone Butik, hotspotstyle));
</action>
Just alter the text as below
QuoteDisplay More
<!-- thumbnail actions begin (remove the 'buildthumbs()' call in the onstart event to remove the thumbs) -->
<action name="buildthumbs">
if(%1 != NEXT, set(i,0));
if(i LT scene.count,
copy(thumb, scene[get(i)].thumburl);
txtadd(thumbname,'thumb_',get(i));
addplugin(get(thumbname));
set(plugin[get(thumbname)].url, get(thumb));
set(plugin[get(thumbname)].keep, true);
set(plugin[get(thumbname)].align, lefttop);
set(plugin[get(thumbname)].width, 40);
set(plugin[get(thumbname)].height, 40);
set(plugin[get(thumbname)].x, 10);
set(plugin[get(thumbname)].y, 10);
mul(plugin[get(thumbname)].x, i,3);
mul(plugin[get(thumbname)].y, i,3);
add(plugin[get(thumbname)].x, 5);
add(plugin[get(thumbname)].y, 5);
copy(plugin[get(thumbname)].xsmall, plugin[get(thumbname)].x);
copy(plugin[get(thumbname)].ysmall, plugin[get(thumbname)].y);
add(plugin[get(thumbname)].zorder, 100, i);
set(plugin[get(thumbname)].effect,glow(0xFFFFFF,1.0,2,10000));
set(plugin[get(thumbname)].jsborder,'1px solid #FFFFFF');
copy(plugin[get(thumbname)].thumbpos, i);
set(plugin[get(thumbname)].linkedscene, get(scene[get(i)].name) );
set(plugin[get(thumbname)].onclick, openthumbs() );
set(plugin[get(thumbname)].onhover, showtitle(get(i)) );
inc(i);
buildthumbs(NEXT);
);
</action>
And if you want the thumb to ron along the top instead og the left side you shift the x and y in this part:
QuoteDisplay More
<action name="openthumb">
if(%2 != NEXT,
set(pos,0);
copy(curpos, plugin[%1].thumbpos);
set(xdst, 0);
set(ydst, 0);
);if(pos LT curpos,
inc(pos);
inc(xdst,90);
sub(xmax, stagewidth, 100);
if(xdst GT xmax, inc(ydst,90);set(xdst,0); );
openthumb(%1,NEXT);
,
add(xdst,10);
add(ydst,10);
tween(plugin[%1].x, get(xdst) );
tween(plugin[%1].y, get(ydst) );
tween(plugin[%1].width, 80);
tween(plugin[%1].height, 80);
);
</action>
best regards Flemming
I'm having trouble with the smoothness of fullscreen autorotation in krpano1.0.8.12
It's somewhat shaky / staggering. (i,m on a fast i7 PC -guees it's worse on slower maschines)
Here are a sample to compare
http://fvlmedia.panodep.dk/fvl_preview.php?cid=136 (1.0.8.12)
http://fvlmedia.panodep.dk/dkbs_preview.php?cid=136 (1.0.7)
Is it a bug or does the new player just needs more power - or
??
Otherwise I really love the new player.
Best regards
Flemming
going to to fullscreen the panos on this site isn't running steady with autoplay - it has a kind of "hick-ups"
http://fvlmedia.panodep.dk/fvl_panoThumb8.php?cid=54X&pco=6
The aoutoplay code is:
<autorotate enabled="true"
waittime="1.0"
accel="1.5"
speed="10"
horizon="0"
/>
can I do some change here to have it run more smooth or ldoes the problem com from somewhere else.
best regards Flemming
I can't figure out how to display & character in the combobox list?
I've tried with &%38; & and plain & - with no luck.
Do I need to use a special escape-character - or is it just not possible?
Thanks for the information.
I haven't programmed flash since version 3 or so - so I have to wait until I get some more spare time before I dig into that. ;(
Guess this one should have been in the Plugin-section of the forum; but there's no sudfolder for the Combobox plugin?
I would like to know if it's possible to use an "onhover" activated action to show small thumbnail on screen while rolling down the combobox-list. - and if possible - howto ;)
Well, I think this is the best I can do. I've put the show and hide progress action in the combox.xml (which I include in the 1st loaded pano.xml) and sett download=all, but leaving decode at the default "auto". Now it does what I want most of the time. Shows the progress while loading a new pano, but not while loading and decoding the tiles on rotating. Only times it fails is when going from lo-res to fullscreen.
QuoteDisplay More
<krpano version="1.0.7"><plugin name="combobox"
url="%SWFPATH%/plugins/combobox.swf"
align="lefttop"
x="10"
y="10"
width="150"
keep="true"
onloaded="action(setupitems);"
/><action name="setupitems">
removeall();
additem(Hjalet, action(showpr);loadpano(east_t.xml,NULL,KEEPALL,BLEND(1));wait(blend);action(hidepr); );
additem(Spisestue, action(showpr);loadpano(spisestue.xml,NULL,KEEPALL,BLEND(1));wait(blend);action(hidepr); );
additem(Bar og Pool, action(showpr);loadpano(bar.xml,NULL,KEEPALL,BLEND(1));wait(blend);action(hidepr); );
</action><action name="hidepr" >
set(progress.showload,none);
set(progress.showwait,none);
</action><action name="showpr" >
set(progress.showload,bar());
set(progress.showwait,loopings());
</action></krpano>
I use only two resoluition for my panos: a small for showing in an iframe on the webpage and a bigger one for the fullscreen view. I accomplish that using the Multires-tool:
http://fvlmedia.dk/flashdyn.htm
But I have some issues:
It's OK to have the progress load and wait showing up when loading new panos, but I don't like them to show while rotating. I've tried different solution: 1. Setting decode=all and downlod=all 2.switching off the progress load and wait in fullscreen. 3. Both.
The first seams to work best, but on some overloaded systems it sometimes freeze while loading a new pano (My fullscreen panos are no bigger than 6000x3000!) - and it takes some ektra time decoding before fading into the new pano
With the second and third method people get no indication on what's going when laoding a new pano.
So my question is there another way to do this?