flashλͼ¼¼ÊõÑо¿Æª(6)£ººÚ°×»
¼ÌÐø°ÑÉÏÃæµÄ×ÊÁϼǼһÏ£¬ÏñËØ»ÊǶÔÿһ¸öÏñËؽøÐвÙ×÷½øÐÐÖØ×飬¶øÕâЩ²Ù×÷¿ÉÒÔ¿´µ½Î»Í¼ÏñËزÙ×÷ÊÇ¿ÉÒԱ仯³öºÜ¶àÁîÈËÒâÏë²»µ½µÄЧ¹û¡£½ñÌ죬°ÑÔÚÍøÕ¾¿´µ½µÄһЩÎÄռǼһÏ£¬¹ØÓÚºÚ°×»ÏñËزÙ×÷¡£ÔÀíºÜ¼òµ¥£¬´ÓÒ»ÕÅͼƬ¿ÉÒÔ¿´µ½ÊÇÓÉÒ»¸ö¸öÏñËØ×é³É£¬¿ÉÒÔ¿´³ÉÊÇÒ»¸ö¸öϸСµÄ΢Á£¡£ÕâЩ΢Á£°üº¬ÁËһЩֵ£¬ÑÕÉ«Öµ£¬ÕâЩֵ³ÊÏÖ³ö²»Í¬µÄÑÕÉ«£¬as3¿ÉÒÔ¶Ôÿһ¸öÏñËؽøÐÐË÷Òý£¬Í¨¹ýÕâ¸öË÷ÒýÎÒÃǾͿÉÒÔ¶Ô»ÃæµÄijһЩÏñËؽøÐГ¶¯ÊֽŔ£¬ÔÚijһЩֵ·¶Î§ÄÚÉèÖð×É«£¬Ä³Ò»Ð©Öµ·¶Î§ÄÚÉèÖúÚÉ«¡£
ºÚÉ«£º0x000000£»
°×É«£º0xffffff£»
ÕâÑù¾ÍÄܹ»ÊµÏÖµ½ºÚ°×»µÄЧ¹û¡£
ÑÝʾµÄЧ¹û¡£
package
{
import flash.display.Sprite;
import flash.display.Loader;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.events.*;
import flash.net.*;
import flash.geom.Rectangle;
public class Main extends Sprite
{
private var loader:Loader;
private var url:String="3.jpg";
public function Main()
{
init();
}
//³õʼ»¯
private function init():void
{
loader=new Loader();//Íⲿ¼ÓÔØÒ»ÕÅͼƬ
loader.load(new URLRequest(url));
loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete);
}
private function onComplete(event:Event):void
{
var Width:Number=loader.content.width;
var Height:Number=loader.content.height;
addChild(new Bitmap(Bitmap(loader.content).bitmapData));
var bmpData:BitmapData=new BitmapData(Width,Height,false,0xffffff);//н¨Ò»¸ö¿Õ°×µÄλͼÊý¾Ý
bmpData.draw(loader);//»ñÈ¡Ó°Ïñ
//½øÐÐÏñËØ»ñÈ¡£¬ÖØ×éÏñËØ
for (var i:int=0; i<Width; i++)
{
for (var j:int=0; j<Height; j++)
{
var color:uint=bmpData.getPixel(i,j);
if(color>0x3fffff)
bmpData.setPixel(i,j,0xffffff);//ÉèÖð×É«
else bmpData.setPixel(i,j,0x000000);//ÉèÖúÚÉ«
}
}
//ÏÔʾµ½Áбí²Ëµ¥
var bitmap:Bitmap=new Bitmap(bmpData);
bitmap.x=Width;
addChild(bitmap);
}
}
}
Ïà¹ØÎĵµ£º
×òÍíÏëÆðÁËһЩͼ°¸£¬µ±Ê±ÊÇÔÚСѧµÄʱºò»æÖƹýµÄ£¬ÏÖÔÚÏëÆð¼ÇµÃÊÇTVB½Ìѧ£¬µ±Ê±ºò¼ÇµÃÕâÖÖͼ°¸½ÐÐãÇúÏßͼÐΡ£ÏÖÔÚ½ñÌìÓÃflash »æÖÆһϣ¬Ð§¹û¿´ÆðÀ´Í¦ºÃ¡£¶ø´úÂë·Ç³£¼òµ¥¡£
»ù´¡ÔÀí£º´ÓÒ»¸ö×ÝÖῪʼ£¬»®·ÖһϵÁеĵ㣬Ȼºó´ÓÒ»µã¿ªÊ¼£¬×óÓÒ½øÐÐÁ¬Ïß»æÖÆ¡£Í¬Ê±Ò²¿ÉÒÔÔÚ×Ô¼ºµÄͼ°¸ÀïÃæ½øÐлæÖÆ£¬µ±È»ÕâÖÖЧ¹û ......
1.²éÕÒfirefoxµÄ°²×°Ä¿Â¼
$rpm -ql firefox
ÎÒµÄfirefox°²×°Ä¿Â¼Îª/usr/lib/firefox-3.0.5
2.install_flash_player_10_linux.tar.gz ½âѹ
tar zxfv install_flash_player_10_linux.tar.gz
½âѹ³ölibflashplayer.so
3. ½«libflashplayer.soÒƶ¯µ½/usr/lib/firefox-3.0.5/plugins
4.ÖØÆôfirefox ......
FLASHÆƽâÎÞÏÞµ¯´°
FLASH¼ÓÃÜÆƽâ½Ì³ÌÒÔ¼°Èí¼þÃâ·ÑÌṩÏÂÔØ£º
FLASH¼ÓÃÜÆƽâ½Ì³ÌÒÔ¼°Èí¼þÃâ·ÑÌṩÏÂÔØASV6.0£¨ÆƽâÎÞÏÞµ¯´°½Ì³Ì£©
½Ì³Ìµã»÷ÏÂÃæÇåÎú¹Û¿´
http://up.asqq8.net/QQ598080707/jc/01.swf
ÏÂÔØÈí¼þµØÖ·ºÍ¸üÇåÎúµÄ½Ì³Ì
Çëµã»÷ÏÂÃæÍøÒ³½øÈë×¢²á»áÔ±¹Û¿´ºÍÏ ......
ÎÒÃÇʹÓùýÆÁĻ¼ÖƵÄÈí¼þ»áÁ˽âÔõÑù¼ÖÆ£¬Ö®Ç°Ïë¹ýÒ»ÏÂÔõÑù×ö£¬´ó¸ÅÒ»¸ö¼ÙÉ裬²ÉÓÃflash¸´ÖÆλͼµÄ¼¼Êõ£¬¾ÍÄܹ»Â¼ÖÆflashµ±ÖеÄÎę̀µÄÖ¡¡£½ñÌ죬ÎÒÃÇ¿ªÒ»¸öÎÞÁÄ»°Ìâ“flashÎę̀ÆÁĻ¼ÖÆ”£¬°ÑÎę̀µ±ÖÐ×ÀÃ棬¿´¿´ÔõÑù¼ÖÆÒ»¸ö¹ý³Ì¡£ÔÚflash µ±ÖУ¬¸´ÖÆλͼ¼¼ÊõÊÇÒ»ÖÖ³£Óõļ¼Êõ¡£
¸´ÖÆλͼµÄ°ì·¨Ó ......
Ä¿Ç°ÔÚPCÔ¶³Ì·ÃÎÊÉ豸Flash£¬Ò²¾ÍÊDz¿ÊðTinyCLRºÍÏÂÔØÓ¦ÓóÌÐò¡£ÔÚÒÔǰдµÄ¡¶NandFlashÇý¶¯¿ª·¢¡·ÎÄÕ£¬ÎÒÃÇÖªµÀFlash±»·ÖΪÁù¸öÇø£¬µäÐ͵ĽṹÈçÏ£¨ÒÔSam9261_ek¿ª·¢°åΪÀý£©£º
const BlockRange g_K9F2G_8_BlockStatus[] =
{
{ BlockRange::BLOCKTYPE_BOOTSTRAP , 0, 1 },
&nb ......