Creating a Mail Form with PHP and Flash - Part 2 - Page 6
(Page 7 of 14 )
Again look at the library and you will see a button called drop_button

Drag the button onto the stage of your movie clip "title" and in this case I have place it on top of the right hand corner of our text field.Once you have placed it there select it again a blue border will appear.

Assign the button the following actions
on (release, rollOver) { gotoAndStop ("show"); } |
Again let's go through the code.on (release, rollOver)perform this action when the button is rolled over or the mouse button is clicked then releasedgotoAndStop ("show");Go to and stop at the frame named "show"So we know that if a user clicks or rolls over the drop_button the menu will appear, and we also have the code in the select_buttons so that if one of then is clicked the menu will disappear as well.What happens if the user looks at the drop down menu and doesn't select anything.
Next: Page 7 >>
More Miscellaneous Articles
More By Codewalkers