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
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-b
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
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
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 interface of Flash CS.
If you follow the embed
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 pro
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 ca
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 shu
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
just want to use flexpaper on any of the Your Web pages.
Download and extract the pre-compiled version of Flexpaper. All builds is available for download.
The zip file contains a sample file called "flexpaperviewer.html" which shows you the basic parameters your need to pass to Flexpaper (Swffile and scale). Please see the wiki in Google Code for a complete list of available parameters.
Co
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
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
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
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
-------- Thanks to the old man and Tao (this is called only the old man of the old man. Here, let me go, ), there is a good win. They are all cool people.
When I was just about to do this, I couldn't figure out where to start, even the EMF file and vector plot, and I didn't know what it was. The as plot function was useless at all, reading files in B/S mode is even more difficult. At that time, I thought about two directions: Convert the format o
about implementation and introduction in the program notes.
File Submission page: (can be submitted separately to doaction.php, doaction1.php, doaction2.php for testing)
upload.php
File Upload
doaction.php
doaction1.php
doaction2.php
$maxSize) {exit (' upload file too large '); } echo $fileInfo [' type ']; Exit $ext = Strtolow
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.