Get your own customer support community
 

Can't drag map inside nested Box VBox

I'm pretty new to flex, and i'm trying to use Modest Maps. Unfortunatly when i try to use the control in my code, i cannot drag the map. Here is an example of the code. The First map object works (i can drag it) The second map object will not drag. Maybe i'm doing something wrong.

<?xml version="1.0" encoding="utf-8"?>
<mx:canvas height="674" width="1000">

<mx:box height="100%" width="100%">
<mx:vbox height="100%" width="475">
<panels:mappanel height="300" width="300">
</panels:mappanel></mx:vbox>
<mx:vbox height="100%" width="475">
<panels:mappanel height="300" width="300">
</panels:mappanel></mx:vbox>
</mx:box>

</mx:canvas>

Sorry, i don't know how to do a code block on here, so some stuff like ID's are missing from the code.

I'm using Flex 2

Thanks in advance.
--Jay
 
silly I’m unsure
Inappropriate?
1 person has this question

User_default_medium