1. What do MC, FS, and AS often mentioned in the forum mean?MC = Movie Clip (cartoon "," www.Shutterstock.jp "," afs "," 1000016004 "); 'onmouseout = 'isshowgg = false; inTextAds_GgLayer = "_ u52A8_u753B_u7247" '> animation fragments); FS = FSCOMMAND is a very important command set of Flash; AS = Action script is the programming language of Flash.2. W
. The default is 0xFFFFFFFF (white) *[Bracket] Indicates an optional argument For example (to create a 100*100 bitmap data): Import Flash.display.BitmapData; var bm:bitmapdata = newBitmapData (100,100,FALSE,0XFFFF00) V. Bitmapdata.draw () method The Draw () method is simply understood to be: to copy pixels into a BitmapData object. For example: There is a movie clip at the home scene, the instance named "Pic" Import Flash.display.BitmapData; var bm:bitmapdata = new BitmapData (100, 100); Bm.draw
VaR movespeed = 8; // movement speed
// Mc mobile video
// Long distance
// Posx original X coordinate
Function leftbody (MC: movieclip, long: Number, posx: Number ){
VaR old = posx;
This. onenterframe = function (){
If (MC. _ x-(old-long)> movespeed ){
MC. _ x = mc. _ x-mov
Programming | skills | experience
In fact, my level is not very good, today the reason for a programming experience (mainly their own little experience summary) introduction, mainly to help interested in the deep study as friends, because of the limited level of individuals, which inevitably have fallacies, we welcome discussion to correct. To help me advance, and more importantly, to prevent beginners from developing bad programming habits! A lot of crap, here's the start:
A. Flash has three pl
the INDEX
BINARY_INTEGER.Example:
The Code is as follows:
DeclareCursor cur_test is select id, mc from test;Type t_test1 is table of varchar2 (60) index by binary_integer;Type t_test2 is table of test % rowtype index by binary_integer;Var_test1 t_test1;Var_test2 t_test2;Var_new t_test2;BeginSELECT id, mc INTO var_test2 (0) FROM test WHERE id = '000000 ';Dbms_output.put_line ('var
);Dbms_output.put_line (var_array (I). sex );End loop;End;
About arrays in ORACLE: record the same setThe set can be implemented in three ways:1. Use VARRAY to customize a TYPE to obtain an array. However, you can only define the basic TYPE as follows:Create type name as varray of VARCHAR2 (20 );
1. Use VARRAY to customize a TYPE to obtain an array. However, you can only define the basic TYPE as follows:Create type name as varray (52) OF VARCHAR2 (20 );
The following cannot be used:Creat
MC. dialog is a js pop-up layer MC developed by Xiao Yi (YesSky), which features beautiful interfaces and easy operations. dialog is a strictly tested and compatible with ie7 + and other non-ie core browsers. It Perfectly simulates the built-in Dialog box function of the browser:
Features of MC Dialog
1. Supports keyboard operations (esc is disabled, enter is
Q: How can I scale an externally loaded image?
Step 1: Load External images. Second, use its scalex and scaley attributes to scale their proportions, and third, scale proportionally by clicking an event.
Package
{
Import flash. display. movieclip;
Import flash. Events .*;
Import flash. display. loader;
Import flash.net. URLRequest;
Import flash. display. Bitmap;
Public class example extends movieclip
{
Public Function example ()
{
Init ();
}
Private function Init (): void
{
V
Currently, memcache is widely used in server cache. Here is an example of implementing message queue waiting in memcache. For more information, see.
The principle of memche message queue is to make an article on the key to record messages or logs after serialization with a continuous number plus a prefix. Then, the contents are stored in files or databases through the Timer Program.
For example, it takes a lot of time to send a large number of emails when sending emails, so you can use a queue.T
referenced again must be explicitly initialized; otherwise, if this variable is referenced elsewhere, null is returned.
Copy code The Code is as follows: Private function addlabel (txt: textfield, X: uint, Y: uint, text: string): void {
TXT = new textfield ();
TXT. x = X;
TXT. Y = y;
TXT. Text = text;
Addchild (txt );
}
Everything in as3 is new. New is not enough. You must use addchild () to add it to the display list.
Copy code The Code is as follows: Private function addbtn (
Optimize Oracle with full table Scan
Today, development has met a very BT demand.Find all friends of a person, query all works of all friends, and sort them in reverse chronological order to obtain several records,Then associate the Work Comment table.Works include the original singing table, Replaying table, accompaniment table, video table, blog table, and photo table,Different types of works must be associated with different album tables and user tables ..
------------------------------------
First, the service is introduced and then calledThis article is reproduced from http://blog.sina.com.cn/s/blog_7eeb43210101hf7f.html Public classComputer { Public Static stringCpuID;//1.cpu Serial Number Public Static stringMacAddress;//2.mac Serial Number Public Static stringDiskID;//3. Hard Drive ID Public Static stringIpAddress;//4.ip Address Public Static stringLoginusername;//5. Login User name Public Static stringComputerName;//6. Computer name
necessarily a landmine)Explain two waysPublic Rectangle Getrec () {return new Rectangle (x, Y, W, h);}Returns the current mine's rectangle, the specific function I will say in the Mymouselistener classDraw (Graphics g)The draw method is essentially a panel drawingPackage Com.xynu.mine;import Java.awt.graphics;import Java.awt.image;import java.awt.rectangle;import Java.awt.toolkit;public class Bomb {private int x;private int y;private int what;private int hide = 0;private int w = 19;p rivate int
The principle of memche message queue is to make an article on the key to record messages or logs after serialization with a continuous number plus a prefix. Then, the contents are stored in files or databases through the Timer Program.
For example, it takes a lot of time to send a large number of emails when sending emails, so you can use a queue.The lightweight Queue Server that facilitates queue implementation is:Starling supports the memcache protocol for lightweight persistent serversHttps:
First introduce the service and then call the
This paper is reproduced from http://blog.sina.com.cn/s/blog_7eeb43210101hf7f.html
public class Computer {public static string CpuID;//1.cpu serial number public static string MacAddress;//2. Mac serial number public static string DiskID; 3. Hard disk ID public static string ipaddress; 4.ip address public static string loginusername; 5. Login username public static string ComputerName; 6. Computer name public static string SystemType; 7. System ty
default shader compiles all renderers#pragma multi_compile names--------------------------------for multiple materialsEach fragment must contain at least one vertex program and one fragment program. So # pragma vertices and # pragma fragment directives are required.Shader Targetby default, Unity compiles shaders into approximately equal to 2.0 material models #pragma target 2.0 (default)---- Shading Model 2.0 Direct3D 9--- ----limited arithmetic and material descriptions, no vertex texture samp
Currently, memcache is widely used in server cache. here is an example of implementing message queue waiting in memcache. For more information, see. Memcache
The principle of memche message queue is to make an article on the key to record messages or logs after serialization with a continuous number plus a prefix. Then, the contents are stored in files or databases through the timer program.
For example, it takes a lot of time to send a large number of emails when sending emails, so you can us
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.