Reinstate updated object coding for flash

Use flash object coding from flash CS6.