In the previous tutorial, I explained how to build the FlashDevelop environment and create a small demo of Hello. So next, let's look at how to implement the SWF file and turn it into a HTML5 file that you can play on your browser. So first we have to have a swf file , the directory structure is as followsSo with the file, we need a media to play the SWF , which is a class, Layaflash has a class that is flash.display.MovieClip, we can inherit it , bui
OOP: Encapsulation, inheritance, polymorphism.PUBILC: Full disclosure.Internal: In-Package class members can access each other.Private: Only the current class can be accessed.Protected: The current class and subclasses of the current class can be accessed.Instances that have been defined by the keyword final cannot be overridden.Composition and inheritance, when it is subordinate, with inheritance, when it is part of the composition of the compound.All objects have a parent class----is its data
FromBluekylin:
Since flash programming has become a major taskCodeFrom Flash (Authoring Tool) --> flexbuilder --> flashdevelop
Now I like to write code with flashdevelop, showing the advantages of flashdevelop.
1. installation package is very small, free, easy to go down to, http://www.flashdevelop.org/community/index.phpYou can go to the latest version in the
Flashdevelop does not directly support SWC generation projects, but flashdevelop is also convenient to generate SWC without any plug-ins.
The SWC library is generated by flexsdk's compc.exe. In fact, we can directly generate SWC through this command line. However, you can directly perform F8 in flashdevelop to facilitate compilation and generation.
First, create
Source: http://blog.csdn.net/zu12jing/article/details/7331397Flash development tools with FlashDevelop (because FlashDevelop can also open the Flashbuilder project, in turn, do not know)I. Create a projectCreate an iOS project, this online a lot of information I will not writeKey point: To package to iOS devices, the main thing to see is the default Air_ios_readme.txt file description, which is very detaile
Open Flash CS and create a new actionscript3.0. Then open the component library and drag and drop the components you want onto the stage.650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6F/92/wKioL1Wh5jPwv0JhAAPKapWrIls837.jpg "title=" ([2 (LY [b6v@ttd@p$7i ' O%9.png "alt=" Wkiol1wh5jpwv0jhaapkapwrils837.jpg "/>
2. Open the Flash CS menu File->publish Settings650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6F/95/wKiom1Wh5TaChlsCAAJac5O6ruQ328.jpg "title=" 1.png " alt= "
1, download Flashdevelop,flash Sdk,flash SDK debug,.net Framework,java SDK (32-bit, no matter how many bits of the machine, otherwise you cannot step into debugging)2. Install FlashDevelop, configure Flash SDK and Flash SDK debugFigure 1 Configuring the Flash SDKFigure 2 Configuring the Flash SDK Debug3. Installing and configuring the JDKSystem variables → new java_home variable.Variable value fill in the J
The built-in project type of flashdevelop does not have a SWC Library Project template. it is not convenient to encapsulate the General Part of the project into SWC. The flashbuilder or command line compc command is often required.
With the compc command and the powerful flexibility of FD, it is not difficult to generate SWC with one click. The steps are as follows:
Create an as3 Project
Open the project properties, change the output file name
I saw the FD term in the group a few days ago. Out of my passion for flash, I also downloaded a flashdevelop for use. Hey hey, I can't stop using it. Unexpectedly, this unofficial development tool is so useful.
Before FD, I used flex to write as3.0.CodeAnd then switch back to flash to compile. Although many people say that it is convenient to directly use flex to load external SWF Resource Packages, I am still not used to using Flex compilation and t
The first time FD was installed, it encountered an extremely serious problem. During installation and configuration, I followed the instructions step by step, and the debug Flash Player was also installed. However, nnd does not output trace information. It is also inexplicable to ask questions in the group. But fortunately, I was born to be smart. After two hours, I finally solved the problem. (La la ......)The method is as follows:1. Open FD (flashdevelop
Reprinted from: http://blog.163.com/liu_huan820/blog/static/133497406200910280155383
4/
1. Customize the swf size and frame rate. The declared position must be in the package, before the class definition[SWF (width = 800, height = 2
Reproduced http://xiaomin1978.blog.51cto.com/6098465/1033008
Course Content: Build an as3 development environment and write the first as3 Program
Course Purpose: Preemptible
Knowledge point:
1. Development Environment Configuration
2. Use flashdevelop to create an as3 Project
3. draw a straight line in flashdevelop
Main steps:
1. Prepare the Installation File
JDK (jdk1.6.0 _ 17) http://www.oracle.com/techne
1. Development Environment Configuration
2. Use flashdevelop to create an as3 Project
3. draw a straight line in flashdevelop
Main steps:
1. Prepare the Installation File
JDK (jdk1.6.0 _ 17) http://www.oracle.com/technetwork/java/javase/downloads/java-se-jdk-7-download-432154.html
Flashdevelop (4.0.4-RTM)
Http://www.flashdevelop.org/
Flex SDK (4.6) http://www.ado
flashdevelop-Configuration Tutorial---Turn (more detailed, provincial to write again, direct forwarding, ~. ~)
Speaking of the third party as editor FlashDevelop in the Actionscript 3.0 Basics tutorial, it's free lightweight software. The big rule is that the code associated with the specific clip element is written in the frame code, and generic code unrelated to the specific clip symbol should be written
make you excited. The Flixel engine is your first choice when you need to create 2D reel games or games that require a lot of moving elements in your scene.
Flixel also has some good features: the use of Quadtree object chain, efficient collision detection bitmap animated sprite through text and images to create tiles maps easy-to-use particle system efficient roll screen custom mouse cursor convenient debug display terminal
In addition, in the Engine developer forum, users have migrated the en
After reading the introduction about haxe by tie Ge, I can't help but try it out:
1. Download and install flashdevelop
Http://flashdevelop.org/download the latest flashdevelop and install it here (Note: Install this requires Java sdk1.6 or later, and install. netframework)
TIPS:
Flashdevelop does not recognize the latest JDK 1.7. If your machine is instal
displayobject.
• Efficient 3D Deep sorting
• Lighting system, mouse interaction, multi-camera system, etc.
Official website: http://Www.alternativaplatform.com/
Authorization method: free but not open-source, the latest free version supporting molehill will be released in April this year.
Development Environment: Flex (flash) builder, flashdevelop and other ActionScript development environments.
Demo case:Http://www.alternativaplatform.com/en/demos/m
Although I have never liked flash, as a front-end, I can't help playing with the legendaryAs3With the help of the younger brother and netizensDevelopment EnvironmentSet up ,.
Write out the memorable onesHello World
RecordProcedure, No technical content, pure learning notes.
1. Install the flex SDK
SelectAdobe Flex SDKDownload and decompress the package to whatever you wantProgram(Because the file is large and it takes a long time to download, I will first write this step .)Download list 2
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.