Path, package and # include summary:Recently I made a relatively large job and accumulated some useful AS2 skills. I would like to share some useful ideas with you first:Some of them have already been used in the dictionary at the foot ~~~~ Here, we will only introduce some things that need to be paid attention to when using it, but it does not involve OOP programming.1 # include1.1# Inlcude is a statement used to import external scripts. In this case
Let's take a look at a common problem in as2. The interaction with flash in IE is abnormal ~! These situations include externalinterface in the question. the call function cannot obtain the return value when calling the JS function, the callback function of externalinterface cannot be normally called by JS, and Flash var cannot be normally transmitted to
1 course Introduction
This course is familiar with the development and configuration of EDI and as2 solutions. This hands-on experiment steps and content are completed using the Microsoft official SDK. The trainees complete this experiment with the official tutorials during the experiment.
This experiment is based on BizTalk 2013 (Windows Server 2012 64bit + SQL Server 2012 + BizTalk 2013 + Visual Studio 2012) and is also applicable to the BizTalk 201
1 course Introduction
This course completes the XML file transmission process through the as2 protocol, and receives the MDN confirmation information synchronously after transmission. Familiarize yourself with the basic development and configuration methods of the as2 transmission solution through this course.2. Preparations
In order to simulate the actual B2B interaction process, this experiment requires t
A development document for flash as2 OOP games --- Part 3
Now we have to check the number of our lives and handle them accordingly.
Link query lifecycle:
In your FLA documentCreate two new frames and put the code of the first frame into the second frame F.In your FLA, make 2 new frames and put the code that was on frame 1 onto frame 2.Add a stop (), which is written at the beginning of the code and added to
Most of the content related to the data structure is an example I wrote in as2 for flash last year. Unfortunately, I have lost many examples and documents in this book. This is an example of an earlier version. Later, I sorted out the collection framework related to the data structure, including the commonly used arraylist, sorted list, tree, hashtable and so on. I hope a friend who obtained my first-hand i
Mouse to see a lot of forums on the double click event posts, wrote a AS2 class put up for everyone's reference.
Demonstrate:
http://home.goofar.com/Blog_/flash/DbClick.swf
Class Name: dbclick.as
Code
Import Mx.events.EventDispatcher;
Class Dbclick extends MovieClip {
private Var Firstclicktime:number;
private Var Lastclicktime:number;
private var n:number = 0;
private Var dispatchevent:function;
private st
AS2 and design model (I) --- simple factory model:"The person who comes up with the design pattern is a genius, and the person who learns it can only be a good craftsman" ---- A senior
The simple factory model is probably the best of all design models. No wonder I can write an article to introduce it:
The simple factory model works like this:The user uses an interface parameter (integer or String) to tell the processor the specific product you want, a
Template
Template method (template methods) mode AS2 implementation Class AbstractClass{Private functionAbstractClass(){}//Methods Public functionPrimitiveOperation1():Void{} Public functionPrimitiveOperation2():Void{}//The Template method Public functionTemplatemethod():Void{Trace("in Abstractclass.templatemethod ()");PrimitiveOperation1();PrimitiveOperation2();}}//"Concreteclass"Class ConcreteclassextendsAbstractClass{//Methods Public functionPrimi
Solve | Chinese
Flash if the MP3 ID3 tag uses GB2312 encoding, then the Flash script output is garbledCode 1
var s:sound=new Sound (this);S.loadsound ("Dxh.mp3", false);S.onid3=function () {Trace (This.id3.songname);}
The output results are:¶¡ïã»
Dxh.mp3 's ID3v1 label correctly should be Songname= " lilac ", it appears that flash on the transfer code on the prob
The encryption algorithm class of AS2 written by meychi.Package, download, and save it as a rarfile.1. MD5: static class/*** MD5 Class v1.0* Author: Mika Palmu* Licence: Use freely, giving credit when you can.* Website: http://www.meychi.com/** Orginal Javascript implementation:* RSA Data Security, Inc. MD5 Message Digest Algorithm, as defined in RFC 1321.* Version 2.1 Copyright Paul Johnston 1999-2002* Other contributors: Greg Holt, Andrew Kepert, Yd
In as2Var a: String = "";Trace (Number (a); // output: NaNTrace (isNaN (a); // output: trueIt indicates that variable a is not a number.In as3Var a: String = "";Trace (Number (a); // output: 0Trace (isNaN (Number (a); // output: falseIt indicates that variable a is a number.As2 and as3 are very different from each other. When the as2 algorithm is converted to as3, pay attention to this when determining whether the character is a nu
Today and Chun studied the private and public properties of class, because I found that the class I was making could read the attribute, regardless of whether it was set private or public, and that the Chun could be distinguished by the normal Such a simple class as the following
Class Man {private var cname:string= "Kyle";public Var sex:boolean=true;}
If your flash is going to produce objects, use the following methods
Kyle=new Mans ();Trace (Kyle
Note the connection name problem I encountered, because it is actually a domain: name, sometimes cannot be found during the call, so add _
The more real reason is that as1.0 does not support connection, so it must be clear during release. Flash player6 is not necessarily as2.0!
Different domains with unpredictable domain names. Sometimes, you may want SWF files with localconnection objects on the receiver to have better portability between domains. If
Package org. fanflash. utils
{
Import flash. display. DisplayObject;
/**
* Debugging tool
* @ Author www.missyuan.net
*/
Public class Debug
{
Public static function getDisplayObjPath (t: DisplayObject): String {
Var a: String = getDOPath (t );
Return;
}
Private static function getDOPath (t: DisplayObject, name = ""){
If (name = ""){
Name = t. name;
} Else {
Name = t. name + "." + name;
}
If (t. parent. name ){
Return getDOPath (t. parent, name );
} El
JavaScript 2.0 programmers will feel better, because AS2 's language base comes from ECMAScript EDITION 4.as2 can enable programmers to write more healthy programs, or to attract more programmers to learn about Flash.
Well, you probably don't develop programs, so do you like to develop games? Or to develop an interactive presentation. The good news is that
Preface:In the embedded development, such as uboot transplant, the kernel transplant all need to have the basic understanding to the flash. Here's a look at the relationship in Flash in the titleone, the memory storage structure of FlashFlash is divided into two types according to the internal storage structure:NOR FlashAndNAND Flash。Norflash is easy to use, easy
Flash VS flex builderflash was acquired by Adobe when it was flash8, which is now available for as2 object-oriented. After being acquired by Adobe, Adobe is ready to turn flash into a development tool. For example, JBuilder, VS, and so on. Therefore, with Flex builder, it is literally like JBuilder. Therefore, it is a development tool and as3. It should be as3 af
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.