# Rollover in loaded swf

**URL:** <https://forum.kirupa.com/t/rollover-in-loaded-swf/141915>\
**Category:** Uncategorized\
**Created:** [March 24, 2005, 5:08am UTC](https://forum.kirupa.com/t/rollover-in-loaded-swf/141915 "2005-03-24T05:08:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hogsmoss](https://avatars.discourse-cdn.com/v4/letter/h/a6a055/32.png) [@hogsmoss](https://forum.kirupa.com/u/hogsmoss)\
**Post date:** [March 24, 2005, 5:08am UTC](https://forum.kirupa.com/t/rollover-in-loaded-swf/141915/1 "2005-03-24T05:08:34Z")

</div>

ive got a main swf that uses buttons(with rollovers) to load other swf’s onto the main stage. one of the swf’s that gets loaded is a links page. on that page i also use buttons with rollovers. when the links page is loaded into the main stage i cant see the rollover animation on the links. i think it has to do with the \_root in the code but im not sure.  
heres the code I use for the links rollovers.

```auto
on (rollover) {
_root.rollover.gotoAndPlay(&quot;point&quot;);
}
on (rollout) {
_root.rollover.gotoAndPlay(&quot;pointoff&quot;);
}

```

heres the one i use on the main stage

```auto
on (rollover) {
_root.rollover2.gotoAndPlay(&quot;news&quot;);
}
on (rollout) {
_root.rollover2.gotoAndPlay(&quot;newsoff&quot;);
}

```
