Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-01-2002, 10:53 AM   #1
simontheak
Simon
 
simontheak's Avatar
 
Join Date: Mar 2002
Location: _UK.London.Bucks
Posts: 339
Default Invisible Buttons in Movie Clips

I've basically got an invisible button inside a movie clip with the following code:

on (release) {
gotoAndPlay ("Scene 1", "start");
}

However, clicking the button doesn't seem to do anything.

Anyone got any ideas why? Is it something to do with paths?
__________________
"That could be anybody's ass" - Mayor Quimby
simontheak is offline   Reply With Quote
Old 10-01-2002, 01:42 PM   #2
Jesse
ActionScript.org Founder
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: New York
Posts: 8,736
Default

Label the frame you want to gotoAndPlay, then call it via
ActionScript Code:
_root.gotoAndPlay ("MyLabelName");
Scene names are buggy when you get into nested buttons.
__________________
Cheers

Jesse Stratford
ActionScript.org Cofounder

Please don't email or PM me Flash questions, that's what the Forums are for!

Please don't rely on me reading my PMs either. Email me about important stuff.
Jesse is offline   Reply With Quote
Old 10-01-2002, 02:22 PM   #3
simontheak
Simon
 
simontheak's Avatar
 
Join Date: Mar 2002
Location: _UK.London.Bucks
Posts: 339
Default

Thanks Jesse - I think I've lost count of how many drinks I owe you now ... but you can add another one to the list!
__________________
"That could be anybody's ass" - Mayor Quimby
simontheak is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT. The time now is 02:09 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.