# Permanent animation

**URL:** https://forum.kirupa.com/t/permanent-animation/275929
**Category:** flash
**Created:** [November 20, 2008, 7:10am UTC](https://forum.kirupa.com/t/permanent-animation/275929 "2008-11-20T07:10:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![TeddyRosso](https://avatars.discourse-cdn.com/v4/letter/t/f07891/32.png) [@TeddyRosso](https://forum.kirupa.com/u/TeddyRosso)
#### Post date: [November 20, 2008, 7:10am UTC](https://forum.kirupa.com/t/permanent-animation/275929/1 "2008-11-20T07:10:37Z")

</div>

okay, so this piece of code shows an animation when mousing over my box1 button,  
but if I want to show the first frame of the home\_box1 clip when the flash starts?

What code can I apply?

box1.onRollOver = function() {

```
_root.attachMovie("home_box1","btn_01",99);
btn_01._x = 5;
btn_01._y = 31;

```

Thanks
