hey guys just s quick question. I've got a swf file that stand alone works perfect, until I load it into my main swf, then it break everything. I think I've narrowed it down to this bit of code which sets the 3d axis depending on mouse position.
stage.addEventListener(MouseEvent.MOUSE_MOVE, sliderRotate);
function sliderRotate(event:Event) {
mc_name.rotationY = -((((0 - -4)/stage.stageWidth)*mouseX) + 4);
mc_name.rotationX = (((8 - -8)/stage.stageHeight)*mouseY) - 8;
}
Works fine alone but when I load it into a container swf I get a term undefined error.
Thanks for the help