Upgrading MapQuest 5.3 to 6.0 (Drawing Changes)
Alright, I got everything changed enough to get my program to compile and we are up and at it seeing what else gets to change. I was able to pin down a few changes and these are pretty good and easy. This post is everything I found when changing over my Drawing files and making sure all that works. So here we go!
to get the Display Objects: If you were using the myMap.getShapes() function you can call myMap.getDisplayObjectOberlays() this will return a shapeCollection just like you had before. You could also call myMap.shapes that returns an Array though… and then you have to deal with the array instead of a ShapeCollection.
When working with the ShapeCollection: getSize() is now length, and get(i) is now getShapeByIndex(i) still gets you what you need.
I had to tell the map when I am drawing on it to Disable the Drag by saying myMap.tileMap.enableDragging(false);
My cursors were Bitmaps and now they need to be Sprites so just create a new Sprite and call sprite.addChild(bitmap);
Those are all the changes that I have found that revolve around all my drawing tasks. Some of this would also fall under some other tasks, but this should get us going. These changes so far are good and easy to fix. Thanks for the help so far MapQuest!
About this entry
You’re currently reading “Upgrading MapQuest 5.3 to 6.0 (Drawing Changes),” an entry on MapQuest Actionscript 3.0 Learning and Blogging
- Published:
- August 27, 2010 / 6:57 pm
- Category:
- mapquest 6.0
- Tags:

No comments yet
Jump to comment form | comment rss [?] | trackback uri [?]