Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / September 2007



Tip: Looking for answers? Try searching our database.

Boxes that "pop" out

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Emmure - 14 Sep 2007 19:23 GMT
Okay, I am by no means anything good at Flash development. I need help on
something. Pretty much, I am working on making buttons that pop out, but to the
right, diagonally when they are mouse-overed. It needs to look smooth as well.
Any thougts?
Twinbird24 - 15 Sep 2007 13:30 GMT
You need to use a Movie Clip symbol for you buttons, so you can make it
animated. In the movie clip, you first frame should be the 'Up' state of the
button. On your second frame, you should start the animation that would animate
into your popped out ' 'Over' state (remember, this is all in the Movie Clip
that is your button). You can then copy you animation (the frames) by
right-clicking them >copy frames, then paste the frames next to the last frame
and reverse them (right-click all of them and click reverse frames) to get an
animation that will make you button animate back into it's Up state. You should
make the animations tweens to make them as smooth as possible, and make the
ease 100% for both of them.
You probably didn't understand much of this, but you could email me your
button (videogame_guy24@hotmail.com) and I'll see what I can do..
Twinbird24 - 15 Sep 2007 13:35 GMT
Use action on the movie clip like:
on (RollOver) {
     this.gotoAndPlay(2);
}
// so when you roll your mouse over the button, the movie clip will stat the
roll-over animation in your movie clip (just make sure to add stop actions at
the beginning, middle, and an action at the end of the movie-clip that says:
gotoAndStop(1);
// to make the movie clip return to frame 1 when the roll-out animation
finishes.
make a roll-out aaction this this on the movie clip:
on (rollOut) {
  this.gotoAndPlay(8):
}
// asuming 8 is the frame after the stop action in the middle of your movie
clip button (after the roll-over animation in you MC).
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.