Fan Tutorial Series 2: The second part of the site title of the components

Source: Internet
Author: User
In the previous tutorial, the main chat with you to do the first flash title preparation, and in this article is mainly to talk about the title inside the indispensable components.
A   The first thing you should think about when making a title is that you should have a enter button when the title is finished, to introduce your homepage. The following types are available for the Enter button: 1. If you directly need to lead to another independent page, you just Add (recommended): On (release)
{GetURL ("What You need to guide");}
Click to browse the file

1. If your site is FlashThat you want to pass asLoad the next page directly (not recommended): Loadmovie ("path/file", "Name of MC"); It is generally not recommended to use this in the title, but generally the first type 2. If the title and the following content are one, you can also use: gotoAndPlay ([Scene,] frame); that's it. 3. If you want to automatically turn to a page after the title is finished, you can: Download the last shot of the movie and add One: Stop ();
GetURL ("Turning leaf", "_blank"); Click to browse the file
Two For FlashThe title, some viewers are not willing to read your title, but eager to enter your main site, in order to not let the viewer lose patience and leave, you should FlashThe first stitch to join a SkipButtons directly to the page they need to see without having to wait until the entire title is finished. For SkipThe specific code of the button is loaded and EnterIs the same, it is no longer revisited here. Three The general title has a great music background, to increase the appeal of the title, but sometimes the viewer for some reason do not want to hear music, at this time, you should set a mute button to retain the reason for the need for quiet environment of the browser: this time you can create a voice button and add the following code: On (release)
{
Stopallsounds ();
} four. The general titles are relatively large, no one wants to see an intermittent title, this one Loadingis essential. 1. First, make a favorite LoadingStyle as shown:

2,Back to the main scene will just do LoadingDrag into the scene and give it an instance name: Loading: 3. New as layer, insert key pin input at 1th pin: a=getbytestotal ();
B=getbytesloaded ();
Loaded=int (b/a*100); 1. Inserts a key pin in the last stitch, writes: if (a==b) {
Nextscene ();
}else{
}6. Create a new scene and put the title you want to play OK
Click to browse the file

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.