PDA

View Full Version : Menu bar


ofi
09-04-2004, 09:31 PM
Hi
I am new in flash, i am trying too make menu bar like this one
http://www.a4desk.com/lib/index.php?pageNum_template=2&totalRows_template=44

can someone help here, i have no idea how to make this, i am using Macromedia Flash MX 2004

Maybe this is wrong thread to post this, if so, then sorry.

thx

exygen
09-05-2004, 03:23 AM
you need to make movie clips and then add on mouse events to them. something like:
item1.onRollOver = function(){
this.gotoAndPlay("over");
}

ofi
09-05-2004, 06:09 AM
ok
where do i start, i am totally new

exygen
09-05-2004, 02:41 PM
i did a search for some tutorials and couldnt find any so here it is step by step:

1. draw a grey rectangle on the stage the size of one individual button.

2. select the rectangle and press F8 to convert it to a symbol. (select "graphic").

3. select it again and press F8 but this time choose "movie clip".

4. in the properties window in the "instance name" field type: box1.

5. select the rectangle and press ctrl-e to edit it.

6. select frame 20 on the movie clip's timeline, right-click it and choose insert keyframe.

7. select the rectangle on the stage on frame 20.

8. in the properties window under color choose tint and pick a color.

9. right-click frame 1 and choose create motion tween.

10. now make a new layer above the rectangle.

11. select frame 1 and press F9 to open the actions panel.

12. type this: stop();

13. select frame 2, right-click it and choose insert keyframe.

14. in the properties window in the "frame label" field type: over.

15. select frame 20, right-click it and choose insert keyframe.

16. press F9 to open the actions panel and enter: stop();

17. press ctrl-e to return to the main timeline.

18. create a new layer above the rectangle.

19. select frame 1, press F9 to open the actions panel, and type this:

box1.onRollOver = function(){
this.gotoAndPlay("over")
}
box1.onRollOut = function(){
this.gotoAndStop(1);
}

ofi
09-05-2004, 03:34 PM
ok
i give it a try................thx :)