I wrote an article "How to Implement interface code separation in Flash development" a few days ago. In the comments, Mr. G gave a better suggestion: SWC. I tried it today, it's really better than embed SWF! At the same time, I would like to express my gratitude to Mr. Xiao-G!
Take the control of the Video Player for example:
We usually put some general control buttons in the library by using the IDE
Today we continue to explore the SWC problem. There has been no authoritative guidance on how SWC is used, so every time I have a question I always test myself. Today I have another question: what is the relationship between SWC and SwF volume in a Flex project? Knowing this can make it better for us to do the project. So I made the following three assumptions ab
Before talking about how to import SWC In Flex, let's talk about SWC first. SWC is a file format in which flash ide exports data to and from the database. It is composed of SwF + XML. If you are not familiar with how to make flash, you can familiarize yourself with the materials used to make SWF Using Flash IDE. Now I will only talk about how to successfully expo
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 facilita
1, open Flashcs, and create a new FLA file for ActionScript.
2, in the library panel Ctrl+f8, create a new component, named Door, type movie clip, and export as as.After that, draw a shape similar to the door.
3, in the library panel will appear door components, right click, exported to SWC file.
A new as project in Flashbuild is used as follows in the as file:
protected Var door:door= new door ();
AddChild (door)
You can see this component
I have been learning flex recently. I want to share some small things I have summarized and hope it will help new users!
First, you need to installFlexcomponentkit. mxpThis plug-in is used to expand your Flash software! (Download of this plug-in is provided below)
2. Then, open the Flash software (CS3 must be a later version) and modify the release settings:
1,
2, and then add the previous SWC file here, flash-integration.swc (the download of this
Beginner Flex, curious about creating SWC files in Flex, studied the following steps:
1. Build Flex Library Project
2, the implementation method of adding class file writing
3, the project's SWC file is automatically generated in the default bin directory.
4, other project references directly select the Project property build path, add SWC.Description
1. If the SWC
The compc command in flexsdk can compile the as files with the package name into SWF files and package them into a file. The file extension is. SWC, which is called a component in flash. In fact, the component file format is actually zip. You can use WinRAR to change the extension name .swcto .zip.
For example, you can plan the directory locally. After debugging, you can take it out and package it separately.
Assume that there are two as files under
Generally, we will apply some third-party class libraries and components on the Internet.
If it is SWC, we want to viewCodeLogic or reference.
SWC is actually a RAR compressed package, and so is air.
Decompress the SWC extension to RAR and find a SWF file.
SWF files can be viewed in shuosi. However, the Code in shuosi is obfuscated.
Of course, this does not
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 foll
Believe that all the students who write AS3 code have used the action Script Viewer, SWF decompiler These tools? They are really powerful, but there is a common drawback: not being able to decompile parameters and local variables well, they use _ARG1, _local1, param1, and _ Loc_1 to replace the real arguments and local variables. Although this does not affect the decompile, but for the only part of the code to learn from students, I believe it is difficult to understand these things without the
I used 4.1.0.16076. In textlayout, IMG Src in HTML only supports http: //. Then I changed it and re-compiled textlayout. SWC.
Link: https://bitbucket.org/songhuan/flex-output/src/6fba1ce3bf76/swc/
When used: == libassets is used for the link in the Flash library,
It just takes a moment:
Private function createinlinegraphicfromxml (xmltoparse: XML): inlinegraphicelement{VaR imgelem: inlinegraphicelement =
Introduction:I believe that most flexer will explore how to load code more flexibly and dynamically after writing code for a period of time. This article is to solve this problem and learn and make progress together with everyone.Note:So far, the flex program cannot dynamically load SWC files. It can dynamically load SWF files.Purpose:Dynamic Loading of code reduces the size of the winner program and faster download. You can flexibly load different co
Today, a new Flex Library Project project is built, but the automatically compiled SWC file name cannot be defined. a swc file with the same project name is automatically generated. So I decided to use ant for self-compilation.
First you can refer to the http://blog.jodybrewster.net/2008/04/09/installing-ant-in-flex-builder-3/ document to install ant enviroment support in flex builder.
Build the build. xml
Http://www.cnblogs.com/wuhenke/archive/2010/03/16/1686885.htmlIt really took a lot of effort to think about the pdf-to-SWF, and then browsing the features online. And then I found a Web site that implemented similar features: http://www.doc88.com/and http://www.docin.com/Although they did better than I did at first, they were the company's strength and relied on the kind of profit model.My own also in the gradual improvement and improvement, the following is the final version of my project:Alway
Original article: http://hi.baidu.com/mhl29/item/626ea382bec5d1cdee083de1
Problem:
The simplemotionpath component is defined multiple times in the namespace. Delete the ing to spark. effects. Animation: simplemotionpath or spark. Effects: simplemotionpath.
Description:
An error is reported when flex4 uses efflex_v0.03.swc (fx4/fp10.
Solution:
1. Decompress efflex_v0.03.swc;
2. Edit the c
I have been searching for a third-party toolkit that can parse HTML perfectly recently, but with little progress, I accidentally discovered a third-party class library a few days ago. I feel that I can also identify some common HTML libraries, however, there are still many differences in the text-and-text hybrid sorting.
This toolkit is called: HTML Filter
The HTML filter test address is as follows:
Http://s.k-zone.cn/htmlfilter1
HTML filter Homepage Address:
S.k-zone.cn/htmlfilter2
HTML filt
When writing code, no error is reported, but there is a warning, as shown below:
Description resource path location typeDesign patterns cannot load as3commons-logging-1.1.1.swc. It may be incompatible with or invalid. (Designassetloader. completetimeout) querywindow. mxml/smartpipe/COM. gxlu. RMG. smartpipe. Common/src/main/flex/COM/gxlu/RMG/smartpipe/query/panel unknown problem
Since flex 4 was used at the beginning, the difference between flex4
One: Functional interface1. The concept of a functional interface is that this interface must have only one abstract method, which can be displayed by @functionalinterface (similar to @override), but an interface with no such annotations but only one abstract method is also a functional interface ; (Interfaces also hav
List interface, Set interface, Map interface, list interface setmap1. The List and Set interfaces inherit from the Collection interface, while Map is not the inherited Collection interface.
Map does not inherit the Collection
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.