0 Replies Latest reply on Oct 2, 2008 1:29 PM by zombiegx

    <MX:Component> help

    zombiegx
      I am working with ArcGIS server, a software for displaying maps, when I click a street from a list it apears on the map with the bubble dysplaing the street name.
      eveyting works okay but to put a little bubble on a map I need to create a info marker like this

      <esri:InfoSymbol id="nfoFind">
      <esri:infoRenderer>
      <mx:Component>
      <mx:Canvas>
      <mx:Label text="{outerDocument.street}"/>
      </mx:Canvas>
      </mx:Component>
      </esri:infoRenderer>

      as you can see it wraps a component canvas, this is all good but, I need to be able to create this exact same thing in ActionScript 3.0.

      This is because when I create multiple bubbles they all start displaying the new streetname instead of leaving the previous bubbles alone.

      so, to be able to create multiple bubbles without them all changing the street name, I need to create a new object every time I click on a street,

      this is the API document of InfoSymbol
      http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/symbol/InfoS ymbol.html

      Thanks to anyone who can help me out