How do i make a play button on flash 8?
The recommended method is to have your button and code separate from each other, and by that i mean do not actually select the button and add code in the actions panel, thereby adding an action to the button itself. The objects on your stage should be movieclips, with instance names, and you should have your code directing all of these in one separate, empty frame. A simple example is to start with a new flash file, select the first frame, and then draw a rectangle on the stage. Double-click on the rectangle to select it, then go to modify>convert to symbol in the top menu bar. Give it a meaningful name and make sure movieclip is the type selected, and hit ok. With the rectangle selected (now a movieclip) go to your properties panel and give it an instance name of button1. In your timeline, make a new layer, and name this layer code. Select the first frame (it should be empty) and open your actions panel (top men – windows>actions) and in it type button1.onPress = function(){ gotoAndPl