Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : flash

Flash AS3Öг£ÓõÄÊýѧ¹«Ê½ÓëAS3³ÌÐò±íʾÐÎʽ

»ù±¾Èý½Çº¯ÊýµÄ¼ÆË㣺
½ÇµÄÕýÏÒÖµ£½¶Ô±ß/б±ß
½ÇµÄÓàÏÒÖµ£½ÁÚ±ß/б±ß
½ÇµÄÕýÇÐÖµ£½¶Ô±ß/ÁÚ±ß
½Ç¶ÈÖÆÓ뻡¶ÈÖƵÄÏ໥ת»»£º
»¡¶È£½½Ç¶È×Math.PI/180
½Ç¶È£½»¡¶È×180/Math.PI
ÏòÊó±êÐýת£¨»òÏòijµãÐýת£©£º
dx=mouseX-sprite.x;
dy=mouseY-sprite.y;
sprite.rotation=Math.atan2(dy,dx)*180/Math.PI;
´´½¨²¨ÐΣº
public function onEnterFrame(e:Event){
value=center+Math.sin(angle)*range;
angle+=speed;
}
´´½¨Ô²ÐΣº
public function onEnterFrame(e:Event){
xposition=centerX+Math.cos(angle)*radius;
yposition=centerY+Math.sin(angle)*radius;
angle+=speed;
}
´´½¨ÍÖÔ²£º
public function onEnterFrame(e:Event){
xposition=centerX+Math.cos(angle)*radiusX;
yposition=centerY+Math.sin(angle)*radiusY;
angle+=speed;
}
¼ÆËãÁ½µã¼ä¾àÀ룺
dx=x2-x1;
dy=y2-y1;
dist=Math.sqrt(dx*dx+dy*dy);
»òÕßÊÇ
dist=Math.sqrt(Math.pow(dx,2)+Math.pow(dy,2)); ......

Flash һЩ³£ÓÃÎïÀí¹«Ê½ºÍAS3µÄ½áºÏÓ¦ÓÃ


À´×Ô¡¶Foundation Actionscript 3.0 Animation: Making Things Move!¡·µÄÎïÀí¹«Ê½£º
ÏòÊó±ê£¨»òÕßÈκÎÒ»¸öµã£©Ðýת£º
// ÓÃÒªÐýתµ½µÄ x, y ×ø±êÌæ»» mouseX, mouseY
dx = mouseX - sprite.x;
dy = mouseY - sprite.y;
sprite.rotation = Math.atan2(dy, dx) * 180 / Math.PI;
´´½¨²¨ÐΣº
// ½« x, y »òÆäËüÊôÐÔ¸³Öµ¸ø Sprite ӰƬ»òӰƬ¼ô¼­£¬
// ×÷Ϊ»æͼ×ø±ê£¬µÈµÈ¡£
public function onEnterFrame(event:Event){
value = center + Math.sin(angle) * range;
angle += speed;
}
´´½¨Ô²ÐΣº
// ½« x, y »òÆäËüÊôÐÔ¸³Öµ¸ø Sprite ӰƬ»òӰƬ¼ô¼­£¬
// ×÷Ϊ»æͼ×ø±ê£¬µÈµÈ¡£
public function onEnterFrame(event:Event){
xposition = centerX + Math.cos(angle) * radius;
yposition = centerY + Math.sin(angle) * radius;
angle += speed;
}
´´½¨ÍÖÔ²£º
// ½« x, y »òÆäËüÊôÐÔ¸³Öµ¸ø Sprite ӰƬ»òӰƬ¼ô¼­£¬
// ×÷Ϊ»æͼ×ø±ê£¬µÈµÈ¡£
public function onEnterFrame(event:Event){
xposition = centerX + Math.cos(angle) * radiusX;
yposition = centerY + Math.sin(angle) * radiusY;
angle += speed;
}
»ñµÃÁ½µã¼äµÄ ......

