I suggest you add any UI elements to the display stack along side the
map.

ie..

container.addChild( map );
container.addChild( slider );

This way interactions of the slider will be separate from the maps
mouse handlers.

Michael

On Mar 28, 5:18 am, Yordan Yanakiev <[email protected]> wrote:
> Hello.
> I dropped on a strange issue - when i add some sprite object to the map as
> child, and then for instance put above it some slider, and try to slide, it
> drag the map aswell.
> How can i prevent this happening ?
>
> code looks like follow :
>
> var s : Sprite = new Sprite();
> ....
> var sl : Slider = new Slider();
> ....
>
> s.addChild( sl );
> map.addchild( s );
>
> and try to drag the slider... :(
>
> Please help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to