working code for the changing blinking image

right now the blinking ball wil change to a mainball but needs to get
bigger actually..