Ç°Á½ÌìÔÚ¸ãCh375£¨ÄϾ©Éú²úµÄUSB½â¾ö·½°¸Ð¾Æ¬£©£¬¶Áд¶¼Ã»ÓÐÎÊÌ⣬ҲÄÜÍê³É³õʼ»¯²Ù×÷£¬¾ÍÊDz»Öжϣ¬ÓÃʾ²¨Æ÷²âÊÔ1Òý½Å£¨ÖжÏÒý½Å£©ÐźŻáÌø±äΪµÍµçƽȻºóÂýÂýµØ·µ»Øµ½¸ßµçƽ£¬ºÜÆæ¹Ö£¡×îºó²Å·¢ÏÖÊÇʾ²¨Æ÷µÄÎÊÌ⣬ÉèÖóÉΪ²à½»Á÷·ÖÁ¿Ôì³ÉµÄ¡£×îºó¼ì²âPCB¾ªÈ˵ķ¢ÏÖÊÇPCBÉÏÕâ¸ùÏßûÓÐÁ¬ÉÏ¡£
˵Ö÷Ì⣡
½ñÌì¸ãNand Flash£¬Ç°Ãæ²âÊÔûÓÐÎÊÌ⣬ÄÜдÈëÊý¾ÝÒ²ÄܶÁ³öÊý¾Ý£¬²¢ÇÒÍêÈ«ÕýÈ·¡£µ«ÊÇÓÃÎļþϵͳÀ´¶ÁдµÄʱºò£¬IDûÎÊÌ⣬µ«ÊǶÁд¶¼²»¶Ô£¬Ö»Òª¶ÁÊý¾Ý¶Á³öÀ´µÄ¾ÍÊÇ´íµÄ£¬½á¹ûÏÔʾSpareÇøµÄµÚÁù¸ö×Ö½Ú²»Îª0xFF,±íʾËüÊÇÒ»¸ö»µ¿é£¬ºÜÄÉÃÆ£¬¸ÕÌùÉÏÈ¥µÄNandÔõô»áһϵÁеĻµ¿éÄØ£¿¸ã²»Ã÷°×¡£»»Á˺ü¸¿éоƬ£¬Í¬Ê±Ò²»»Á˺ü¸ÖÖÐͺţ¬×îºóûÕÛÁË£¬Ïëµ½ÁËÏÈÈ«²¿²Á³ýÒ»´ÎÊÔÊÔ¡£²Á³ýµÄÈí¼þÏÔʾµÄÈ´Óкܶ໵¿é£¬²»¹ý²Á³ýÍêÁË£¬¾ÍûÓлµ¿éÁË£¡
ÕâÀ︽´øNand SpareÇøµÄÐÅÏ¢£º
ÎÒµÄNandÒ»¿éÀïÃæÓÐ32Ò³¹²528×Ö½Ú£¬
ÿһҳ·ÖΪABCÇø£ºAÇø256×Ö½Ú£¬BÇø256×Ö½Ú£¬¹²Í¬×é³ÉÁËÿһҳµÄÖ÷Êý¾ÝÇøʣϵÄ16×Ö½ÚΪCÇø£¬Ò²¾ÍÊÇÎÒÃÇ˵µÄSpareÇø
SpareÇøµÄ16×Ö½ÚÊÇÕâÑù¶¨ÒåµÄ£º
LSN0 LSN1 LSN2
RESERVE ......
adobe×Ô´øµÄ²¹¼äÀàÄܹ»²úÉúºÜ¶à²»´íµÄ»º³åÓ¦ÓÃЧ¹û£¬²»¹ýÓÉÓÚ×Ô´øµÄÀà´æÔÚһЩȱÏÝ£¬Òò´ËÓ¦ÓÃÆðÀ´²»¾¡ÈËÒ⡣ͨ¹ý½èÖúһЩ¿ªÔ´µÄ²¹¼äÒýÇæÄܹ»²úÉúºÜ¶à²»´íµÄЧ¹û¡£ÆäÖÐTweenLite ²¹¼äÒýÇæÊÇÓ¦¸Ã±È½Ï¹ã·ºÒ»¸öÒýÇ棬µ±È»»¹ÓÐÆäËûÈçGTweenµÈ¡£ÓÐÐËȤµÄ»°¿ÉÒÔÏÂÔظÃÒýÇæ½øÐÐʹÓã¬ÄãÒ»¶¨»áϲ»¶ÉÏ¡£ºÃ£¬½èÓÃÕâ¸ö²¹¼äÒýÇ棬 ÂíÉÏÁ˽âÒ»ÏÂÕâЩӦÓá£ÏÂÃæÖÆ×÷Ò»¸ö¼òµ¥µÄÀý×Ó¡£
ÏÂÔصØÖ·£ºÔÚÕâÀï
ÖÆ×÷Éè¼Æ˼·£ºÊ¹ÓÃÊý×é±£´æ·¾¶µÄλÖã¬È»ºóÓò¹¼äÒýÇ棬½«Ã¿Ò»ÕÅͼƬÒƶ¯µ½Ö¸¶¨µÄλÖõ±ÖС£¶¯»¹ý³ÌÖÐÐèÒªÈÃͼƬ²úÉúÒ»¶¨Ê±¼ä´íλ¸Ð¡£ÕâÑù¿´ÆðÀ´¾Í¸ü¼ÓºÃ¡£
ͨ¹ý½èÓÃÏÂÃæÕâ¸öº¯Êý£¬ÎÒÃǵÄͼƬ¾ÍÄܲúÉúλÖÃÒƶ¯ÁË¡£
TweenLite.to(Ä¿±ê¶ÔÏóMC,1,{x:Ä¿±êXµã y:Ä¿±êyµã, ease:Cubic.easeInOut});
ÕâÕÅͼƬÓÐ8¸öµã£¬·Ö²¼ÊÇ´ÓºÚÉ«ÖÐÐÄ¿ªÊ¼Òƶ¯µ½Ö¸¶¨µÄºìÉ«µãλÖã¬Ë³ÐòÊÇ´Ó1--8 ÕâÑùÐòÁнøÐС£
¾²Ì¬¸´ÖÆСÇòµÄÆôʾ£º
ÎÒÃÇÖªµÀͨ¹ý¸´ÖÆСÇòÈ»ºó£¬¿ÉÒÔÈÃÿһ¸öСÇòµÄ×ø±ê¶¼ÒÔÔ²µÄ¹ì¼£½øÐзֲ¼ÊÇÒ»¼þºÜÈÝÒ×µÄÊÂÇ飬ֻҪ֪µÀÁ˹«Ê½¾ÍÄÜд³öÀ´¡£ÎÒÃÇÕâ´ÎµÄÄ¿µÄ²»ÊÇҪСÇò£¬¶øÊÇÒªËûµÄ·Ö²¼µÄ×ø±ê¡£ÎªÊ²Ã´£¿ÇëÏëһϡ£
for(v ......
ͨ¹ýÉÏһƪµÄ³õÊÔ£¬ÏÖÔÚÎÒÃǽèÓÃÉÏƪµÄÎÄÕÂ˼·ÖÆ×÷ÁíÍâÒ»ÖÖ²¹¼äÓ¦ÓÃ
ÏÂÔصØÖ·£ºÔÚÕâÀï
ÏÂÃæ¾ÍÊÇչʾÁ˼¸ÖÖ²»Í¬²¹¼äÓ¦ÓÃЧ¹û½áºÏ£º
²ÉÓõ½»ù±¾ÖªÊ¶£ºÔ²µÄ¹ì¼££¬ÍÖÔ²µÄ¹ì¼££¬¶þάÕóÁеĸ´ÖÆ¡£
ÖÆ×÷˼·¹Ø¼ü£ºÔÚÓÚʹÓÃÒ»ÖÖ·½Ê½¼Ç¼ÿһ¸öͼƬµÄλÖõ㣨x£¬y£©£¬È»ºóͨ¹ýÏÂÃæµÄº¯Êý¶Ôÿһ¸öͼƬMC£¬Òƶ¯Ö¸¶¨µÄλÖá£
TweenLite.to(array[num],1,{x:posX[num],y:posY[num], ease:Cubic.easeInOut});
ÓÐÐËȤ¿ÉÒÔÖÆ×÷һϣ¬²Î¿¼ÉÏһƪµÄÓ¦Óá£ÕâÑù¾Í²»¶à˵ÁË
......
flash ÓÎÏ·Éè¼Æ±Ê¼Ç£ºÈËÎïÐÐ×ßÒ»ÖÖ×ö·¨ (1) http://blog.csdn.net/hero82748274/archive/2009/12/16/5020328.aspx
½«ÉϴεÄÔ´Âë½øÐÐÐÞ¸Äһϣ¬¿ÉÒÔ·ÖÀë³öһЩ¹²ÓõĴúÂë¡£
Éè¼ÆÒ»¸öÖ÷½ÇÀ࣬Õâ¸öÖ÷½ÇÀàʵÏÖÁËÒ»¸ö·½ÏòµÄ½Ó¿Ú¡£
player ʵÏÖIDirection4 µÄ·½Ïò½Ó¿Ú £¬Òâ˼¾ÍÊÇ´ú±íÉÏÏÂ×óÓÒËÄÖÖ·½Ïò£¬ÒÔ¼°Õ¾Á¢²»¶¯µÄ½Ó¿Ú¡£¿ÉÒÔ¿´ÏÂÃæµÄͼ¹Û¿´ËûÃǵÄÖ®¼ä¹Øϵ
ÕâÖÖÊÇÊʺÏÓÚËÄÖÖ·½ÏòµÄͼµÄ×ö·¨¡£
package com.game
{
//ÈËÎïËÄ·½Òƶ¯·½ÏòµÄ½Ó¿Ú
public interface IDirection4
{
function MoveLeft(directtion:uint,dx:int):void;//Ïò×ó
function MoveRight(directtion:uint,dx:int):void;//ÏòÓÒ
function MoveUp(directtion:uint,dy:int):void;//ÏòÉÏ
function MoveDown(directtion:uint,dy:int):void;//ÏòÏÂ
function Stand():void;//Õ¾Á¢
}
}
player.as
package com.game
{
import flash.display.Sprite;
import flash.display.Bitmap;
import flash.display.BitmapData;
import com.game.BitmapSplice;
public class Player implements IDirection4
{
private static var player:Player=null;
public var MaxStep ......
Ä¿Ç°À´½²£¬ÎÒÒÀÈ»»¹²»»á×öÒ»¸öСÓÎÏ·³öÀ´¡£×öÓÎÏ·ÐèÒªÖªµÀºÜ¶à¶«Î÷£¬Õâ¸öflash Ö»ÊÇÒ»¸ö×ÔÓé×ÔÀֵĶ«Î÷¡£ÒªÊÇ¿´ÁËÎ󵼾ͱð¹ÖÁË¡£
ºÃ£¬ÖÆ×÷Õâ¸ö¶«Î÷֮ǰ£¬ÆäʵÕâƪÎÄÕÂÓÐһЩÖظ´ÁË£¬²»¹ýÖ»ÊÇÒ»ÖÖdemoʽµÄÑÝʾ¡£Í¨¹ý¼üÅÌÀ´¿ØÖÆ¿ØÖÆÒ»¸öÈËÎï×߶¯¡£
ÉÏÃæÊÇÒ»ÕÅ͸Ã÷µÄpngλͼ¡£ÓÐËĸö²»Í¬µÄ·½Ïò¡£¿ÉÒÔ¿´µ½ »ù±¾ÉÏÉÏÏÂ×óÓÒ¶¼ÆëÈ«ÁË¡£ÏÖÔÚÀ´¡£ÎÒÃǾÍÀ´Ò»ÆðÍæÒ»ÏÂÕâ¸ö¶«Î÷¡£
ÓÉÓÚÕâ¸ö¶«Î÷²»Éæ¼°ºÜÇ¿µÄÃæÏò¶ÔÏó ºÍÖØÓÃÐÔ¡£Òò´Ë¿´ÏÂÃæµÄ´úÂëµÄʱºòÐèҪעÒâһϡ£ÔÚÕâÀïµÄÄ¿µÄ£¬Ö»ÊÇÏ£ÍûÒ»ÆðÍæÒ»ÏÂÕâ¸öflash¡£
ºÃ·Ï»°ÉÙ˵¡£ÓÐÁËÕâÕÅͼ£¬±ÊÕ߾ʹòËãͨ¹ý¸´ÖÆÏñËصķ½Ê½À´½«ÕâÖÖͼƬÇгÉ16·Ý£¬Ã¿Ò»·Ý¶¼´ú±íÁËÒ»ÕŲ»Í¬·½ÏòµÄ²»Í¬²½µÄͼƬ¡£
Ê×ÏÈ£¬ÏÈͨ¹ýÒ»¸öÀ࣬¸´ÖÆÕâÕÅλͼ¡£·µ»ØÒ»¸ö¶þάÊý×é¡£×¢Ò⣬ÀïÃæµÄÀàÊÇ¿ÉÒÔ½øÐÐÐ޸ġ£ÕâÀï·Å³öÒ»¸ö±È½Ï¼òµ¥µÄ¡£Ã»ÓÐÀ©Õ¹µÄ
package com.game
{
/* ÇиîλͼÀ࣬·µ»ØÒ»¸ö¶þάÊý×é*/
// version 1.0 °æ±¾
import flash.display.Sprite;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.geom.*;
public class BitmapSplice
{
private var Step:Array=new Array();//´æÈ¡²½ÊýÊý× ......
It's been a while since I've posted any Flash tips. I recon it's
time that changed and I get back to spreading some of that knowledge that's
lofting up there in that big empty space I call a brain. This particular tip
comes from a recent post on the ActionScript.org forums
.
Brackets evaluates the string it contains and resolves a
variable reference for the object preceding the first [. So, for example,
_level0["Rect"]; is the same as _level0.Rect; _level0["Rect"+1]; is the same as
_level0.Rect1;
Arrays rely on this method of variable resolution since
array values are stored in variables whose names are numbers. Normally numbers
are not allowed as variable names because dot syntax cannot properly resolve
variables names starting with numbers as it assumes it to be a number value,
i.e. _level0.3something; screws up because Flash gets to the 3 and thinks the
number 3, not a variable name starting with 3. However, this naming restriction
can ......