flashÌØЧÔÀí£ºÁ£×Ó±¬
Êó±ê°´ÏµÄʱºò£¬Éú³É200¸öÁ£×Ó£¬Á£×ÓÏò²»Í¬µÄ·½ÏòÒƶ¯£¬´Ó¶ø²úÉúÒ»ÖÖÏñÏÉŮɢ»¨µÄ¸Ð¾õ¡£
ÏÂÃæÊÇÉ¢¿ªµÄЧ¹û£¬Í¬ÑùÄã¿ÉÒÔΪÄãµÄЧ¹ûÌí¼ÓºÜ¶àÔªËØ£¬°üÀ¨ÒýÁ¦£¬ÖØÁ¦£¬Ä¦²ÁÁ¦µÈµÈÇé¿ö£¬µ«Õⲿ·Ö¾Í¿¿×Ô¼º£¬»¹ÊÇÐèÒª×Ô¼ºÏë·¨³öÀ´
¼òµ¥µÄ×ö·¨£¬´úÂëºÜÉÙ£¬Éæ¼°µ½Ô˶¯µÄ·½Ïò×ö·¨¡£Ð§¹û¿´ÆðÀ´ÈÃÎÒ¾õµÃ¾ªÑÈ£¬²»¹ý»»À´´ú¼ÛÊÇ¿¨¿¨¿¨£¬µ±ÎÒ³¢ÊÔ»»³É1000¸öÁ£×ÓµÄʱºò
Ôò»á²úÉúºÜ¶àÎÊÌ⣬ÊÇÓÉÓÚÉú³ÉµÄ¶ÔÏóÌ«¶àÁË£¬ÄÚ´æÕ¼ÓÃÂʺܸߣ¬Äã¿ÉÒÔ²âÊÔһϡ£Éú³ÉЧ¹ûºÜ²»´í¡£
»ù±¾Ë¼Â·£ºÊó±ê°´ÏÂ--¡·Éú³ÉÒ»¶¨ÊýÁ¿µÄÁ£×Ó£¬Á£×Ó°´Ëæ»úµÄ·½ÏòÐÐ×ߣ¬ÐÐ×ßÒ»¶¨µÄʱºò£¬¾ÍÐèÒªÁ¢¿Ì¶ÔÆäɾ³ý£¬·ñÔò»á²úÉúÄÚ´æÎÊÌâ¡£
¿´¿´ÏÂÃæµÄ´úÂ룬×ö·¨ºÜ¼òµ¥¡£Ö»ÊǾõµÃÓÐÒ»ÖÖ²»´íµÄÏë·¨£¬ÔÝʱÏÈ°ÑËû¼Ç¼ÏÂÀ´¡£
Á£×ÓËæ»ú¹ì¼£½Ç¶È£¬ÔòÐèҪͨ¹ýMath.atan2 ½øÐмÆË㣬ÔÚflashÀïÃæÕâ¸ö·½·¨¿ÉÒÔΪÔ˶¯Ñ§´´Ôì´øÀ´ºÜ¶à·½±ã¡£ÓÐÐËȤµÄ¿ÉÒÔÈ¥²âÊÔһϡ£
package
{
import flash.display.MovieClip;
import flash.display.DisplayObject;
import flash.events.*;
public class Main extends MovieClip
{
//private var list:Array=new Array();//¹ÜÀíÁ£×Ó
//private var speed:int=5;
private var contain:MovieClip=new MovieClip();//ÈÝÆ÷¹ÜÀíÁ£×Ó
public function Main()
{
init();
}
private function init():void
{
addChild(contain);
stage.addEventListener(MouseEvent.MOUSE_DOWN,MouseDownHandler);
}
//Éú³ÉÁ£×Ó£¬200¸öСÇò£¬È»ºóÏò²»Í¬µÄ·½ÏòÒƶ¯£¬ËٶȲ»Ò»Ñù£¬½Ç¶ÈÒ²²»Ñù
private function MouseDownHandler(event:MouseEvent):void
{
for (var i:int=0; i<200; i++)
{
var ball:Ball=new Ball();
contain.addChild(ball);
ball.x=mouseX;
ball.y=mouseY;
ball.vx=Math.random()*4+2;//Ëæ»úÉú³É²»Í¬µÄxËÙ¶È
ball.vy=Math.random()*5+2;//Ëæ»úÉú³É²»Í¬µÄyËÙ¶È
//ball.alpha=Math.random()+0.1;
var angle:Number=Math.atan2(Math.random()*400-ball.y,Math.random()*550-ball.x);//Ëæ»úÒ»¸ö½Ç¶È
ball.angle=angle;
ball.addEventListener(Event.ENTER_FRAME,BallMove);
//list.push(ball);
}
}
//ÿһ¸öÁ£×ÓµÄÒƶ¯
private function BallMove(event:Event):void
{
event.currentTarget.x+=Math.cos(event.currentTarget.angle)*event.
Ïà¹ØÎĵµ£º
ת×Ô: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 ......
ÕâÊÇ֮ǰÔÚCEÉÏ×öµÄNAND FlashµÄÀ©Õ¹£¬ÔÚmobileÉÏҲʵÏÖÁË¡£·½·¨ÊÇÏàͬµÄ£¬ÎÒÃÇËù×öµÄÊÇʵÏÖ64Mµ½128MµÄÀ©Õ¹¡£
¶ÔÓÚÕâÑùµÄÎÊÌ⣬ºÜÃ÷ÏÔ¾ÍÊÇÒª¸Äµ×²ãµÄ¼Ä´æÆ÷£¬Ê×ÏÈÐèÒªÐÞ¸Änand controllerÖеļĴæÆ÷£¬¸ù¾ÝdatasheetÀ´À©´ónand flashµÄµØÖ·Ó³Éä¿Õ¼ä£¬nand controller±ØÐëÓÐÖ§³Ö¶à¸öbankµÄÄÜÁ¦£¬Î ......
ת×Ô£ºhttp://www.cnblogs.com/yao/archive/2007/02/24/655190.html
FlashÉÏ´«Îļþ(½áºÏasp.net)
Ò»¡¢ÊµÏÖÔÀí¡£
ÔÚijЩ³¡ºÏ£¬ÎÒÃÇÐèҪʹÓÃFlash½øÐГÎļþÉÏ´«”£¬ÔÒòÊÇFlash ÄÜÖÆ×÷³ö±íÏÖÁ¦·á¸»µÄUI½çÃæ¡£
(×Ô¸ºÓֹª¹ÑÎŵÄÎÒÔÚÕâÀï×öÒ»¸ö²¹³ä£ºFlashʹÓÃflash.net°üÖеÄFileReferenceÊÇ¿ÉÒÔ·¢ËÍÎļþÊý¾ ......
ÕâһƪÊÇÁÙʱµÄ±Ê¼£¬ÎÒÃÇÖªµÀas3 ÊÇÃæÏò¶ÔÏóµÄÓïÑÔ£¬ÕâÖÖÓïÑÔÄܹ»·½±ãµÄ·â×°ºÃһЩÀ࣬ÖØÓÃÐԵõ½¼ÓÇ¿¡£Ã¿Ò»¸öÈ˶¼ÓÐÒ»Ì×¾ø»î£¬ÕâЩ¾ø»î¾ÍÏñÎäÁÖµ±ÖÐÿһÅɵÄÎäѧÄÇÑù¡£ÔÚƽʱµÄ¹¤×÷ʹÓÃÉÏ£¬ÊÕ¼¯ÕâЩ¹¤¾ßÄܹ»·½±ã×Ô¼º¹¤×÷£¬Ò²³ÉΪ×Ô¼ºÒ»Ì×Îäѧ¡£
ÀýÈ磺adobe ºËÐÄÀà¿â £¬ 3dÒýÇæÀà¿â£¬ÎïÀíÒýÇæÀà¿â box2d £¬ ......
¡¡¡¡Î¢Èí´Ë´Î°²È«½¨ÒéµÄÁ¢³¡·Ç³£Ã÷È·£¬Ï£ÍûÈ·±£Óû§Ã÷°×£¬Ö»ÓÐÔÚͬʱʹÓþɰæFlashºÍ¾É°æWindowsʱ²Å»á³öÏÖ©¶´£¬Ð°æWindows¾ùδÄÚÖÃFlash Player¡£
¡¡¡¡ÐÂÀ˿Ƽ¼Ñ¶ ±±¾©Ê±¼ä1ÔÂ14ÈÕÔç¼äÏûÏ¢£¬¾Ý¹úÍâýÌ屨µÀ£¬ÓÉÓÚ´æÔÚ¶à¸ö©¶´£¬Î¢ÈíÖܶþ¶Ø´ÙWindows XPÓû§¾¡¿ìÉý¼¶ÏµÍ³Ô¤×°µÄAdobe Flash Player 6.0,manolo blahn ......