Blog Archives

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
March 2017
M T W T F S S
« Feb    
 12345
6789101112
13141516171819
20212223242526
2728293031  
Archives