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
Ïà¹ØÎĵµ£º
var aa:Boolean = true;
my_btn.onPress = function() {
if (aa == true) {
fscommand("fullscreen", true);
aa = false;
} else {
fscommand("fullscreen", false);
aa = true;
}
};
my_btnÊÇÒ»¸ö°´Å¥ ......
Ò»£¬ÒýÑÔ
¶àÄêÇ°ÓÐÒ»¸öºÜÖøÃûµÄ²¡¶¾Ãû½ÐCIH£¬µ±ÄêCIHµÄÁ÷ÐÐÔø¾Ôì³ÉÁ˾޴óµÄ¾¼ÃËðʧ¡£CIH¿ÉÒÔ¹¥»÷Ö÷°åÉϵÄBIOS FLASHоƬ£¬ÆÆ»µÀïÃæµÄÄÚÈÝ£¬´Ó¶øʹµÃÊܺ¦ÕߵļÆËã»úÎÞ·¨Õý³£Ê¹Óá£ÕâÊÇÈËÀàÀúÊ·ÉϵÚÒ»¸ö¿ÉÒÔÆÆ»µÓ²¼þµÄ²¡¶¾¡£CIH¿ÉÒÔ¹¥»÷»ùÓÚIntel 430FXоƬ×éµÄÖ÷°å£¬ÓÉÓÚFXоƬ×éÔÚÄǸöÄê´úÊôÓÚÖ÷Á÷оƬ×飬ËùÒÔÎÞÊýµÄµçÄ ......
Main.cpp (Win/*nix)
#include "FlexSecurityBox.h"
int main(int argc, char ** argv) {
char * address;
short port;
if (argc == 2)
{
address = "0.0.0.0";
port = atoi(argv[1]);
} else if (argc == 3)
{
address = argv[1];
port = atoi(argv[2]);
} else
{
printf("Y ......
HTML clipboardThese days a
16GB USB thumb 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,
videos, and music with friends, nothing beats the convenience of a USB storage
drive. Well, why not make sure t ......
Ä¿Ç°ÒµÄÚ×î¾ßÕùÒéµÄ»°ÌâĪ¹ýÓÚNANDÉÁ´æµÄÁ½´ó¼Ü¹¹MLCºÍSLCÁË£¬ÕâÁ½Öּܹ¹×î´óµÄÇø±ðÊÇ´æÈ¡¼¼Êõ²»Í¬£¬ÓÉ´ËÒ²´øÀ´ÁËÖÆÔì³É±¾¡¢¹¤ÒÕÒªÇ󡢸¨Öúµç
·¡¢´æÈ¡´ÎÊýÉϵÄåÄÒì¡£´Ó¶ÌÆÚ·¢Õ¹À´¿´£¬SLC¼Ü¹¹ÔÚʹÓÃÉÏÓÅÊƽÏΪÃ÷ÏÔ£¬Ò²Òò´Ë³ÉΪÁ˲¿·Ö³§ÉÌìÅÒ«²úÆ·µÄ×ʱ¾¡£È»¶øMLC¼Ü¹¹¾ßÓгɱ¾µÍÁ®¡¢µ¥Æ¬ÈÝÁ¿½Ï
SLC³É±¶Ôö´óµÈÓÅÊÆ£¬³¤Ô¶À´¿ ......