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) {
 
Ïà¹ØÎĵµ£º
¸Õ¿ªÊ¼ÓÃCS4µÄʱºò¾Í×¢Òâµ½ÁËÕâ¸öÕâ¸ö¹¦Äܲ»¹ý¶¼Ã»Êµ¼ù¹ý,Õ⼸Ììʵ¼ùÁËһϷ¢ÏÖÊǸöºÜºÃºÜºÍгµÄµÄ¼¼ÄÜ .ÓÐÁËËüÎÒÃǾͿÉÒÔºÜɵ¹ÏµÄ±à¼Ò»Ð©ÎÒÃdzÌÐòÔ±ºÜÍ·Ì۵ĴúÂë,±ÈÈçflash¶¯»µÄÂ˾µÐ§¹û,Èç¹ûûÓÐÕâ¸ö¹¦ÄܹÀ¼Æ°ïÖúÎĵµÀïÃæµÄflash.filters°üµÃ¿´°ëÌì…ÓиöÕâ¸ö¹¦ÄÜÎÒÃǾͲ»ÓóîÁË.±ÈÈçÏÖÔÚÎÒÏ붯̬Ìí¼ÓÌí¼ÓÒ»¸öÔª¼ ......
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.net.FileFilter;
import flash.net.FileReferenceList;
import fl.controls.Button;
import flash.events.MouseEvent;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.events.HTTPStatusEvent;
import flash.display.Loader;
import flash.net.URLRequest;
var ......
Flash³£¼ûÎÊÌâÕûÀí
1,flashÊÇʲô?
flashµçÓ°ÊÇרΪÍøÒ³·þÎñµÄ»Ïñ»ò¶¯»(µ±È»£¬Ò²¿ÉÓÃÓÚÆäËüÓÃ;)¡£Ö÷Òªº¬ÓÐʸÁ¿Í¼ÐΣ¬µ«ÊÇÒ²¿ÉÒÔ°üº¬µ¼ÈëµÄλͼºÍÒôЧ£¬»¹¿ÉÒÔ°Ñä¯ÀÀÕßÊäÈëµÄÐÅϢͬ
½»»¥ÐÔÁªÏµÆðÀ´£¬´Ó¶ø²úÉú½»»¥Ð§¹û£¬Ò²¿ÉÒÔÉú³É·ÇÏßÐÔµçÓ°¶¯»¡£¸Ã¶¯»¿ÉÒÔͬÆäËüµÄweb³ÌÐò²úÉú½»»¥×÷Óá£ÍøÒ³Éè¼Æʦ¿ÉÒÔÀûÓÃflashÀ´´´ ......
PotoshopÊÓƵ¶àýÌå½Ì³Ì——»±Ê¹¤¾ß
http://www.pconline.com.cn/pcedu/sj/pm/photoshop/0401/flash/040109fifps222.swf
PhotoshopÊÓƵ¶àýÌå½Ì³Ì——Ó¡Õ¹¤¾ß
http://www.pconline.com.cn/pcedu/sj/pm/photoshop/0401/flash/040112fifps223.swf
PhotoshopÊÓƵ¶àýÌå½Ì³Ì——¼Ç¼¹¤¾ß ......