My plugin hides a huge part of panorama, I want to limit pano size and set it's position. I need something like experimental function setarea but without masking of plugin.
Limit panorama area without plugin masking.
-
-
Hi,
I am not sure if I have understood correctly... Perhaps you are looking to this:
....
all plugins will also be automatically aligned inside this area,
but to aligned a plugin/image outside of it, set the "parent" attribute
of this plugin to "STAGE" (but note some plugins, like the googlemaps one will require an update to get this working)
......Hope this can help.
SAlut.
-
And I'm not sure...
I have no problems with aligment, the problem is that setarea function is masking my plugin. May be there is parameter for plugins "not to mask by set area".If I did not understand you correctly give me link to your thread.
-
Hi firefoxer,
The link is inside the Quoted from "KLAUS" (when it is blue, it is a link)
Can you give a link to your problem example?
SAlut.
-
In 10 minutes will give u a simple example
-
Take a look.
Just add krpano.swf.
I have two bars in my plugin, upper and bottom (launch simple.swf to see it). So all I want is just resize panorama for visible area.Read your link, where ti get beta9?
-
Hi firefoxer,
In your example, the area was not set properly...
Try this code:
Code
Alles anzeigen<krpano version="1.0.8" logkey="true" debugmode="true" showerrors="true" onstart="test"> <!-- use only a grid preview pano to save download space ;-) --> <preview type="grid(cube,50,50,400,0xCCCCCC,0x999999,0xFFFFFF);" details="16" /> <display flash10="off"/> <plugin name="simple" url="simple.swf"keep="true" align="lefttop" parent="STAGE"/> <action name="test"> set(area.x,0); set(area.y,50); set(area.width,550); set(area.height,300); </action> </krpano>
SAlut.
-
Hi,
ZitatRead your link, where ti get beta9?
I think the last one can be found here: 1.0.8 beta 9 - fovtype setting
SAlut.
-
Thanks, will try.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!