4 Replies Latest reply on Feb 16, 2010 12:18 PM by Peter deHaan

    Cannot resolve attribute 'selectionChanged'

    trancepriest Level 1

      This bit of code used to work perfectly before I downloaded Flash Builder Beta 2:

       

       

      <s:List allowMultipleSelection="true" includeIn="Portfolio" x="312" skinClass="components.DataList2" id="list1" selectionChanged="List_selectionChanged(event)">

      <s:ArrayCollection>

      <fx:String>@Embed('/assets/retribution-portfolio.jpg')</fx:String>

      <fx:String>@Embed('/assets/heinz-portfolio.jpg')</fx:String>

      <fx:String>@Embed('/assets/roughwinds-portfolio.jpg')</fx:String>

      </s:ArrayCollection>

      </s:List>

       

       

      Now I'm getting this error:

       

      Description Resource Path Location Type

      Cannot resolve attribute 'selectionChanged' for component type spark.components.List. Main.mxml facetmedia-beta-live_1/src line 975 Flex Problem

      I have imported:
      import mx.events.IndexChangedEvent;
      My flash version is 10.0.45.2
      Any help would be appreciated.