Daily Archives: January 15, 2009

as3 casting issue

Either I’m going slightly mad or casting using the “as” keyword works differently to the old way of casting. Here’s some code to illustrate: showFormItem = (((e.target as CheckBox).selected as String) == _local.displayTriggerValue[i]) ? true : false Now this gives

Tagged with: ,
Posted in Flash
Posts this month
January 2009
M T W T F S S
« Dec   Feb »
 1234
567891011
12131415161718
19202122232425
262728293031  
Archives