We have a flash vector type map with pan and zoom ability and need to have layer1 which features a simple flash vector map visible from the initial overview until when the user has zoomed in to a certain amount when a more detailed layer2 flash vector map then appears and layer1 disappears. I would imagine a code turning off or on visibility of a layer dependent upon the zoom is what we need.
Is such possible and how can we achieve this please ?
What would be the code ?
you can't use actionscript to control any characteristic of a layer.
you can convert each object in a layer to a movieclip or, add each object in a layer to a parent movieclip and use actionscript to control all properties (including visibility) of the movieclip(s).