LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-19-2008, 10:08 PM
npt npt is offline
Registered User
 
Join Date: Dec 2007
Posts: 13
Rep Power: 0
npt is on a distinguished road
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]
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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




All times are GMT. The time now is 07:15 AM.