Dolphin Browser Stops Flash Player When Locked
You could use Maxthon Web Browser, which supports flash in the background. I think I saw some solution for getting Flash (YouTube specifically) to work with the screen off a while ago, but it required root.