The success of mobiles or the iphone themself had no impact on the death of Flash. Apple's blatant hatred for it and decision to publicly vilify it and discriminate against it did.
There were plenty of phones that supported Flash, at least initially. Adobe could have done better to keep it going but I think they saw the writing on the wall early on.