# Need help with some script

**URL:** <https://forum.kirupa.com/t/need-help-with-some-script/147066>\
**Category:** Uncategorized\
**Created:** [May 6, 2005, 5:52pm UTC](https://forum.kirupa.com/t/need-help-with-some-script/147066 "2005-05-06T17:52:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ultraloveninja](https://avatars.discourse-cdn.com/v4/letter/u/71e660/32.png) [@ultraloveninja](https://forum.kirupa.com/u/ultraloveninja)\
**Post date:** [May 6, 2005, 5:52pm UTC](https://forum.kirupa.com/t/need-help-with-some-script/147066/1 "2005-05-06T17:52:16Z")

</div>

[font=verdana, arial, helvetica][size=2]okay, well, i had to make some rollovers using MC’s and those are fine.  
but now when i click on one of them, they do not perform the action to change out an external swf.

i’m at a loss of what to do.

here’s my script:  
[indent][font=verdana,arial,helvetica][size=1]quote:[/size][/font]  
on (rollOut) {  
\_parent.button02.gotoAndPlay(1);  
}  
on (rollOver) {  
\_parent.button02.gotoAndPlay(2);  
}  
on (release) {  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “cramer2”;  
pcontainer.loadMovie(“cramer2.swf”);  
} else if (\_root.currMovie != “cramer2”) {  
if (pcontainer.\_currentframe\>=pcontainer.midframe) {  
\_root.currMovie = “cramer2”;  
pcontainer.play();  
}  
}  
}

[/indent]

i’m not sure if i have my level’s right with \_root and \_parent.

i get sooo confused with those.

i’m gonna try and keep working at it, but if any can help me out, i will be very thankful.[/size][/font]
