Getting Object to Pulse/Blink Repeatedly On/Off


hi,

 

i learning game type animations using pong-style tutorial: http://as3gametuts.com/2011/03/19/pong-1/

 

source fla: https://www.box.com/shared/co3bn7aeey22ki6r22tf

 

very nice tutorial!

 

for elearning lesson, need add flashing/blinking/pulsing effect "ball" , need repeatedly flash/blink/pulse @ slower pulse (every 500 ms) pulsing achieved by:

 

ball.visible = !ball.visible; (i tried using setinterval visible=!visible , got rapid flashing, not able 500 ms).

 

not sure how achieve this? (would prefer, if possible, achieve effect scripting in single frame, rather multiple frames.

 

any appreciated.

 

regards,

you should show did setinterval attempt.



More discussions in Adobe Animate CC - General


adobe

Comments