Hi,
Sorry, I'm not allowed to put a demo up on line so have to take the screen shot route
I seem to be having a problem with mouse functions when using parent="STAGE"
The stage (The whole background in black) is 1013 px X 590 px
var so = new SWFObject("viewer.swf","krpanoSWFObject","1013","590","9.0.28","#000000");
The whole silver interface thing is a 1013 X 590 plugin png with the screen area cut out to load the panos/maps within it. All the buttons are additional plugins.
Everything works fine apart from the right hand side is missing about 90px of the interface png.
<plugin name="interface"
url="%SWFPATH%/tourfiles/images/viewer_back.png"
keep="true"
visible="true" enabled="false" handcursor="true" capture="false" children="true"
zorder="1"
alpha="1.00" blendmode="normal"
smoothing="true"
origin="centre" edge="centre"
x="90" y="0"
width="1013" height="590"
scale="1"
onloaded=""
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick=""
/>
Display More
This is what the interface should look like.
If I add parent="STAGE" to the above code and also change it to x="0" then the whole thing lines up perfect but there is no mouse control at all on the screen cut out area. The blue buttons on the right work fine to pan, zoom etc but no mouse control for dragging the map or clicking on hotspots to open panos.
Also the maps that I load into the cut out screen have to use the code below to line up.
<area x="-94" y="0" width="100%" height="100%" />
<view hlookat="0"
vlookat="0"
maxpixelzoom="1.0"
limitview="fullrange"
/>
Is there something obvious that I'm missing as to why adding parent="STAGE" blocks the mouse actions?
Many thanks,
Andrew