[Oracle 10g] ÉÁ»Ø»Ö¸´Çø (Flash Recovery Area)

ºÎΪÉÁ»Ø»Ö¸´Çø
Oracle 10g ÓÐÒ»Ïîй¦ÄܳÆΪ:×Ô¶¯µÄ»ùÓÚ´ÅÅ̵ı¸·ÝÓë»Ö¸´( Automatic Disk-Based Backup and Recovery )¡£ÊµÏָù¦ÄܵĻù´¡Îª±¾ÎÄÒª½²ÊöµÄÉÁ»Ø»Ö¸´Çø( Flash Recovery Area )¡£ÉÁ»Ø»Ö¸´ÇøÊÇ Oracle 10g ÖеÄÐÂÊÂÎï¡£¼òµ¥µÄ˵£¬ÉÁ»Ø»Ö¸´ÇøÊÇÒ»¿éÓÃÒÔ´æ´¢»Ö¸´Ïà¹ØµÄÎļþµÄ´æ´¢¿Õ¼ä¡£ÔÊÐíÓû§¼¯Öд洢ËùÓлָ´Ïà¹ØµÄÎļþ¡£
ÉÁ»Ø»Ö¸´Çø¿ÉÒÔ·ÅÔÚÈçϼ¸ÖÖ´æ´¢ÐÎʽÉÏ:
Ŀ¼
Ò»¸öÎļþϵͳ
×Ô¶¯´æ´¢¹ÜÀí(ASM)´ÅÅÌ×é
ÔÚ RAC »·¾³ÖÐ,Õâ¸ö¸ÃλÖñØÐëΪ ¼¯ÈºÎļþϵͳ (cluster file system) »òÊÇ ASM ´ÅÅÌ×éÒà»òÊÇͨ¹ý NFS ¿ØÖƵÄÎļþ¹²ÏíĿ¼£¬»¹Òª×¢ÒâµÄÊÇ£¬ËùÓÐʵÀýµÄλÖúͲÙ×÷ϵͳµÄ´ÅÅÌÏÞ¶î (disk quota) ±ØÐëÒ»Ö¡£
Èçϼ¸ÖÖÎļþ¿ÉÒԷŵ½ÉÁ»Ø»Ö¸´ÇøÖÐ:
¿ØÖÆÎļþ
¹éµµµÄÈÕÖ¾Îļþ(×¢£ºOracle ÊÖ²áÉÏËù˵µÄÔÚÉ趨flash recovery areaÖ®ºó£¬LOG_ARCHIVE_DEST_10µÄÖµ½«×Ô¶¯É趨Ϊflash recovery areaµÄλÖã¬Õâ¸ö±ä»¯ÔÚ±ÊÕß²âÊÔ¹ý³ÌÖй۲첻µ½)
ÉÁ»ØÈÕÖ¾
¿ØÖÆÎļþºÍ SPFILE ×Ô¶¯±¸·Ý
RMAN ±¸·Ý¼¯
Êý¾ÝÎļþ¿½±´
ΪºÎÒªÓÃÉÁ»Ø»Ö¸´Çø?
ÈçÇ°ËùÊö£¬ÉÁ»Ø»Ö¸´ÇøÌṩÁËÒ»¸ö¼¯Öл¯µÄ´æ´¢ÇøÓò£¬ºÜ´ó³Ì¶ÈÉϼõСÁ˹ÜÀí¿ªÏú¡£ÕâÊÇÆä×îÖ÷ÒªµÄÓŵ㡣Óë RMAN ½áº ......

[Oracle 10g] ÉÁ»Ø»Ö¸´Çø (Flash Recovery Area)

