Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

This post has been edited 3 times, last edit by "Shanti" (Feb 2nd 2011, 7:03pm)
I don't understand, isn't that the idea of the Prefix?
|
|
Source code |
1 |
wait(load); |
It doesn't seem to track the first pano loaded .. even with
![]()
Source code
1 wait(load);
:-(
|
|
Source code |
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 :
![]()
Source code
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); }