My movieclips cant be made into buttons.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2003   #1
My movieclips cant be made into buttons.

First off I have looked through the help alot if anyone knows a specific area in the help section that comes with the program let me know. I am using Macromedia Flash MX.

I am trying to make my movieclips into buttons. I remember this used to be simple just set the instance as a button but it seems now you have to change the whole symbol. My actionscript to make the buttons fade looks like so for each menu item.

onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}
}

I thought I could just add onRelease but its not working any help here?

Thanks in Advance.
MSF
__________________
If noone quotes you, you probaly havn't said anything worth saying.
 
Old 02 February 2003   #2
well I have since discovered the onPress event for movie clips but how the heck to I get it to gotoplay on the maintimeline with this?
Anyone?

SAVE MEEEE
__________________
If noone quotes you, you probaly havn't said anything worth saying.
 
Old 02 February 2003   #3
Figured it out. Nevermind
__________________
If noone quotes you, you probaly havn't said anything worth saying.
 
Old 02 February 2003   #4
mind sharing how you do it I would like to do the same.thx
 
Old 02 February 2003   #5
just add your on(release) code to the movieclip without changing anything else to get it to act as a button. to move on the timeline your code would just be something like

_root.gotoAndPlay(frame#);

chris
 
Old 01 January 2006   #6
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
  share 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 04:52 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.