flashywho
Little Devil
Registered: Apr 2007
Local time: 05:04 AM
Location: singapore
Posts: 5
|
hmm...surfbug, to make it simple, i say out a few steps you try follow it and see how izit.
1st-ly, you got a navigation-bar with all the options. Select 1 of the option in the navigation bar you wanna hv a pop-up menu,convert it to a movie symbol.
2nd, right click on this particular option(option which u jux converted into movieClip, add this few lines of codes into the actionscript.
onClipEvent(load){
//is the cursor over the movie clip
x=false;
}
onClipEvent(enterFrame){
y=this.hitTest(_root._xmouse,_root._ymouse,true);
//if there is a change, go to another frame
if(!x and y){
x=true;
this.gotoAndPlay(2);
} else if (x and !y){
x=false;
this.gotoAndStop(1);
}
3rdly, double-click on this movieClip and do animation. If you are not very clear actionscript or wad, i would suggest you using motion-tween for the pop-down menu to drop-down.
Few ting to rmb is as a basic reference, have a stop(); action in the 1st frame of the movie timeline by selecting the 1st frame of the movie and press F9. Then, insert layer/s for the dropdown menu which i assume you knows how to do. On the last frame of the animation, add a stop(); action on the layer you inserted earlier.
NOTE: the layer which you inserted the stop actions is only to have those 2 actions and nth else. Rmb to have this layer same number of frames as the whole movie clip.
It should works fine if you follow correctly. I have to say there are many many ways of doing, what i suggested is jux 1 of the most basics
Report this post to a moderator | IP: Logged
|