OK when I replace "selectionChanged" with "change"... I get a new error:
Description Resource Path Location Type
1067: Implicit coercion of a value of type spark.events:IndexChangeEvent to an unrelated type mx.events:IndexChangedEvent. Main.mxml facetmedia-beta-live_1/src line 975 Flex ProblemI guess something changed in the new beta 2. I'm at a loss as to how to get this working. also how can I find a list of changes from Flash builder Beta 1 to beta 2.
Ok changed "mx.events:IndexChangedEvent" to "import spark.events.IndexChangeEvent;"
now I'm getting these errors:
1046: Type was not found or was not a compile-time constant: LineSegment. facetmedia-beta-live_1 Unknown Flex ProblemI have specified 10.0.45 as the flash compiler.
12 linesegment errors
4 movesegment errors
3 simpletext errors
What do i replace these with to get it working in flash builder 4 Beta 2?
I dont think the LineSegment and MoveSegment syntax is supported anymore. I believe you now need to set the "data" property.
And s:SimpleText was renamed to s:Label.
Also note that the beta 2 SDK is a few months old now and you may be better off downloading a nightly build of the Flex 4 SDK which will be a lot more recent (and closest to the "final" Flex 4.0 APIs).