# Gotoandplay() when an html page loads

**URL:** <https://forum.kirupa.com/t/gotoandplay-when-an-html-page-loads/172471>\
**Category:** Uncategorized\
**Created:** [December 14, 2005, 6:22pm UTC](https://forum.kirupa.com/t/gotoandplay-when-an-html-page-loads/172471 "2005-12-14T18:22:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joecannes](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@joecannes](https://forum.kirupa.com/u/joecannes)\
**Post date:** [December 14, 2005, 6:22pm UTC](https://forum.kirupa.com/t/gotoandplay-when-an-html-page-loads/172471/1 "2005-12-14T18:22:47Z")

</div>

Hi all,

I need to know if I can do this and if there are any examples out there that can help me, or if you guys can help me.

I have an html page with an .swf in it.

when this page loads, i want it to play a certain section in my swf (which I have labelled).

Is there a way for me to do this? using javascript?

i.e. \<body onload=( gotoandPlay (starthere) )

Thanks,  
[joecannes@yahoo.ca](mailto:joecannes@yahoo.ca)
