Skip to main content
Participant
May 23, 2007
Question

movieclip button in movieclip?

  • May 23, 2007
  • 7 replies
  • 411 views
i have put the attached code in a frame, that's in a movieclip. gotei13_thumbnail is a movieclip, that's in the same movieclip as the script.
why does this not work?
if i copy the script to a frame on the main timeline, and copy gotei13_thumbnail to the main timeline, it works just fine.
i'm guessing there's some more script i have to add?

please help me, asap. thank you.
This topic has been closed for replies.

7 replies

Inspiring
May 23, 2007
you have to put the code on the frame not on the movieclip
Participant
May 23, 2007
oh, i think we had a little bit of a misunderstanding.
but, i've worked it out now. thanks (:
Participant
May 23, 2007
i tried that

what i get is
"**Error** Symbol=charactersPage_mc, layer=gotei 13, frame=185:Line 1: Statement must appear within on/onClipEvent handler
this.onRollOver = function(){

**Error** Symbol=charactersPage_mc, layer=gotei 13, frame=185:Line 4: Statement must appear within on/onClipEvent handler
this.onRollOut = function(){

Total ActionScript Errors: 2 Reported Errors: 2"
Participant
May 23, 2007
try code in the movieclip
this.onRollOver = function(){
this.gotoAndPlay("over");
}
this.onRollOut = function(){
this.gotoAndPlay("out");
}


Inspiring
May 23, 2007
this
Participant
May 23, 2007
*bump

sorry, but this is pretty urgent.
replace gotei13_thumbnail with what?
Participant
May 23, 2007
im sorry, did i miss something?
replace it with what exactly =/
Inspiring
May 23, 2007
replace gotei13_thumbnail with this if you are putting this script inside timeline of the movieclip