Skip navigation
Currently Being Moderated

1120 Error

Jun 17, 2013 11:57 AM

Tags: #help #error #new #interactive #question #map #bindable #1120 #openscales

Very new to Flash builder. im trying to do a project for school making an interactive map.
I found the Openscales project which im trying to use to give my map interactivity.
Ive been following the tutorial given on the project website

( tml )


Before I try to import my own map image im trying to make this map from the tutorial work then im assuming it will be fairly easy to plug in my graphics. but...


Ive run into an Error which I cant seem to fix. Ive googled and read of similar problems with this error but their problems werent exactly the same so i still couldnt really figure out whats causing it for me.


I get the Error "1120:Access of undefined property fxmap."


This is the code which i followed from the tutorial:




<?xml version="1.0" encoding="utf-8"?>

<s:Application xmlns:fx=""











          <os:Map id="fxMap"







  <os:Mapnik name="Mapnik"/>















                              import org.openscales.core.Map;

                              import org.openscales.core.feature.CustomMarker;

                              import org.openscales.core.feature.PointFeature;

                              import org.openscales.core.layer.FeatureLayer;


                              import org.openscales.geometry.Point;

                              import org.openscales.proj4as.ProjProjection;


                              [Bindable] private var map:Map = null;

                              private function initMap():void{

                                        map =;










The Error is on the Line 45: 


  map =;



Any help is greatly appreciated. Im on a pretty short deadline to figure all of this out.

  • Currently Being Moderated
    Jun 17, 2013 9:13 PM   in reply to Jynglez888

    Property names are case-sensitive.  You named your Map fxMap but reference it as fxmap in initMap()

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points