iGetIt! Music

Online music education courseware for non-musicians who want to learn how to write their own rock songs.

My Photo
Name: Jim Plamondon
Location: Austin, Texas, United States

This blog documents the development of JIMS iGetIt! Music System (JIMS). JIMS' goal is to help you Understand Music in 24 Hours™, if you are (a) a non-musician (b) who wants to learn how to write your own rock songs. Requiring no instrument other than your own computer, and without using traditional notation, JIMS is being designed to deliver a deep understanding of tonal structure...in just 24 hours.

Friday, January 29, 2010

StateGroup bug in Flex 4 Beta 2

I hit an annoying bug in Flex 4 Beta 2 today: using stateGroups to set the min/value/max of a slider control SOMETIMES sets those values to NaN instead of the specified values.  It can be worked around by not using state groups...which of course makes state groups considerably less useful.

Here's a Flex app that reproduces the bug 100% of the time (source code here):


I've edited the code and walked Flex's source code in the debugger, trying to track down the cause of the failure, and also tried to find a mention of the bug in Adobe's bug database...but it's already eaten up my whole day, and I've got lessons to finish, so I'll just stop using stateGroups.  That's life in beta-land.

Bummer.  :-(

Labels: ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home