Stop map scrolling

Post here your questions about the OpenSpace 2.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Madhav
Posts: 78
Joined: 27 Nov 2012, 04:41

Stop map scrolling

Postby Madhav » 22 Feb 2013, 05:55

Hi....
I want to stop map scrolling in openspace and not getting how to do it. I have mapBackground size and my flash stage size both same so I need no scrolling. But as if now when the avatar walks to extreme end of the map, the map scrolls.

I don't want the map to scroll at all....Please do help...

Thanks....
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Stop map scrolling

Postby Bax » 23 Feb 2013, 13:14

Check the IOpenSpace.mapScrollingEnabled property: http://openspace-engine.com/static/clie ... ingEnabled
Paolo Bax
The SmartFoxServer Team
Madhav
Posts: 78
Joined: 27 Nov 2012, 04:41

Re: Stop map scrolling

Postby Madhav » 25 Feb 2013, 04:28

Hi Bax,

I had set mapScrollingEnabled property to false when the openspace component was added to stage but still it was scrolling.
I didn't knew OpenSpace sets this property to true each time a map is rendered after loading. Now the problem is solved :D

Thanks a lot..

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 30 guests