I am creating a dynamic map of the world. Next to the map I have a zoomed detail area focusing on a particular region. The detailed area is a movieclip drawn on the stage, made a symbol and instanced with the name ‘detail_mc’
I create a new instance of the world map called ‘bigmap’ and add it to the detail _mc movieclip on the stage then set detail_mc to be a mask.
The problem is that although the new movieclip is masked it is all one colour, the colour of the detail_mc mask box. If I change the colour of detail_mc the map inside becomes that colour. If I look at the world map in the library it has country outlines that are made white when it is masked. This is the code. If anyone could help I’d appreciate it, thanks
var bigmap:MovieClip=new MapandBorders();
bigmap.x=40;
bigmap.y=40;
bigmap.scaleX=2.5;
bigmap.scaleY=2.5;
detail_mc.addChild(bigmap);
detail_mc.mask=bigmap;