ºÎΪÉÁ»Ø»Ö¸´Çø
Oracle 10g ÓÐÒ»Ïîй¦ÄܳÆΪ:×Ô¶¯µÄ»ùÓÚ´ÅÅ̵ı¸·ÝÓë»Ö¸´( Automatic Disk-Based Backup and Recovery )¡£ÊµÏָù¦ÄܵĻù´¡Îª±¾ÎÄÒª½²ÊöµÄÉÁ»Ø»Ö¸´Çø( Flash Recovery Area )¡£ÉÁ»Ø»Ö¸´ÇøÊÇ Oracle 10g ÖеÄÐÂÊÂÎï¡£¼òµ¥µÄ˵£¬ÉÁ»Ø»Ö¸´ÇøÊÇÒ»¿éÓÃÒÔ´æ´¢»Ö¸´Ïà¹ØµÄÎļþµÄ´æ´¢¿Õ¼ä¡£ÔÊÐíÓû§¼¯Öд洢ËùÓлָ´Ïà¹ØµÄÎļþ¡£
ÉÁ»Ø»Ö¸´Çø¿ÉÒÔ·ÅÔÚÈçϼ¸ÖÖ´æ´¢ÐÎʽÉÏ:
Ŀ¼
Ò»¸öÎļþϵͳ
×Ô¶¯´æ´¢¹ÜÀí(ASM)´ÅÅÌ×é
ÔÚ RAC »·¾³ÖÐ,Õâ¸ö¸ÃλÖñØÐëΪ ¼¯ÈºÎļþϵͳ (cluster file system) »òÊÇ ASM ´ÅÅÌ×éÒà»òÊÇͨ¹ý NFS ¿ØÖƵÄÎļþ¹²ÏíĿ¼£¬»¹Òª×¢ÒâµÄÊÇ£¬ËùÓÐʵÀýµÄλÖúͲÙ×÷ϵͳµÄ´ÅÅÌÏÞ¶î (disk quota) ±ØÐëÒ»Ö¡£
Èçϼ¸ÖÖÎļþ¿ÉÒԷŵ½ÉÁ»Ø»Ö¸´ÇøÖÐ:
¿ØÖÆÎļþ
¹éµµµÄÈÕÖ¾Îļþ(×¢£ºOracle ÊÖ²áÉÏËù˵µÄÔÚÉ趨flash recovery areaÖ®ºó£¬LOG_ARCHIVE_DEST_10µÄÖµ½«×Ô¶¯É趨Ϊflash recovery areaµÄλÖã¬Õâ¸ö±ä»¯ÔÚ±ÊÕß²âÊÔ¹ý³ÌÖй۲첻µ½)
ÉÁ»ØÈÕÖ¾
¿ØÖÆÎļþºÍ SPFILE ×Ô¶¯±¸·Ý
RMAN ±¸·Ý¼¯
Êý¾ÝÎļþ¿½±´
ΪºÎÒªÓÃÉÁ»Ø»Ö¸´Çø?
ÈçÇ°ËùÊö£¬ÉÁ»Ø»Ö¸´ÇøÌṩÁËÒ»¸ö¼¯Öл¯µÄ´æ´¢ÇøÓò£¬ºÜ´ó³Ì¶ÈÉϼõСÁ˹ÜÀí¿ªÏú¡£ÕâÊÇÆä×îÖ÷ÒªµÄÓŵ㡣Óë RMAN ½áº ......

JFFS: ÈÕÖ¾ÐÍFlashÎļþϵͳ

