Hi,

My SWF plays ok for my PC (Firefox Flash PLayer 10.0.2) but not on two other machines (which happen to be Macs - one of which was using Firefox with player 10.0.12).

http://www.chrisjones.org.uk/daryl/nhs/?swf=003_map

It's a kind-of iPod shape with a map in the display which should enlarge on mouse-over and move around in the space.

Can you report whether it works for you and can anyone suggest what's going wrong?

AS 3.0

On stage there is _map and _mask. This code is in the first frame (on root) then it loops over the last three frames with no further code:
Code:
// initialise map

_map.mask=_mask;

_map.scaleX=0.4;
_map.scaleY=0.4;
_map.scaleTargetX=0.4;
_map.scaleTargetY=0.4;

_map.originalX = _mask.x - ( 0.5 * ( (_map.width  - _mask.width ) ) );
_map.originalY = _mask.y - ( 0.5 * ( (_map.height - _mask.height) ) );
_map.x=_map.originalX;
_map.y=_map.originalY;


// map enter frame
_map.addEventListener(Event.ENTER_FRAME,moveMap);

function moveMap(evt:Event):void {
  trace("moveMap");
  //trace("mouseX = " + _map.mouseX);
  //trace("mouseY = " + _map.mouseY);
	_map.scaleX = ((evt.target.scaleTargetX + _map.scaleX) / 2) ;
	_map.scaleY = ((evt.target.scaleTargetY + _map.scaleY) / 2) ;
	_map.x = ((evt.target.targetX + _map.x) / 2) ;
	_map.y = ((evt.target.targetY + _map.y) / 2) ;
}


// mouse events
_map.addEventListener(MouseEvent.MOUSE_OVER,overMap);

function overMap(evt:Event):void {
  trace("overMap");
  _map.addEventListener(Event.ENTER_FRAME,updateMapTargets);
	_map.scaleTargetX=0.6;
	_map.scaleTargetY=0.6;
}

function updateMapTargets(evt:Event):void {	
  trace("updateMapTargets");
	evt.target.targetX =_mask.x - ( (_mask.mouseX ) / (_mask.width) ) * ( (_map.width - _mask.width) );
	evt.target.targetY  =_mask.y - ( (_mask.mouseY ) / (_mask.height) ) * ( (_map.height - _mask.height) );
}


_map.addEventListener(MouseEvent.MOUSE_OUT,outMap);

function outMap(evt:MouseEvent):void {
  trace("outMap");
  _map.removeEventListener(Event.ENTER_FRAME,updateMapTargets);
	_map.scaleTargetX=0.4;
	_map.scaleTargetY=0.4;
	_map.targetX = _map.originalX;
	_map.targetY = _map.originalY;
}

Thanks for any help you can be!

FoL