# Mouse over in a transition wont work

**URL:** <https://forum.kirupa.com/t/mouse-over-in-a-transition-wont-work/34542>\
**Category:** Uncategorized\
**Created:** [November 3, 2003, 9:24pm UTC](https://forum.kirupa.com/t/mouse-over-in-a-transition-wont-work/34542 "2003-11-03T21:24:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![robbie\_star](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@robbie\_star](https://forum.kirupa.com/u/robbie_star)\
**Post date:** [November 3, 2003, 9:24pm UTC](https://forum.kirupa.com/t/mouse-over-in-a-transition-wont-work/34542/1 "2003-11-03T21:24:38Z")

</div>

Hi

Could some please change this AS code so that it will work in a transition, as i cantseem to get the hang of AS coding.

Thanks heres the AS Code

on (rollOver) {  
startDrag(“m1”, true);  
tellTarget ("/m1") {  
play();  
}  
}  
on (release, rollOut) {  
tellTarget ("/m1") {  
play();  
}  
}

---

<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:** [November 4, 2003, 9:09am UTC](https://forum.kirupa.com/t/mouse-over-in-a-transition-wont-work/34542/2 "2003-11-04T09:09:54Z")

</div>

hey guys i realy need some help to get this to work

---

<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:** [November 4, 2003, 9:13am UTC](https://forum.kirupa.com/t/mouse-over-in-a-transition-wont-work/34542/3 "2003-11-04T09:13:50Z")

</div>

Post your fla.

–EP

---

<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:** [November 4, 2003, 12:04pm UTC](https://forum.kirupa.com/t/mouse-over-in-a-transition-wont-work/34542/4 "2003-11-04T12:04:29Z")

</div>

Maybe i did not explain very well

Its like this i have a rollover that is in an external movie which this movie is loaded into a transition. the rollover button works fine when u view the external moive on its own. but when its viewed in the main movie in a preloader transition it does not work. i think that the as code in the rollover need some adjustment so that it will work when played in the preloader transition.

on (rollOver) {  
startDrag(“m1”, true);  
tellTarget ("/m1") {  
play();  
}  
}  
on (release, rollOut) {  
tellTarget ("/m1") {  
play();  
}  
}

---

<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:** [November 4, 2003, 2:52pm UTC](https://forum.kirupa.com/t/mouse-over-in-a-transition-wont-work/34542/5 "2003-11-04T14:52:12Z")

</div>

hey guy’s come on i realy need some help on this

Thanks
