jaaaab
07-28-2008, 10:40 PM
Hi all!
it's possible to embed an AS3 spot in a tour and get it to communicate with hotspots.swf thanks to this AS3 code:
var hotspots:Object;
loaderInfo.addEventListener(Event.INIT, initHandler);
function initHandler (event:Event) {
if (loaderInfo.loader!=null) {
// get link to hotspots plugin object:
hotspots = loaderInfo.loader.hotspots;
hotspots.execute("fullscreen(-)");
}
}
anyone knows if it's possible to do the same but with an AS2 spot?
tx!
it's possible to embed an AS3 spot in a tour and get it to communicate with hotspots.swf thanks to this AS3 code:
var hotspots:Object;
loaderInfo.addEventListener(Event.INIT, initHandler);
function initHandler (event:Event) {
if (loaderInfo.loader!=null) {
// get link to hotspots plugin object:
hotspots = loaderInfo.loader.hotspots;
hotspots.execute("fullscreen(-)");
}
}
anyone knows if it's possible to do the same but with an AS2 spot?
tx!