View Full Version : A "rolled out" menu button
ps90000
03-15-2005, 04:19 AM
Hey, i'm sorry if this doesn't use action script, but i just can't figure this out. I'm a newbie at flash by the way (hence the section) but none the less.
I am trying to make a flash menu for my clan site. The images i will be using are
http://img.photobucket.com/albums/v78/ps90000/Across.jpg
http://img.photobucket.com/albums/v78/ps90000/Chain.jpg
http://img.photobucket.com/albums/v78/ps90000/Dropdown.jpg
When I click one of the buttons, i would like the first "edger" to come out horizontally,but the tube/chain will follow it. Then, when it gets out to the end, i would like the grey box to come down. I am having problems with it though, i really have no idea how to make it work. I hope I described it well enough, and I really appreciate any help.
brendanww
03-15-2005, 04:30 AM
Hey, i'm sorry if this doesn't use action script, but i just can't figure this out. I'm a newbie at flash by the way (hence the section) but none the less.
I am trying to make a flash menu for my clan site. The images i will be using are
http://img.photobucket.com/albums/v78/ps90000/Across.jpg
http://img.photobucket.com/albums/v78/ps90000/Chain.jpg
http://img.photobucket.com/albums/v78/ps90000/Dropdown.jpg
When I click one of the buttons, i would like the first "edger" to come out horizontally,but the tube/chain will follow it. Then, when it gets out to the end, i would like the grey box to come down. I am having problems with it though, i really have no idea how to make it work. I hope I described it well enough, and I really appreciate any help.
convert the across image to a button symbol in flash. put the following actionscript in the button:
on(press)
{
gotoAndPlay(2);
}
add the following actionscript to frame 1 of your flash document:
stop();
cut your chain image into several different parts, starting at frame 2 going to shall we say frame 30, insert smaller-longer chain parts at frame intervals of 4 until your full chain image is in frame 30, add motion tweens in between all these.
ill continue this tommorow, got to get some sleep, i hope this will lead you in the right direction :)
ps90000
03-15-2005, 05:36 AM
Alright, i got the action script part of it down now. But i still can't get the animation to run smoothly across. I tried to make a small segment of the chain, then shape tween it into the full chain, but for some reason it was expanding. Thank you very much for your fast reply. I guess what I need help with now is the animation part of it. I was thinking, would there be a way to have the full chain out, but to mask it so when the "edge" comes across it, it shows up? i was thinking there would be some way in action script to do that, but I don't really know. Thank you very much.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.