Dowsonk or jesperj86,

I was trying to do a similar thing, making a risk like game, so I found this and thought that it might be a good start (Dowsonk's actionscript for a map) but I don't have something set up right. I made a bitmap with the colors listed in the actionscript and a movie clip that was titled and given an instance name of mapMC, however, I am getting an output that says

TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Shape@37105139 to flash.display.Bitmap.
at Untitled_fla::MainTimeline/getColour()
at Untitled_fla::MainTimeline/clickMe()
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Shape@37105139 to flash.display.Bitmap.
at Untitled_fla::MainTimeline/getColour()
at Untitled_fla::MainTimeline/clickMe()
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Shape@37105139 to flash.display.Bitmap.
at Untitled_fla::MainTimeline/getColour()
at Untitled_fla::MainTimeline/clickMe()
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Shape@37105139 to flash.display.Bitmap.
at Untitled_fla::MainTimeline/getColour()
at Untitled_fla::MainTimeline/clickMe()
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Shape@37105139 to flash.display.Bitmap.
at Untitled_fla::MainTimeline/getColour()
at Untitled_fla::MainTimeline/clickMe()
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Shape@37105139 to flash.display.Bitmap.
at Untitled_fla::MainTimeline/getColour()
at Untitled_fla::MainTimeline/clickMe()
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Shape@37105139 to flash.display.Bitmap.
at Untitled_fla::MainTimeline/getColour()
at Untitled_fla::MainTimeline/clickMe()
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Shape@37105139 to flash.display.Bitmap.
at Untitled_fla::MainTimeline/getColour()
at Untitled_fla::MainTimeline/clickMe()

Can anybody help me figure this out. Thank you.
j3dub