Flash MX2004 generates Flash 8 SWF experience teaching

Source: Internet
Author: User
Tags filter
1. Copy default.xml and paste to C:\Documents and Settings\[userid]\local Settings\Application Data\Macromedia\Flash MX 2004\en\ Configuration\publish Profiles directory in Flash8.xml file.
2. Open Flash8.xml with text editor
3, change <flash_profile> label name value is Flash8 (in the second line) (figure)
4, look for <version> label, and change its value from 7 to 8 (should be in 64 lines) (figure)


5. Save the current file
6. Restart Flash
7, create a new Flash file and put the following code into the first frame
Create TextField
This.createtextfield ("Txtfield",
This.getnexthighestdepth (), 10, 10, 300, 100);
Txtfield.html = true;
Txtfield.htmltext = "<font size= ' >hello world!
</font> ";
Txtfield.textcolor = 0x0055cc;
Set new AntiAlias Mode
Txtfield.antialiastype =
Flash.text.TextRenderer.AntiAliasType.ADVANCED;
Create Shadow Filter
var DropShadow = new Flash.filters.DropShadowFilter ();
Dropshadow.blurx = 5;
Dropshadow.blury = 5;
Dropshadow.distance = 3;
Dropshadow.angle = 35;
Dropshadow.quality = 2;
Dropshadow.alpha = 0.5;
Apply Shadow Filter
Txtfield.filters = [DropShadow];
8, use the shortcut key Ctrl+shift+f12 publish the window



9, import the Flash8.xml file you just created, and save it.
10, export or publish your file, you can play in the installed Flash 8 player test.
Test results:



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.