-
1. Re: Cannot resolve attribute 'selectionChanged'
trancepriest Feb 15, 2010 8:08 AM (in response to trancepriest)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 Problem
I 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. -
2. Re: Cannot resolve attribute 'selectionChanged'
trancepriest Feb 15, 2010 8:38 AM (in response to trancepriest)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 Problem
I have specified 10.0.45 as the flash compiler. -
3. Re: Cannot resolve attribute 'selectionChanged'
trancepriest Feb 15, 2010 8:47 AM (in response to trancepriest)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?
-
4. Re: Cannot resolve attribute 'selectionChanged'
Peter deHaan Feb 16, 2010 12:18 PM (in response to trancepriest)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).
Peter


