It will work with plain flour if it is a cooked recipe, if it isn't it may not.

Not that you probably have any, but you can substitute Arrowroot flour for cornflour and it gives a better result too.