flash ·½Ïò¼ýÍ·
Ç°¼¸ÌìÒ»¸ö3£ÄÏîÄ¿ÉÏÒªÔËÓõ½ ·½Ïò¼ýÍ·£¨Êó±êÍùÄÄÒÆ£¬¼ýÍ·¾Íת¶¯Ò»¶¨µÄ½Ç¶ÈÖ¸ÏòÄÄ£©£¡£¡
demo£º http://6921.ggii.net/swf/ok.swf
²Ù×÷ÊÇ£º °´ÏÂÊó±ê£¬²¢ÇÒÒƶ¯Êó±ê¹Û²ìЧ¹û£¡
ÏÂÃ潫Æä´úÂëÌù³öÀ´£º
MCÊǼýͷӰƬ¼ô¼ ʵÀýΪarro
Circle ÊÇÒ»¸öת¶¯µÄÔ° °´ÏÂÊó±ê,¹Ì¶¨ÔÚ°´Ïµ㴦 ʵÀý circle
´úÂëÊÇÔÚʱ¼äÖáÉÏдµÄ£º
var arro:Sprite= Sprite(new MC());
var circle:MovieClip= MovieClip(new Circle());
arro.name="arro";
circle.name="circle";
stage.addEventListener(MouseEvent.MOUSE_DOWN,onDown,false,1,true);
stage.addEventListener(MouseEvent.MOUSE_UP,onUp,false,1,true);
stage.addEventListener(MouseEvent.MOUSE_MOVE,onMove,false,1,true);
addEventListener(Event.ENTER_FRAME,onFrame,false,1,true);
var tx,ty,gx,gy:int;
var isDown:Boolean;
function onDown(e:MouseEvent) {
isDown=true;
tx=e.stageX;
ty=e.stageY;
Mouse.hide();
addChild(circle);
positionCircle(tx,ty);
}
function onUp(e:MouseEvent) {
graphics.clear();
isDown=false;
Mouse.show();
if (getChildByName(circle.name)!=null) {
removeChild(circle);
}
if (getChildByName(arro.name)!=null) {
removeChild(arro);
}
}
function onMove(e:MouseEvent) {
gx=e.stageX;
gy=e.stageY;
if (isDown) {
addChild(arro);
arro.x=gx;
arro.y=gy;
}
}
function positionCircle(tx:int,ty:int) {
circle.x=tx;
circle.y=ty;
}
function onFrame(e:Event) {
// ´¦ÀíÊó±êÐýת
var disX:int=gx-tx;
var disY:int=gy-ty;
var angle:Number=Number(Math.atan(disY/disX)*180/Math.PI);// atan·µ»ØµÄÊÇ»¡¶ÈÖµ£¬Òª×ª»»Îª½Ç¶ÈÖµ
//if (disX == 0) { ÕâÀï²»ÐèÒª´¦Àí ÕâµãÊÇÌØÊâµã ¿ÉÒÔºöÂÔ²»¼Æ
//if(disY>=0){
//
//angle=90}else{
//
//angle=270
//
//
//
//}
//}
//
if (disX>0) {
//do nothing
}
if (disX<0) {
 
Ïà¹ØÎĵµ£º
ÉùÃ÷£º±¾ÎÄÒÔMSP430F2122ΪÀý˵Ã÷Flash¶Áд²Ù×÷¡£
Ò»¡¢MSP430F2122µÄFLASH½á¹¹
FLASHÄ£¿é½á¹¹Í¼Èçͼһ
ͼһ
MSP430 FLASHÐ͵¥Æ¬»úµÄFLASH´æ´¢Æ÷·ÖΪÖ÷´æ´¢Æ÷ºÍÐÅÏ¢´æ´¢Æ÷¡£Ö÷´æ´¢Æ÷¸ù¾Ý ......
LinuxÏ£¬64λµÄFirefox¡¢OperaµÈä¯ÀÀÆ÷ĬÈÏËÑË÷µ½µÄFlash²å¼þÊÇ32λµÄ£¬°²×°Ö®ºóÒ²²»ÄÜÕý³£¹¤×÷¡£
ÐèÒªÊÖ¹¤°²×°Ò»Ï¡£
1.ÏÂÔزå¼þ
ʹÓÃä¯ÀÀÆ÷ÏÂÔØ£º
µ½Adobeµ ......
ʲôÊÇFlash Memory´æ´¢Æ÷
½éÉܹØÓÚÉÁËÙ´æ´¢Æ÷ÓйØ֪ʶ ½üÄêÀ´£¬·¢Õ¹ºÜ¿ìµÄÐÂÐÍ°ëµ¼Ìå´æ´¢Æ÷ÊÇÉÁËÙ´æ´¢Æ÷(Flash Memory)¡£ËüµÄÖ÷ÒªÌصãÊÇÔÚ²»¼ÓµçµÄÇé¿öÏÂÄܳ¤ÆÚ±£³Ö´æ´¢µÄÐÅÏ¢¡£¾ÍÆä±¾ÖʶøÑÔ£¬Flash MemoryÊôÓÚEEPROM(µç²Á³ý¿É±à ³ÌÖ»¶Á´æ´¢Æ÷)ÀàÐÍ¡£Ëü¼ÈÓÐROMµÄÌص㣬ÓÖÓкܸߵĴæÈ¡Ëٶȣ¬ ......
H-JTAG V0.9.2 ÉÕ¼nand flashµÄ·½·¨
˵Ã÷£º
±¾ÎÄÒÔS3C2410µÄ¿ª·¢°å˵Ã÷ÓÃH-JTAGÉÕ¼³ÌÐòµ½nand flashµÄ·½·¨¡£
±¾ÎÄÉÕ¼K9F1208µÄ8bit nand flash¡£
1. µ½http://www.hjtag.com/download.htmlÏÂÔØH-JTAG V0.9.2
2. °²×°H-JTAG V0.9.2
3. ......
Flash Media Server ÔÚ debian ÉÏ
學員°²裝 Flash Media Server ÔÚ Windows XP ÉÏ£¬»ù±¾ÉÏÊÇ¿ÉÒÔ運×÷À²£¡²»過£¬ÎÒ習慣ʹÓà Linux 來¼Ü設ËÅ·þÆ÷£¬ËùÒÔ還ÊÇ´òËã將 Flash Media Server °²裝ÔÚ Debian ÉÏÃæ¡£
ÏÂ課»Ø¹¤×÷ÊÒáᣬÏÈÔÚ¹¤×÷ÊÒµÄ ......