# Error in Advanced ActionScript 3 Animation, chapter 3?

**URL:** https://forum.kirupa.com/t/error-in-advanced-actionscript-3-animation-chapter-3/282146
**Category:** flash
**Created:** [February 18, 2009, 6:07am UTC](https://forum.kirupa.com/t/error-in-advanced-actionscript-3-animation-chapter-3/282146 "2009-02-18T06:07:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![John\_Keel](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@John\_Keel](https://forum.kirupa.com/u/John_Keel)
#### Post date: [February 18, 2009, 6:07am UTC](https://forum.kirupa.com/t/error-in-advanced-actionscript-3-animation-chapter-3/282146/1 "2009-02-18T06:07:15Z")

</div>

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](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](http://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.