ÒÔÏÂÊǶÔJFFSÎļþϵͳ×÷ÕßдµÄ½éÉÜÎÄÕµķ­Òë
ͻ񻣼
Ö±µ½×î½ü£¬ÔÚǶÈëʽÉ豸ÖÐ×îÆÕ±éʹÓÃFlash´æ´¢Æ÷µÄ¼¼Êõ¶¼ÊÇÔÚflash chipÉϼٶ¨ÁËÒ»¸öÎļþϵͳÀ´Ä£ÄâÒ»¸ö±ê×¼µÄ¿éÉ豸£¬²¢Ìṩwear levelling(ÄÍÄ¥)£¬²¢ÔÚÕâ¸ö·ÂÕæµÄ¿éÉ豸ÉÏʹÓÃÒ»¸öÕý³£µÄÎļþϵͳ¡£
JFFSÊÇÒ»¸öÓÉÈðµäAxis Communications ABÉè¼ÆµÄÌرðÓÃÓÚǶÈëʽϵͳµÄflashÉ豸ÉÏÈÕÖ¾½á¹¹Îļþϵͳ£¬¸ÃÎļþϵͳÁ˽âÉÁ´æ¼¼ÊõµÄÏÞÖÆ£¬²¢Ö±½Ó¹¤×÷ÔÚÉÁ´æоƬÉÏ£¬ ´Ó¶ø±ÜÃâÁËÁ½¸öÈÕÖ¾ÐÍÎļþϵͳÔڱ˴˶¥²¿µÄЧÂʵÍÏ¡£
¸ÃÂÛÎÄÌṩÁËÒ»¸ö ......

Adobe Flashƽ̨·þÎñ Ó¦ÓÃÍƹã·þÎñ¸ÅÀÀ

±¾ÎÄת×Ô:http://www.riameeting.com/node/463
ÕâÊÇһƪÀ´×ÔAdobe¿ª·¢ÕßÖÐÐĵĽéÉÜAdobe Flashƽ̨·þÎñµÄÎÄÕ£¬ÓÉRIAMeeting·­ÒëС×é³ÉÔ±ÐìÓ¢ÖÓ·­Ò룬ԭÎĵØÖ·ÊÇ£º
http://www.adobe.com/devnet/flashplatform/services/distribution/articles/overview.html
Adobe Flashƽ̨ӦÓÃÍƹã·þÎñÌṩÁ˸¶·ÑµÄºÍÃâ·ÑµÄÁ½ÖÖ·½Ê½À´ÔÚÉç½»ÍøÂç¡¢×ÀÃæÒÔ¼°Òƶ¯Æ½Ì¨ÉÏÍƹãÄãµÄÓ¦Ó㬲¢ÇÒÌṩÁËһϵÁжԴ«Í³ºÍÉç½»ÍøÂçÊý¾ÝµÄ×·×Ù·ÖÎö¡£×îÖÕ£¬¸Ã·þÎñÄܹ»ÈÃÄãµÄÓ¦ÓÃͨ¹ý¹ã¸æͶ·ÅµÄ·½Ê½Ó¯Àû¡£
Ðí¶àÍƹã·þÎñ¶¼ÊÇÓÉGigyaÌṩ֧³ÖµÄ¡£GigyaÓµÓÐÒ»¸öÅÓ´óµÄÍƹãÍøÂ磬ËüÊÇÊÀ½çÉÏ×î´óµÄÓ¦ÓÃÍƹãÍøÂçÖ®Ò»£¬Ã¿Ô¶¼Óг¬¹ý2.5ÒڵĶÀÁ¢·Ã¿Í¡£
Sharing ·ÖÏí
“·ÖÏí”Äܹ»Ãâ·ÑÈÃÄãµÄÓ¦ÓóÌÐòÒÔ¼°ÆäËûÄÚÈÝѸËÙ·¢²¼ÖÁ¾ø´ó²¿·ÖÍøÂç¡¢ÊÖ»úºÍ×ÀÃæƽ̨¡£ÎÒÃÇ¿ÉÒÔͨ¹ýÔÚ×Ô¼ºµÄÓ¦ÓûòÕßÊÇ·¢²¼Ó¦ÓõÄÍøÒ³ÉÏÃæÌí¼Ó“Share menu”(·ÖÏí²Ëµ¥)À´ÊµÏÖ“·ÖÏ픡£(¼ûͼ1)
ͼ1. Ó¦ÓÃÍƹã·þÎñµÄShare menu(·ÖÏí²Ëµ¥)
Ó¦ÓÃÍƼö¡¢¹ã¸æͶ·ÅÒÔ¼°×·×Ù·ÖÎö·þÎñÖ»ÓÐÔÚÄãµÄÓ¦ÓüÓÔØÁË“Share menu”(·ÖÏí²Ëµ¥)µÄʱºò²Å¿ÉÓá£
Ó¦ÓÃÍƼö
ͨ¹ý¸¶·ÑµÄ“Ó¦ÓÃÍƼö”£¬ÄãµÄÓ¦ÓÿÉÒ ......

