FORUMS: list search recent posts

Button Complications

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
OcelotMiamiBizzle
Button Complications
on Sep 30, 2007 at 6:47:37 pm

I'm having problems with buttons in CS2. First, how do you make a movie clip in a button? Also, I want to know if you can click on a button and have it change images when clicked (example: I have a whole fortune cookie that when clicked should become half of a fotune cookie).

I appreciate the help!!


Return to posts index

Doccie
Re: Button Complications
on Sep 30, 2007 at 9:01:15 pm

*does the Jedi Mind trick* Don't put movieclips in buttons. You can actually use a movieclip as a button. It works just the same way as a button.

If you're gonna use Movieclips as buttons, you can do

myBtnMC.onRelease = function(){
this.gotoAndStop(10) // 10 being the frame where you have the graphic of the cookie that cracked in half
}

(don't forget to give your MC/Button an instance name)

Kind regards,
Pieter


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]