Colorful Gradient Bar
var cellsnum=256;
Control the number of table columns
var rowsnum=1;
Control the number of table rows
var tdheight=30;
Control the number of table rows
var bg=new Array (Cellsnum);
function rand (number) {
var a=math.random (
Customizing the right mouse button pop-up menu
function Popupmouserightbuttonupmenu ()
{
if (mousemenu.style.visibility== ' visible ') mousemenu.style.visibility= ' hidden ';
if (event.srcelement.tagname== ' A ' | | | event.srcelement.tagname== '
1. Onabort (NS3,NS4,IE4): This event occurs when a user terminates a Web page that is being opened.
2. Onblur (NS3,NS4,IE3,IE4): This event occurs when an element loses active focus. For example, when the mouse clicks in a text box and clicks
Application of built-in behavior: download
"Download" provides a built-in method called "Stratdownload", which can execute the specified program after the download is complete, and the syntax is:
Startdownload ("Downloaded Files", "program
to set the environment and interface of the HTA application, such as title bar, border size, etc., must be placed in the paragraph. Here's how it's basically said:
1. Add "ID" name, you can use the script program, to read the set value of the
Application of built-in behavior: clientcaps
"Clientcaps" provides information about the system and can be applied to any one of the components in the Web page.
Xmllover.htm
xmllover
HTML Application is "HTML Application", referred to as "HTA", its design method, in addition to the environment interface is different, the rest of the HTML file is the same, just change the extension to ". HTA"
An "HTA" is a stand-alone application,
Application of built-in behavior: savehistory
HTML file, if you add the declaration, enter the data in the text box, and then switch to another page, IE5 will not retain the original data. So use "prev" or "next page" back to the original screen,
Deficiencies:
1. I do not have the right to map, if there is a picture, I believe that this technology should be more easily understood.
2. There is also this code does not fully list the full style settings, there are other parts of the function
This is an example of a browser in IE3.02 and netscape3+, which describes whether the plug-in is installed for Flash (in the case of FLASH2).
A = LCase (Request.ServerVariables ("Http_user_agent"))
If InStr (A, "MSIE") >0 Then
If InStr (A, "a") >0
Solution to dynamic Loading library class failure in Flash AS3
This is the wrong writing.
for (var i:number=1; i{
var mc1:mc1 = new MC1 ();
Addchild (MC1);
}
AS3 how to cycle load MC1 MC2 MC3 class in the library
That's what it means.
for (
Here are some ways to open a new window from a collection of as 3.0 i've searched online.
Method One
if (Capabilities.playertype = = ' ActiveX ') {Externalinterface.call ("window.open", http://www.111cn.net);}
else {Navigatetourl (new
Package { Import Flash.display.Sprite; Import flash.events.MouseEvent; Import Flash.text.TextField; Import Flash.text.TextFormat; /** * ... * @author FLASH023 */ public class Main extends Sprite { private Var Now_box:textbox; Public Function Main ():
1. Forced type conversion of AS3I always thought there was no such feature, and recently I was looking at some documents and found that this feature is available.At present, there are two ways to write a conclusion:(1) var loader:urlloader =
Because the work needs to use Flash to write a line class, only need to pass 2 arrays, you can draw a data line chart
Demo
The code is as follows
Copy Code
Import com.chart.*;//var chartdata:array=[];var maxvalue:number=
To give you illustrator software users to detailed analysis of the production of three-dimensional line of the English word tutorial.
Tutorial Sharing:
Well, the above information is small make up to you
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service