i wonder if perhaps it can simply be a reference to a fleeting, trifling or fluttering 'flirtation' with gambling. Isn't it most commonly applied to a bet (usually on a horse race) by a casual wagerer?