# Make blood vessel burst?

**URL:** <https://forum.kirupa.com/t/make-blood-vessel-burst/321712>\
**Category:** flash\
**Created:** [April 28, 2011, 9:35am UTC](https://forum.kirupa.com/t/make-blood-vessel-burst/321712 "2011-04-28T09:35:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chbook](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@Chbook](https://forum.kirupa.com/u/Chbook)\
**Post date:** [April 28, 2011, 9:35am UTC](https://forum.kirupa.com/t/make-blood-vessel-burst/321712/1 "2011-04-28T09:35:07Z")

</div>

:yoda:Hi guys, i have a blood vessel which ‘opens up’ when the timer reaches 5 seconds (timer initiated using button) and when play head reaches 10 (in the Artery timeline) the code should be executed which shows ‘blood cells’ exploding.

Everything works, except i cant seem to get the code to run when the playhead hits frame 10.  
Also when i put Artery.gotoAndPlay (10) the animation is jumpy, but fine when I put Artery.gotoAndPlay (9). it is fine 😕

Also I need the timer and the gotoandplay function on the main time line as i need to do other stuff with it…

Could someone help me please  
Thank you very much

I have attached the file here…

[http://www.actionscript.org/forums/showthread.php3?t=259350](http://www.actionscript.org/forums/showthread.php3?t=259350)
