This content has been marked as final. Show 7 replies
Sure, you can do what you ask. The Movieclip Tweening Prototypes you're using from L are code-based though, so you won't find the answer there. (but they are really useful things and will allow you to type a little code to do a lot of things!)
If you're really looking to avoid the code and work in a timeline though, create yourself a new Button Symbol. create the graphic for the Up frame. Copy it. Create a new Movieclip symbol. Paste the Up Button graphic into the first frame of the new MC symbol. Use the timeline to animate the button (zoom, etc). You should end the animation with the same graphic as that in frame 1. Go back to your button symbol and insert the MC into the Over frame of the button. Return to your main timline. Drag an instance of your Button to the stage and test your movie.
There's more you can do to make your button more nicer (Down state, etc). And when you roll off the button, the animation will abruptly end as the button returns to the Up state. But hoipefully, you'll start to get the idea of how it works.
Search the Help files on animated button for more.
You could do the zoom part with no problem, but making the other buttons shift would be fairly impossible without using actionscript. The weird thing is that I downloaded and checked out that file. It is looking for an included actionscript file to do all the work, but it is missing.
So, basically all the fla file does is create all the buttons from one master button, puts dynamic text on each new button, then lays them out on the page.
Thanks so much both of you -- I'll give this a try and work on it more! Fingers crossed!
Well - I tried the steps derobinson suggested and I don't know what's wrong with me, but I don't know how to get into the timeline from the button state in order to animate the button?? I'm going over all my manuals ("Flash MX 2004 Bible" and "Teach Yourself Macromedia Flash") and all the help menus -- and I'm finding absolutely NO information. Sure, I can alter the Up state and the Down state and the Over state -- and play back a rollover effect of a bigger button or a tinted button or a button with sound and it works, but only SINGLE FRAME changes. How do I build in the animation of that zoom effect into an OVER or DOWN state?
Thanks for your continued guidance.
I explain one technique here:
You can also put a movieclip on the stage in the over frame (thus having an animation on one frame), but it will stop immediately on rollout which is why I use the more advanced technique described in the link above.
FYI: the "lmc_tween_as1.as" file should be installed with the Movieclip Tweening Prototypes extension on which the example Sarah was originally using is based.
Nickelsis right on the money on needing the more advanced technique. I seem to remember a good chapter on movieclips as buttons in the Friends of Ed book "Flash MX Essentials." Its out of print now, so you could probably pick it up cheap used....maybe check the Friends of Ed site and see if there are any sample files too.
Let us know how it goes!
Thanks for the book suggestion - turns out I'm a bit of a manual geek, I guess. I have a whole library of them! I finally found a chapter in my "Flash Bible" that deals with movieclips in buttons (wow! so many steps!!!), but I fear I'll never be able to master the button shift since the code stuff completely eludes me (for example: I have no idea where the #include "lmc_tween_as1.as" is supposed to go). But that's okay, I'll still try to create something cool. I'm learning more every day! So thank you. : )