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) {
 
Ïà¹ØÎĵµ£º
All metal heart shaped necklace containing an 8 GB USB flash drive.
These days a
USB flash drive
is as necessary as your house keys. Whether you are
taking large work files back and forth from the office or are sharing pictures
and music with friends, nothing beats the convenience of a USB ......
import flash.display.MovieClip;
import flash.geom.Rectangle;
import fl.controls.UIScrollBar;
import fl.controls.ScrollBarDirection;
import fl.events.ScrollEvent;
var container:MovieClip=new MovieClip();
//container.addChild(create_mc());
//container.addChild(create_mc());
addChild(container) ......
ROM¡¢RAM¡¢DRAM¡¢SRAM¡¢FLASHµÄÇø±ð?
ROMºÍRAMÖ¸µÄ¶¼Êǰ뵼Ìå´æ´¢Æ÷£¬ROMÊÇRead Only MemoryµÄËõд£¬RAMÊÇRandom Access MemoryµÄËõд¡£ROMÔÚϵͳֹͣ¹©µç
µÄʱºòÈÔÈ»¿ÉÒÔ±£³ÖÊý¾Ý£¬¶øRAMͨ³£¶¼ÊÇÔÚµôµçÖ®ºó¾Í¶ªÊ§Êý¾Ý£¬µäÐ͵ÄRAM¾ÍÊǼÆËã»úµÄÄÚ´æ¡£
RAMÓÐÁ½´óÀ࣬һÖÖ³ÆÎª¾²Ì¬RAM£¨Static RAM/SRAM£©£¬SRAMËٶȷdz£¿ì£ ......
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. ......
ת×Ô:http://www.laolang.cn/back-end-develop/flash-builder-4-blazeds-db-application.html
1.ʹÓÃEclipse ½¨Á¢Ò»¸öJava Project¡£±àдºÃÔ¶³Ì·þÎñÀà(È總¼þ)¡£
2.ÏÂÔØDownload the BlazeDS binary distribution£¬½âѹµ½tomcatµÄwebappsĿ¼Ï¡£ÏÂÔØflex-rds-server.jar£¬ËüÊÇBlazeDS 4(¿ª·¢ÖÐ)ÖеÄÒ»¸ö°ü£¬ÊÇBl ......