View Full Version : How to link within a movieclip
Angel
06-04-2003, 05:36 AM
Hi!
I have made a sliding menu that is within a movieclip. Now I'm trying to link the first menuitem to frame 5 in the main timeline, but I can't make it work. What am I doing wrong?
on (release) {
_parent.gotoAndStop(5);
}
The button has an instancename "Button1". The movieclip that the menu is in is called "choose2". The main timeline is in Scene1.
Can anyone help me?
;) Angel
CyanBlue
06-04-2003, 05:49 AM
Howdy and Welcome... ;)
You could try any of these to see if it works... ;)_level0.gotoAndStop(5);
_root.gotoAndStop(5);
this._parent.gotoAndStop(5);
Angel
06-04-2003, 06:09 AM
Thank you, Jason, I tried all the options but it still doesn't work. I am supposed to put the actionscript on the button, right? Could I put the action on own action layer instead...?
I'll go crazy if I can't figur this out!:eek:
Thanks again!;)
CyanBlue
06-04-2003, 06:18 AM
Yes... If you want the gotoAndStop() function happening when the button is pressed, you will have to put that action within the on (press) handler as you have it right now... I'll have to go get some sleep soon, but if you upload the sample, I could take a look... ;)
Angel
06-04-2003, 06:43 AM
Hi
I tried to upload it, but for some reason I can't attach my file. And tha email is disabled...
Thanks anyway! I'll figure it out!:p
Zzzzzzleep tight...
Angel
CyanBlue
06-04-2003, 06:47 AM
Well... There is a size limit first of all, which is Maximum size: 102400 bytes, and the file extension should be one of these, gif jpg png txt zip bmp jpeg...
;)
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.