Flash learns to create radio buttons from scratch

Source: Internet
Author: User
Tags final interface

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







Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.