flash ½»»¥²Ù×÷£º²Ã¼ôλͼ
Íæ¹ý½ØͼµÄÈ˶¼ÖªµÀ½ØͼÊÇÔõÑùÒ»»ØÊ£¬Í¨¹ý½ØȡͼƬһ¸öµØ·½¾ÍÄܹ»»ñÈ¡µ½Í¼Æ¬Ä³Ò»¸öƬ¶Î¡£ÕâÒ»¸ö²¿·ÖÔÚflash ÀïÃæ¿ÉÒÔÀûÓÃλͼµÄ¸´ÖÆÏñËØÀ´ÊµÏÖ¡£Í¨¹ýcopyPixels »òÕßdraw Äܹ»»ñÈ¡ÏñËØ¡£
ÏÖÔÚÎÒÃÇÌÖÂÛÒ»¸ö»°Ì⣺ÔÚflashÀïÃæÔõÑùʵÏÖÕâÖÖ½Øͼ£¿ ´ø×ÅÕâ¸öÎÊÌ⣬³¢ÊÔÖÆ×÷Ò»¸ödemo³öÀ´¡£¹¦ÄܾÍÊÇ»ñȡλͼ¡£
ËùÐèÒªµÄ²ÄÁÏ£ºµÚÒ»¾ÍÊÇflash»æͼAPI £¬µÚ¶þ¾ÍÊÇλͼÏñËزÙ×÷¡£ÀûÓÃÕâÁ½¸öÎÒÃǾÍÄܹ»ÊµÏÖ³öÕâÖÖ½»»¥Ð§¹û¡£
Éè¼ÆµÄͼ°¸£º
ÖÆ×÷˼·£ºÊ×ÏÈÖªµÀÔõÑù»æÖÆÒ»¸ö¾ØÐΣ¬¿ÉÒÔÉÏÍøËÑË÷һϣ¬»òÕß²éѯһЩflash»æͼAPI ÊÇÈçºÎ²Ù×÷µÄ¡£½èÖú»æÖÆÕâ¹É¾ØÐΣ¬ÎÒÃǾÍÄܽØÈ¡µ½ÎÒÃÇËùÐèÒªµÄƬ¶Î¡£
½ÓÏÂÀ´£¬Îª³ÌÐòдһ¸ö»ùÀࣺItem.as
¶¨ÒåһЩ³£Óõķ½·¨ºÍÊôÐÔ¡£
ÀýÈç»æÖƾØÐΡ£»ñȡλͼ£¬¶¨ÒåÏßÌõµÄÑùʽµÈ£¬ÅжϾØÐÎÊÇ·ñÓÐЧ
ÕâЩ·½·¨¶¼ÊǶ¨ÒåÔÚÕâ¸ö»ù´¡À൱ÖС£
package org.summerTree
{
//Ñ¡ÔñÀà»ù±¾ÉèÖÃ
import flash.display.Sprite;
import flash.geom.Rectangle;
import flash.events.EventDispatcher;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.geom.Point;
public class Item extends EventDispatcher
{
public var LineColor:int=0x0000ff;//ÏßÌõÑÕÉ«
public var FillColor:int=0x0000ff;//Ìî³äµÄÑÕÉ«
public var FillAlpha:Number=0.1;
public function Item()
{
}
//»æÖƾØÐεĻù±¾·½·¨
protected function DrawRect(shape:Sprite,rect:Rectangle):void
{
shape.graphics.clear();
shape.graphics.lineStyle(1,LineColor,1);
shape.graphics.beginFill(FillColor,FillAlpha);
shape.graphics.drawRect(rect.x,rect.y,rect.width,rect.height);
shape.graphics.endFill();
}
//ÅжÏrectÊÇ·ñÓÐЧ
public function checkRect(rect:Rectangle):Boolean
{
return rect != null?true:false;
}
//¶¨ÒåÑùʽ
public function setStyle(lcolor:int,fcolor:int,aplha:Number):void
{
this.LineColor=lcolor;
this.FillColor=fcolor;
this.FillAlpha=aplha;
}
//»ñȡλͼ
public function getImage(source:Bitmap,rect:Rectangle):Bitmap
{
var bitmapdata:BitmapData = source.bitmapData;
var Width:Number=Math.abs(rect.width);
Ïà¹ØÎĵµ£º
Ò»£¬ÒýÑÔ
¶àÄêÇ°ÓÐÒ»¸öºÜÖøÃûµÄ²¡¶¾Ãû½ÐCIH£¬µ±ÄêCIHµÄÁ÷ÐÐÔø¾Ôì³ÉÁ˾޴óµÄ¾¼ÃËðʧ¡£CIH¿ÉÒÔ¹¥»÷Ö÷°åÉϵÄBIOS FLASHоƬ£¬ÆÆ»µÀïÃæµÄÄÚÈÝ£¬´Ó¶øʹµÃÊܺ¦ÕߵļÆËã»úÎÞ·¨Õý³£Ê¹Óá£ÕâÊÇÈËÀàÀúÊ·ÉϵÚÒ»¸ö¿ÉÒÔÆÆ»µÓ²¼þµÄ²¡¶¾¡£CIH¿ÉÒÔ¹¥»÷»ùÓÚIntel 430FXоƬ×éµÄÖ÷°å£¬ÓÉÓÚFXоƬ×éÔÚÄǸöÄê´úÊôÓÚÖ÷Á÷оƬ×飬ËùÒÔÎÞÊýµÄµçÄ ......
Want play some .SWF files, so download "Adobe flash player for IE", then install successfully, but it is a plug, can't open the swf files independently, by the other word, I just can play them in IE, but I don't like so.
At first, I think there is a .exe player can be executing, so locate C:\windo ......
¶ÔÊýѧÕâÒ»²¿·Ö£¬ÎÒÔ½À´Ô½Ï²»¶¹ØÓÚflash ºÍÊýѧµÄ½áºÏ¡£¸ßÖеÄÊýѧ£¬´óѧµÄÊýѧ¶¼ºÜÏëºÜÏë½Ó´¥£¬µ«ÊÇÓÉÓڸߵÈÊýѧ²¢Ã»Ñ§µÃºÜºÃ£¬ËùÒÔÕⲿ·ÖµÄ֪ʶȱÉÙÁË¡£½ñÌìÎÞÒâÖ®ÖУ¬¿´µ½ÇòÌåµÄ²ÎÊýµÄ·½³ÌµÄʱºò£¬ÈÃÎÒ ÐËȤ´óÔöÁË¡£×Ðϸ¹Û¿´ÄǸö²ÎÊý·½³Ì£¬Ô½·¢¾õËûµÄ÷ÈÁ¦¡£
ÇòÃæµÄ¹«Ê½£ºx*x+y*y+z*z=a*a£»
ËûµÄ²ÎÊý·½³ÌÊ ......
ROM¡¢RAM¡¢DRAM¡¢SRAM¡¢FLASHµÄÇø±ð?
ROMºÍRAMÖ¸µÄ¶¼ÊÇ°ëµ¼Ìå´æ´¢Æ÷£¬ROMÊÇRead Only MemoryµÄËõд£¬RAMÊÇRandom Access MemoryµÄËõд¡£
ROMÔÚϵͳֹͣ¹©µçµÄʱºòÈÔÈ»¿ÉÒÔ±£³ÖÊý¾Ý£¬¶øRAMͨ³£¶¼ÊÇÔÚµôµçÖ®ºó¾Í¶ªÊ§Êý¾Ý£¬µäÐ͵ÄRAM¾ÍÊǼÆËã»úµÄÄÚ´æ¡£
RAMÓÐÁ½´óÀà:Ò»ÖÖ³ÆΪ¾²Ì¬RAM£¨Static RAM/SRAM£©£¬SRAMËٶȷdz£¿ì£¬ ......
֮ǰÔÚWindowsÏÂÓùýFirefoxµÄ64λ°æ±¾£Shiretoko£¬µ«ÊÇÓÉÓÚ64λµÄflash player pluginÒ»Ö±°²×°²»ÉÏ£¬µ¼ÖºܶàÓ¦Óö¼Óò»ÁË£¬¾Ý˵¿ÉÒÔʹÓÃNSPlugin Wrapper°üºÍ32λµÄÀà¿âÀ´Ê¹ÓÃ32λµÄflash player£¬ÎÒûÓг¢ÊÔ¡£×î½ü°²×°ÁË64λµÄGentoo£¬operaºÍshiretoko»¹ÊÇÎÞ·¨×Ô¶¯°²×°64λµÄflash player plugin¡£ ......