Core tips: Flash learns to create a radio button tutorial from scratch.
We will use the drawing tool and the timeline in ActionScript 3.0 to make a nice radio button with mouse events.
Final Preview
Let's take a look at the final work:
First step: Overview
A radio button or option button is a graphical user interface element that allows the user to select only one type of predefined option set.
In this tutorial, we'll create a traditional radio button.
Step two: Set up flash
Open Flash to create a new document with the stage size set to 320*190, the color is #181818 and the frame rate is 24fps.
Step Three: interface
This is the interface we're going to use: a simple background with headings, some text to interact with the user, a radio button that works, and two static button samples.
There is also a dynamic text (called [Disabled] in the picture) that can be modified by a working button.
Fourth Step: Background
Select the Rectangle tool and draw a 320x40 px size rectangle, place it at the top of the stage, and fill its color with a radial #D45C10到 #B43B02的过渡.
What you need now is to divide it into several parts. 1 2 3 4 5 Next > Full text reading tips: Try the "←→" button, turn the page more convenient Oh!
[1] [2] [3] [4] [5] Next page