¹¤³§Éè¼Æģʽ¡¾Flash¡¿
¹¤³§Ä£Ê½ÔÚÉè¼ÆģʽÖпÉÒÔ˵ÊÇ×î¼òµ¥µÄÒ»¸öģʽÁË£¡ÎÒÃÇƽ³£Ð´³ÌÐòµÄʱºò¹¤³§Ä£Ê½Óõķdz£µÄ¹ã·º!ÕâÀïÎÒÃǾÍÀ´ÏêϸµÄ̽ÌÖһϹ¤³§Ä£Ê½¡£
¹¤³§Ä£Ê½ÊÇÔõÑùµ®ÉúµÄÄØ£¿ÔÚʵ¼ÊµÄ±à³Ì¹ý³Ìµ±ÖÐÎÒÃǾ³£ÒªÅöµ½Ò»¸öÎÊÌ⣬¾ÍÊÇÀàµÄ·â×°£¬Ò²¿ÉÒÔ˵ÊÇÒþ²Ø²úÆ·À࣡ÕâÑùÎÒÃǾͳöÏÖÁ˹¤³§Ä£Ê½£¡Õâ¸öģʽ¾ÍÊÇרÃÅÓÃÀ´Òþ²Ø²úÆ·ÀàµÄ£¡Æ½³£ÎÒÃÇÒªÊÇ´´½¨Ò»¸öSpriteÀàµÄʵÀýÎÒÃÇ»áÕâÑùд£º
var my:Sprite = new Sprite();
addChild(my);
ÕâÑùд¿´ËƼòµ¥Ã÷ÁË£¡µ«ÊÂʵÉϲ»·ûºÏÎÒÃÇÒþ²Ø²úÆ·ÀàµÄÄ¿µÄ£¡ÉèÏëһϣ¡ÕâÑùд֮ºó£¬ÔÚÀàÖÐÈÎÒâÒ»¸ö·½·¨¶¼¿ÉÒÔ·ÃÎʵ½Õâ¸ö¶ÔÏó£¬ÕâÊÇÎÒÃDz»Ï£ÍûµÄ¡£ËùÒÔ£¬ÎÒÃǾÍÒªÏë°ì·¨Òþ²ØÕâ¸öSprite£¨ÔÚʵ¼Ê±à³ÌµÄʱºòÒ»°ã¶¼ÊDZȽϸ´ÔӵĶÔÏó£©Àà¡£ÄÇôÎÒÃÇÔõô×öÄØ£¿Ê×ÏÈÎÒÃÇÒªÓÐÒ»¸ö˼·£¡¾ÍÊÇʹÓÓÖн锣¨Õâ¸öÃû×ÖÊÇÎÒ×Ô¼ºÆðµÄ£©¡£Õâ¸öÖнéÊDzúÆ·ÀàÓë¿Í»§ÖмäµÄÒ»×ùÇÅÁº£¬ÎÒÃÇͨ¹ýÖнéÀ´Éú³É²úÆ·¡£ÕâÑù¾Í¿ÉÒÔÀ´Òþ²Ø²úÆ·ÀàÁË£¡
ÄÇôºÃÁË£¬ÎÒÃÇÀ´¿´Ò»¸ö¼òµ¥µÄʵÀý°É£¡ÕâÀïÎÒÃǵIJúÆ·ÀàʹÓõÄÊǽӿڣ¡ÄÇôÎÒÃÇÕâ¸ö²úÆ·×öʲôÄØ£¿ÎªÁ˼òµ¥Æð¼û£¬ÎÒÃǵIJúÆ·Ò»¸ö»Ò»¸öÕý·½ÐΣ¬ÁíÒ»¸ö»Ò»¸öÔ²ÐΡ£ÕâÑùÀ´Çø·Ö2¸ö²úÆ·¡£
IShape½Ó¿Ú:
package{
public interface IShape{
function moveshape(X:int,Y:int):void;
function drawshape():void;
}
}
RoundÀࣺ
package{
import flash.display.Shape;
public class Round extends Shape implements IShape{
public function drawshape():void{
graphics.beginFill(0x00ff00);
graphics.drawCircle(0,0,100);
graphics.endFill();
}
public function moveshape(X:int,Y:int):void{
this.x = X;
this.y = Y;
}
}
}
RectshapeÀࣺ
package {
import flash.display.Shape;
public class Rectshape extends Shape implements IShape{
public function drawshape():void{
graphics.beginFill(0xff00ff);
graphics.drawRect(0,0,100,100);
graphics.endFill();
}
public function moveshape(X:int,Y:int):void{
this.x = X;
this.y = Y;
}
}
}
DrawshapeObjectÀࣺ
package{
import flash.errors.IllegalOperationError;
import flash.display.DisplayObjectContainer;
import flash.display.Sprite;
public clas
Ïà¹ØÎĵµ£º
flashÓëjavascriptµÄ½»»¥¿ÉÄÜÌÖÂ۵ıȽ϶à,½ñÌìΪ´ó¼Ò½éÉÜÏÂÈçºÎʹÓÃflexÓëjavascript½øÐн»»¥
Ò»¡¢ÔÚJavaScriptÖе÷ÓÃFlex·½·¨
ÔÚFlexÖпÉÒÔÓÃExternalInterfaceÀ´µ÷ÓÃFlexµÄ·½·¨£¬Í¾¾¶ÊÇ
1.ͨ¹ýÔÚFlexÓ¦Óÿɵ÷Ó÷½·¨ÁбíÖÐÌí¼ÓÖ¸¶¨µÄ¹«Ó÷½·¨¡£ÔÚFlexÓ¦ÓÃÖÐͨ¹ýµ÷ÓÃaddCallback()¿ÉÒÔ°ÑÒ»¸ö·½·¨Ìí¼Óµ½´ËÁбíÖС£addC ......
ROMÊÇRead Only MemoryµÄËõд¡£
RAMÊÇRandom Access MemoryµÄËõд¡£µäÐ͵ÄRAM¾ÍÊǼÆËã»úµÄÄÚ´æ¡£
RAMÓÐÁ½´óÀ࣬һÖÖ³ÆΪ¾²Ì¬RAM£¨Static RAM/SRAM£©£¬SRAMËٶȷdz£¿ì£¬ÊÇÄ¿Ç°¶Áд×î¿ìµÄ´æ´¢É豸ÁË£¬µ«ÊÇËüÒ²·Ç³£°º¹ó£¬ËùÒÔÖ»ÔÚÒªÇóºÜ¿Á¿ÌµÄµØ·½Ê¹Óã¬Æ©ÈçCPUµÄÒ»¼¶»º³å£¬¶þ¼¶»º³å¡£ÁíÒ»ÖÖ³ÆΪ¶¯Ì¬RAM£¨Dynamic RAM/DRAM£ ......
£ÛÔÀí£Ý
¾µäÎïÀíѧÈÏΪ£¬ÎïÌåÔ½¹ýÊÆÀÝ£¬ÓÐÒ»ãÐÖµÄÜÁ¿£»Á£×ÓÄÜÁ¿Ð¡ÓÚ´ËÄÜÁ¿Ôò²»ÄÜÔ½¹ý£¬´óÓÚ´ËÄÜÁ¿Ôò¿ÉÒÔÔ½¹ý¡£ÀýÈçÆï×ÔÐгµ¹ýСÆ£¬ÏÈÓÃÁ¦ÆÈç¹ûƺܵͣ¬²»µÅ×ÔÐгµÒ²ÄÜ¿¿¹ßÐÔ¹ýÈ¥¡£Èç¹ûƺܸߣ¬²»µÅ×ÔÐгµ£¬³µµ½Ò»°ë¾Íͣס£¬È»ºóÍË»ØÈ¥¡£
  ......
Ç°ÑÔ
×î½ü¹ØÓÚHTML5 ³³µÃ»ðÈÈ£¬ºÜ¶àÈËÈÏΪHTML5³öÏÖ»áÃëɱFlash£¬ÒÔÖÁÓÚÔÚ¸÷´ówebÇ°¶Ë¿ª·¢ÂÛ̳³³µÃ²»¿É¿ª½»¡£ÂÛ̳ÀïÈýÑÔÁ½Óï˵µÄ²»¹»¾¡ÐË£¬Ö»ºÃÔÚ×Ô¼ºÒ»Ä¶Èý·ÖµØÀﳨ¿ªÁË˵˵¡£Ò²µ±Ò»´ÎÉñ¹÷£¬Õ¹ÍûÒ»ÏÂwebÇ°¶Ë¿ª·¢µÄδÀ´¡£
Ê×ÏÈÕâÀïËù˵µÄHTML5Ò²²»½öÖ¸HTML5±¾Éí£¬¶øÊÇ·ºÖ¸HTML5¡¢CSS3¡¢ JavaScriptÒÔ¼°ÐµÄä¯ÀÀÆ÷APIËù°üº ......