
Welcome Guest
|
#1
|
|||
|
|||
|
Probably simple, but not for me... button inside movieclip issue
Hey guys,
Having a little trouble with my button inside a movie clip... I searched the forum and tried solutions that were somewhat similar to my situation, but found no luck. So here it is... I have a movie clip that resides in my main timeline. The movie clip is 30 frames long. Within this movie clip, I put in two buttons. One button is to get back to the main timeline, which all resides in one frame. The code for that looks like this: Actionscript:
main_btn.onRelease=function(){
root_gotoAndPlay(1);
}The other button is to move to frame 21 in the movie clip timeline. The code I currently have for this one looks like this: Actionscript:
philo_btn.onRelease=function(){
gotoAndPlay(21);
}Needless to say, these don't work. I feel like either I'm doing something ridiculously wrong, or I'm off by a smidge... Any help or advice is greatly appreciated. Thanks in advance. Last edited by m. allen west : 09-20-2008 at 01:32 AM Reason: [AS]tags needed[/AS] |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Get index of the button inside CellRenderer | superprg1 | Flash MX 2004 |
1 | 11-07-2005 06:02 AM |
| movieClip as a button | adstan | Flash MX 2004 |
4 | 06-25-2005 07:19 AM |
| Button inside a movieclip ~HELP~ | physix | Flash MX 2004 |
1 | 04-16-2005 09:29 AM |
| Variable text field inside Movieclip. | Uraal | Newbies |
2 | 08-06-2004 06:02 PM |
| Picture or Movieclip OVER a Button. | marcushouse | Flash MX |
2 | 03-23-2003 10:29 PM |





