I am currently working through the book “Advanced ActionScript 3 Animation” and I am stuck in chapter 3, which deals with Isometric Projection. If you think you might be interested in helping my out please check the source files that can be downloaded here: http://www.friendsofed.com/download.html?isbn=1430216085
After unzipping the files, save a fla file into the folder “Chapter03” so that you can test the classes.
Here are the problems I am having: When setting “GraphicTest” as the document class of the fla file, I am getting the following error:
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at com.friendsofed.isometric::GraphicTile()
at GraphicTest()
When setting “MapTest” as the document class of the fla file, I am getting the following error:
ReferenceError: Error #1065: Variable MapTest_Tile01 is not defined.
at global/flash.utils::getDefinitionByName()
at com.friendsofed.isometric::MapLoader/makeWorld()
at MapTest/onMapComplete()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.friendsofed.isometric::MapLoader/onLoad()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
I am not familiar with either of these errors and searching the web didn’t yield any results I was able to implement. Help would be greately appreciated.