PDA

View Full Version : map


muppet
10-19-2005, 02:34 PM
I need to have a section of a flash movie set aside to place a map in it.

The map is quite big, and can't be shrunk into an area I need to use (340x190px). Is there a way I can limit to this area (masks) and then use the mouse click-hold and drag around the mask area.

I've looked around for a tutorial but couldn't see one, anyone got any ideas??

Morg
10-19-2005, 03:22 PM
look up startDrag();

You can surely load your map into a movieClip, and then apply onPress action to it. Using startDrag, you can constrain your movieClip from being dragged off stage.

finchou
10-19-2005, 03:31 PM
I had to do that once... and I found that (http://www.senocular.com/flash/source.php?id=0.76) afterwards :o

muppet
10-19-2005, 04:12 PM
I also found that site, and have used this one as I found it better (for what I wanted, anyway);

http://www.senocular.com/flash/source.php?id=0.11

I've attached hte final FLA (MX2004) if anyone is interested.

Morg
10-19-2005, 04:14 PM
Yes, or use one of those.... :p :cool:

muppet
10-19-2005, 04:40 PM
Yes, or use one of those.... :p :cool:

thanks for your help as well, if I had more of a clue of what I was doing I would've been straight on your idea and would have worked it out for myself.

I'm a bad boy ... :(

Morg
10-19-2005, 04:42 PM
No worries mate.. whatever floats your boat. or in this case, pays your bills! :D