
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »Shanti« (2. Februar 2011, 19:03)
I don't understand, isn't that the idea of the Prefix?
|
|
Quellcode |
1 |
wait(load); |
It doesn't seem to track the first pano loaded .. even with
![]()
Quellcode
1 wait(load);
:-(
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
if (stage)
{
// run standalone
// no automatic scaling
stage.scaleMode = StageScaleMode.NO_SCALE;
// align on top left corner
stage.align = StageAlign.TOP_LEFT;
startup_plugin(null);
}
else
{
// run as plugin in krpano
this.addEventListener(Event.ADDED_TO_STAGE, startup_plugin);
}
function startup_plugin(event:Event):void
{
krpano.set("events.trackthis", TrackThisPano);
}
|
I try this but it doesn't change anything :
![]()
Quellcode
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19if (stage) { // run standalone // no automatic scaling stage.scaleMode = StageScaleMode.NO_SCALE; // align on top left corner stage.align = StageAlign.TOP_LEFT; startup_plugin(null); } else { // run as plugin in krpano this.addEventListener(Event.ADDED_TO_STAGE, startup_plugin); } function startup_plugin(event:Event):void { krpano.set("events.trackthis", TrackThisPano); }