# Onload

**URL:** https://forum.kirupa.com/t/onload/2571
**Category:** Uncategorized
**Created:** [June 4, 2002, 11:50am UTC](https://forum.kirupa.com/t/onload/2571 "2002-06-04T11:50:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [June 4, 2002, 11:50am UTC](https://forum.kirupa.com/t/onload/2571/1 "2002-06-04T11:50:26Z")

</div>

I want to make text slide accross the screen when my page loads up. Is there an onload function so that when my page loads up it will play the animation?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [June 4, 2002, 5:51pm UTC](https://forum.kirupa.com/t/onload/2571/2 "2002-06-04T17:51:03Z")

</div>

youdon’t need any action, just put a clip in the 1st frame with the sliding text in it, with a stop on \_root, clip will play and main timeline stops; to restart it, just put a \_root.play() in the last frame of your clip…?
