Changed parameter of FlashSequence method to ArrayList