AW: [Flashcoders] better logic statement

2008-04-14 Thread Kai Feldmaier
Use if ( anynumber % 10 == 1 ) {do something} Hi I build slideshow with 10 visible thumbnails. After each 10 pictures I move thumbnails to show next 10. Another words if (id==11 || id==21 || id==31) {do something} How to write more wise if statement? Thanks

AW: [Flashcoders] better logic statement

2008-04-14 Thread Kai Feldmaier
to show 8 or 12 images? 2008/4/14, Kai Feldmaier [EMAIL PROTECTED]: Use if ( anynumber % 10 == 1 ) {do something} Hi I build slideshow with 10 visible thumbnails. After each 10 pictures I move thumbnails to show next 10. Another words if (id==11 || id==21 || id==31) {do