flash¼òµ¥»»actionscript3.0
as3.0
../drawingapplication.fla
document classÉèÖÃΪch6.drawingApplication
../ch6/drawingApplication.as
package ch6 {
import flash.display.Sprite;
import flash.events.MouseEvent;
public class DrawingApplication extends Sprite {
private var _canvas:Sprite;
public function DrawingApplication() {
_canvas = new Sprite();
_canvas.graphics.beginFill(0xf0f0f0);
_canvas.graphics.drawRect(0, 0, stage.stageWidth, stage.stageHeight);
_canvas.graphics.endFill();
_canvas.graphics.lineStyle(2, 0x000000);
addChild(_canvas);
_canvas.addEventListener(MouseEvent.MOUSE_DOWN, onCanvasMouseDown);
_canvas.addEventListener(MouseEvent.MOUSE_UP, onCanvasMouseUP);
}
private function onCanvasMouseDown(event:MouseEvent): void {
_canvas.graphics.moveTo(event.localX, event.localY);
_canvas.addEventLis
Ïà¹ØÎĵµ£º
Êó±ê°´ÏµÄʱºò£¬Éú³É200¸öÁ£×Ó£¬Á£×ÓÏò²»Í¬µÄ·½ÏòÒƶ¯£¬´Ó¶ø²úÉúÒ»ÖÖÏñÏÉŮɢ»¨µÄ¸Ð¾õ¡£
ÏÂÃæÊÇÉ¢¿ªµÄЧ¹û£¬Í¬ÑùÄã¿ÉÒÔΪÄãµÄЧ¹ûÌí¼ÓºÜ¶àÔªËØ£¬°üÀ¨ÒýÁ¦£¬ÖØÁ¦£¬Ä¦²ÁÁ¦µÈµÈÇé¿ö£¬µ«Õⲿ·Ö¾Í¿¿×Ô¼º£¬»¹ÊÇÐèÒª×Ô¼ºÏë·¨³öÀ´
¼òµ¥µÄ×ö·¨£¬´úÂëºÜÉÙ£¬Éæ¼°µ½Ô˶¯µÄ·½Ïò×ö·¨¡£Ð§¹û¿´ÆðÀ´ÈÃÎÒ¾õµÃ¾ªÑÈ£¬²»¹ý»»À´´ú¼ÛÊÇ¿¨¿¨¿¨£ ......
Ò»£¬ÒýÑÔ
¶àÄêÇ°ÓÐÒ»¸öºÜÖøÃûµÄ²¡¶¾Ãû½ÐCIH£¬µ±ÄêCIHµÄÁ÷ÐÐÔø¾Ôì³ÉÁ˾޴óµÄ¾¼ÃËðʧ¡£CIH¿ÉÒÔ¹¥»÷Ö÷°åÉϵÄBIOS FLASHоƬ£¬ÆÆ»µÀïÃæµÄÄÚÈÝ£¬´Ó¶øʹµÃÊܺ¦ÕߵļÆËã»úÎÞ·¨Õý³£Ê¹Óá£ÕâÊÇÈËÀàÀúÊ·ÉϵÚÒ»¸ö¿ÉÒÔÆÆ»µÓ²¼þµÄ²¡¶¾¡£CIH¿ÉÒÔ¹¥»÷»ùÓÚIntel 430FXоƬ×éµÄÖ÷°å£¬ÓÉÓÚFXоƬ×éÔÚÄǸöÄê´úÊôÓÚÖ÷Á÷оƬ×飬ËùÒÔÎÞÊýµÄµçÄ ......
×÷Õß:Merrycat ÈÕÆÚ:2007-01-18
×î½ü¹«Ë¾FLASHѧϰС×é°ÑÎÒѡΪ×鳤ÁË ¡£½ñÌìÎÒ¸ø´ó¼Ò½²ÁËһϓFlashÖмÓÔØÓëÖ´ÐÐ˳Ðò”£¬×òÌì×ܽáÁËÒ»ÏÂÎ磬½ñÌìÔÚBLOGÉÏд¸ö½Ì³Ì¡£ÈçҪתÔØ£¬Çë×¢Ã÷³ö´¦¡£
ÏÈ´Ó¼òµ¥µÄ¿ªÊ¼°É¡£
Àý1£ºÖ¡ÄÚ´úÂëµÄÖ´ÐÐ˳Ðò¡£
ÔÚFLASHµÚÒ»Ö¡²åÈëһϴúÂ룺
³ÌÐò´úÂë
var a:String = " ......
¶ÔÊýѧÕâÒ»²¿·Ö£¬ÎÒÔ½À´Ô½Ï²»¶¹ØÓÚflash ºÍÊýѧµÄ½áºÏ¡£¸ßÖеÄÊýѧ£¬´óѧµÄÊýѧ¶¼ºÜÏëºÜÏë½Ó´¥£¬µ«ÊÇÓÉÓڸߵÈÊýѧ²¢Ã»Ñ§µÃºÜºÃ£¬ËùÒÔÕⲿ·ÖµÄ֪ʶȱÉÙÁË¡£½ñÌìÎÞÒâÖ®ÖУ¬¿´µ½ÇòÌåµÄ²ÎÊýµÄ·½³ÌµÄʱºò£¬ÈÃÎÒ ÐËȤ´óÔöÁË¡£×Ðϸ¹Û¿´ÄǸö²ÎÊý·½³Ì£¬Ô½·¢¾õËûµÄ÷ÈÁ¦¡£
ÇòÃæµÄ¹«Ê½£ºx*x+y*y+z*z=a*a£»
ËûµÄ²ÎÊý·½³ÌÊ ......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Yimin</t ......