ʹÓÃXMLSocketÔÚFlashºÍ±¾µØ³ÌÐòÖ®¼ä½øÐÐͨѶ

ÔÚʵ¼ÊÓ¦ÓÃÖо­³£»áÓõ½flashÒ³ÃæºÍ±¾µØexe³ÌÐò»òÕßActiveX³ÌÐò½øÐн»»¥µÄÇé¿ö¡£Ä¿Ç°ÓÐÁ½ÖÖ·½·¨£º
1. flash <-> javascript <-> activex
ÕâÖÖÓ¦ÓÃÖУ¬±¾µØexe³ÌÐò±ØÐëÊÇÒ»¸ö½ø³ÇÍâµÄcom¿Ø¼þ£¬²»½öÖÆ×÷³É±¾¸ß¶øÇÒ´úÂë¼äµÄñîºÏ¶È¸ß¡£
2. flash <-> XMLSocket <-> exe
ÕâÖÖÓ¦ÓÃÖУ¬±¾µØexe³ÌÐò±È½Ï¶ÀÁ¢£¬flashºÍexe³ÌÐòÖ®¼ä¿ÉÒÔ²ÉÓÃsocketͨѶµÄ·½Ê½½øÐС£±¾ÎÄÏêÊöÕâÖÖ·½·¨µÄʵÏÖ¡£
¼ÈÈ»ÊÇSocketͨѶ£¬¾Í±ØÐëÓÐÒ»¸öserverºÍÒ»¸öclient¡£±¾ÎIJÉÓÃC#µÄTCPServer×÷server¶Ë¼òµ¥·¶Àý£¬ÆäËûÓïÑԵijÌÐòÀàËÆ¡£¶øclient¶ËÔòÊÇflashµÄXMLSocketÓ¦Óá£
²ÉÓÃÕâÖÖ·½·¨µÄ¹Ø¼üÊÇXMLSocketµÄ°²È«²ßÂÔ¼ì²â¡£×ܽáÒ»ÏÂXMLSocketµÄ°²È«²ßÂÔ¼ì²â£¬¼ì²â¹ý³ÌΪ£º
1,Ê×Ïȼì²âÄ¿±ê·þÎñÆ÷µÄ843¶Ë¿ÚÊÇ·ñÌṩ°²È«²ßÂÔ
2,Èç¹û843¶Ë¿ÚûÓмì²âµ½²ßÂÔ£¬Ôò¼ì²âactionscriptÊÇ·ñʹÓÃÁËSecurity.loadPolicyFile(xmlsocket://) ÊÖ¶ÎÌṩ°²È«²ßÂÔ£¬Èç¹û»¹Ã»¼ì²âµ½£¬ÔòʹÓõÚ3²½¼ì²â
3,¼ì²âÄ¿±ê·þÎñÆ÷Ä¿±ê¶Ë¿ÚÊÇ·ñÌṩ°²È«²ßÂÔ
¿ÉÒԲο¼ÕâƪÎÄÕ£¬ÓвßÂÔ¼ì²â¹ý³ÌÏêÊö¼°LinuxÏÂPythonʵÏÖµÄÀý×Ó¡£
±¾ÎÄÖ±½Ó²ÉÓÃÄ¿±ê·þÎñÆ÷¶Ë¿ÚÌṩ°²È«²ßÂԵķ½Ê½¡£
C#·þÎñÆ÷¶Ë´úÂ룺
TCP Server¶Ë ......
×ܼǼÊý:497; ×ÜÒ³Êý:83; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [74] [75] [76] [77] 78 [79] [80] [81] [82] [83]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