it looks like:
var a:Boolean = true;
var b:Boolean = false;
a as Number // 0
b as Number // 0
Number(a) // 1
Number(b) // 0
>From this, I think ObjectUtil class just needs to be updated in the
internalCompare function:
switch(typeOfA)
{
case "boolean":
// Looks like this should be added to the "boolean" case
// rather than falling down into the "number" case
{
result = numericCompare(Number(a), Number(b));
break;
}
case "number":
{
result = numericCompare(a as Number, b as Number);
break;
}
....
}
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.