[flexcoders] FLEX BUG: Nested switch case statements fail to compile correctly

2006-10-09 Thread tombaggett
I have found that code containing nested switch/case statements fail to work correctly even though they compile without errors. I'm including two different versions of the same code, one using switch/case statements, the other using if/else statements. The switch/case version won't allow me to se

Re: [flexcoders] FLEX BUG: Nested switch case statements fail to compile correctly

2006-10-10 Thread EECOLOR
Hello,   the problem might be caused by the { and } you place around you switch statements. The following code works just fine.     Greetz Erik     public function testAS()  {   var x1:Object = {type: "x", data: {a: 1}};   var x2:Object = {type: "x", data: {a: 2}};   var y1:Object = {type: "y",

RE: [flexcoders] FLEX BUG: Nested switch case statements fail to compile correctly

2006-10-10 Thread Matt Chotin
do in the meantime.   Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of EECOLOR Sent: Tuesday, October 10, 2006 1:47 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] FLEX BUG: Nested switch case statements fail to compile correctly