Hey to ya all,
I'm trying to do following, which obviously won't work, but is there
another way without having to use if else if else if else...
var model:Observable =
Observable(this._content.divideSentenceSteps.getById(indexCurrentAttempt
+2));
switch(model){
case (instanceof DivideSentenceStep2) :
logger.debug("DivideSenteceStep2");
break;
default :
logger.debug("Not Known");
break;
}
}
thx
Met vriendelijke groeten,
Lieven Cardoen
MULTIMEDIALOFT | POINT X
Engelse Wandeling 2 K18v | 8500 Kortrijk | T +32 (0)56/36.11.97
// communicatie bij voorkeur op [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com