The as help documentation is no longer embedded in the IDE, and can only be viewed online, but the online reading speed is very slow. One solution is to download the document content to the Local web server: adobe also provides a zip package for downloading the document: After decompression, you will get a langref file... syntaxHighlighter. all ();
The as help documentation is no longer embedded in the IDE, and can only be viewed online, but the online reading speed is very slow.
One solution is to download the document content to a local web server: adobe also provides a zip package for downloading the document:
After decompression, you will get a langref folder containing all the documents.
However, you may find that if you change langref to another name, such as the document version number, the link on the page may be faulty.
This problem is caused by a file named asdoc. js under the same directory.
Solution: Find the getBaseRef () function definition in the asdoc. js file.
[Javascript]
Function getBaseRef ()
{
Var B = unescape (location. href );
Var d = "actionscript/3 /";
Var a = B. indexOf (d );
If (a =-1)
{
D = "langref /";
A = B. indexOf (d)
}
If (B. match (/#! /))
{
B = B. substring (a + d. length, B. indexOf ("#! "))
}
Else
{
B = B. substring (a + d. length)
}
Var e = "";
Var c;
While (c = B. indexOf ("/"))! =-1)
{
B = B. substring (c + 1 );
// Alert (B );
E + = "../"
} Www.2cto.com
Return e
}
The Code also contains a "langref" string.
If you need to change langref to another name, assign the d variable in this code to the same string accordingly.
Author: jomoonrain2