Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Hi all,
I have the tour of several panoramas connected by hotspots for going from one place to another. NOw, this is no problem to do with <scene>,
as for each scene I can define unique hotspots - but how to do it when using swfaddress plugin? How can I define, that some hotspots are visible ONLY with specific panorama ???
Can somebody help? Thanx!
Igor
Hi, take a look at this point in the documentation. You can use this event to call any set of actions for specified pano. You can find the usage of this event in the example.
Hi
I'm wanting to purchase your plugin or the jAddress one but it has to work for on an iPad.
It looks like it nearly works when I tried your demo on one.
Appreciate your feedback please. I have just written something similar on the jAddress thread because that is sold as working on an iPad and it doesn't quite.
I am not sure which plug in is best for the purpose but for me I most definitely need one that works on an iPad.
Any help or guidance would be appreciated.
|
|
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 |
<!-- Plugins --> <plugin name="swfaddress" url="plugins/sa.swf" alturl="plugins/sa.js" keep="true" preload="true" mode="auto" randomroot="false" parsepaths="true" titlePrefix="Virtual tour: " titlePostfix="" onurlchange="activatepano(%PANOID, %TYPE);" onpathchange="" onparamschange="paramschangeaction();" oninvalidaddress="showlog(); trace(Invalid address);" > <pano name="pano1" xmlurl="%SWFPATH%/pano/0.xml" pageurl="/crane/" pagetitle="Olympic Stadium. View from the crane." onxmlcomplete="trace(First pano loaded);" /> <pano name="pano2" xmlurl="%SWFPATH%/pano/1.xml" pageurl="/ring/" pagetitle="Olympic Stadium. Ring." onxmlcomplete="trace(Second pano loaded);" /> </plugin> <plugin name="bitly" url="plugins/bitly.swf" alturl="plugins/bitly.js" keep="true" preload="true" apikey="R_48b308ba7da245ddbc0d6f7744f872ca" login="jaydeee" onerror="showlog(); trace(The URL cannot be shortened);" /> |
Anyways, that said, it looks I have it working now =)
I thought you meant that the online demo is now working correctly. I think you mean the personal work you are doing is now working.
Either way I would appreciate knowing whether this plugin will work with an iPad. Many thanks.
zzzone, id test this swfaddress plugin for html5 and its works.... you can try it here http://hide.my/floria2009![]()
now my biggest problem is ... its didnt works in Flash.. :( .. maybe id didnt set it properly..
Hi,
Q1: is it possible to merge actions getlinktothisview+plugin[swfaddress].copylink Into one single action?
Tried to call copylink right after get link but doesnt work
Q2: is there a chance copylink() get the bitly shortened link to clipboard?
Regards
Q3: i cannot reproduce this example with last verion of swfaddress plugin:
http://www.krpano.com/plugins/userplugin…xamples/params/
it seems pano reloads every two clicks on "getlinktothisview" with last version
could you update the example?
thanks a lot
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
ok here's my code:
<action name="shareView">
prepareurl();
</action>
<action name="prepareurl">
getlinktothisview();
copy_url();
</action>
<action name="getlinktothisview">
plugin[swfaddress].setparams(ath=view.hlookat, atv=view.vlookat, fov=r(view.fov));
</action>
<action name="copy_url">
plugin[swfaddress].copylink();
</action>
|
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<plugin name="clipboard" url="plugins/clipboard.swf" keep="true" /> <plugin name="copy1_button" url="images/copy1.png" align="bottomleft" x="10" y="10" altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));" onhover="showtext(Copy direct link to clipboard);" onclick="copy_direct_link();" /> <action name="copy_direct_link"> getlinktothisview(); set(plugin[clipboard].text,get(data[viewurl].content)); </action> |
Zitat
Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.