Цzgьr ALTAY
05-03-2008, 03:10 PM
Hi,
i am trying to accessing the loadPano() function inside a SWF that i loaded to panormas from XML before.
But i can not compile the SWF (actually a button), Because it outputs this error message: "1061: Call to a possibly undefined method loadPano through a reference with static type flash.display:Stage."
here is the function:
btn.addEventListener(MouseEvent.CLICK, imagePressed);
function imagePressed(e:MouseEvent):void{
stage.loadPano(360/1)
}
Is there a possible way to use loadPano() function inside an another SWF that we loaded to panoramas?
i am trying to accessing the loadPano() function inside a SWF that i loaded to panormas from XML before.
But i can not compile the SWF (actually a button), Because it outputs this error message: "1061: Call to a possibly undefined method loadPano through a reference with static type flash.display:Stage."
here is the function:
btn.addEventListener(MouseEvent.CLICK, imagePressed);
function imagePressed(e:MouseEvent):void{
stage.loadPano(360/1)
}
Is there a possible way to use loadPano() function inside an another SWF that we loaded to panoramas?