Java´úÂë import flash.external.ExternalInterface; function hello(){ return "²âÊԳɹ¦ÁËŶ~~"; } //ÔÊÐíflashµ÷ÓÃjsº¯Êý ²ÎÊý1£ºjsº¯ÊýÃû³Æ ²ÎÊý2£ºÏòjsº¯Êý´«µÝµÄ²ÎÊý ExternalInterface.call("hello", "jacky"); //ÔÊÐíjsµ÷ÓÃflashÖеĺ¯Êý ²ÎÊý1£ºÒªµ÷ÓÃflashº¯ÊýµÄjsº¯Êý£¬²ÎÊý2£º±»µ÷ÓÃflashº¯Êý ExternalInterface.addCallback("helloas",hello); import flash.external.ExternalInterface;
function hello(){
return "²âÊԳɹ¦ÁËŶ~~";
}
//ÔÊÐíflashµ÷ÓÃjsº¯Êý ²ÎÊý1£ºjsº¯ÊýÃû³Æ ²ÎÊý2£ºÏòjsº¯Êý´«µÝµÄ²ÎÊý
ExternalInterface.call("hello", "jacky");
//ÔÊÐíjsµ÷ÓÃflashÖеĺ¯Êý ²ÎÊý1£ºÒªµ÷ÓÃflashº¯ÊýµÄjsº¯Êý£¬²ÎÊý2£º±»µ÷ÓÃflashº¯Êý
ExternalInterface.addCallback("helloas",hello);
½ÓÏÂÀ´ÊÇ JSPÒ³Ãæ
°ÑÄãÉú³ÉSWF Îļþ·ÅÈ빤³ÌÏàÓ¦µÄĿ¼Ï °Ñ·¾¶×Ô¼ºµÄ·¾¶¾Í¿ÉÒÔÁË
µ±È»
Java´úÂë
......
Java´úÂë import flash.external.ExternalInterface; function hello(){ return "²âÊԳɹ¦ÁËŶ~~"; } //ÔÊÐíflashµ÷ÓÃjsº¯Êý ²ÎÊý1£ºjsº¯ÊýÃû³Æ ²ÎÊý2£ºÏòjsº¯Êý´«µÝµÄ²ÎÊý ExternalInterface.call("hello", "jacky"); //ÔÊÐíjsµ÷ÓÃflashÖеĺ¯Êý ²ÎÊý1£ºÒªµ÷ÓÃflashº¯ÊýµÄjsº¯Êý£¬²ÎÊý2£º±»µ÷ÓÃflashº¯Êý ExternalInterface.addCallback("helloas",hello); import flash.external.ExternalInterface;
function hello(){
return "²âÊԳɹ¦ÁËŶ~~";
}
//ÔÊÐíflashµ÷ÓÃjsº¯Êý ²ÎÊý1£ºjsº¯ÊýÃû³Æ ²ÎÊý2£ºÏòjsº¯Êý´«µÝµÄ²ÎÊý
ExternalInterface.call("hello", "jacky");
//ÔÊÐíjsµ÷ÓÃflashÖеĺ¯Êý ²ÎÊý1£ºÒªµ÷ÓÃflashº¯ÊýµÄjsº¯Êý£¬²ÎÊý2£º±»µ÷ÓÃflashº¯Êý
ExternalInterface.addCallback("helloas",hello);
½ÓÏÂÀ´ÊÇ JSPÒ³Ãæ
°ÑÄãÉú³ÉSWF Îļþ·ÅÈ빤³ÌÏàÓ¦µÄĿ¼Ï °Ñ·¾¶×Ô¼ºµÄ·¾¶¾Í¿ÉÒÔÁË
µ±È»
Java´úÂë
......
Ç°¼¸Ìì´óÖ·ÖÎöÁËu-bootÕë¶Ôsmdk2410µÄÔ´Â룬Á˽âÁËÆô¶¯µÄÁ÷³Ì£¬µ«ÊǶ԰åÉÏÐí¶àÓ²¼þµÄÇý¶¯¹ý³Ì»¹²»Ì«Çå³þ¡£smdk2410Ô´ÂëÖÐÓÐÕë¶ÔNor FlashµÄ³õʼ»¯ºÍ¶ÁÈ¡£¬µ«Ô´ÂëÖÐûÓжÔNand FlashµÄ²Ù×÷£¬ËäÈ»Õë¶ÔÆäËûÐͺŵİå×ÓÓ¦¸ÃÓÐNandµÄÔ´Â룬µ«·½±ãÆð¼û£¬ÎÒ²éÔÄÁËviviµÄÔ´Â룬ËüÖ§³Ö´ÓNand FlashÆô¶¯£¬×ÔÈ»ÓÐÎÒÐèÒªµÄ¶«Î÷¡£ÏÂÃæÎÒ¾Í×Ô¼ºµÄ·ÖÎöºÍ×ܽáÁгöÀ´£¬Öм䵱ȻҲ´ÓgoogleÉϵõ½²»ÉÙÇ°ÈËÁôϵı¦¹ó×ÊÁÏ:£©¡£
ÎÒÏÈժ¼һ¶Î¶ÔNorºÍNand flashÇø±ðµÄ¼¸Ìõ×ܽ᣺
NOR flash²ÉÓÃλ¶Áд£¬ÒòΪËü¾ßÓÐsramµÄ½Ó¿Ú£¬ÓÐ×ã¹»µÄÒý½ÅÀ´Ñ°Ö·£¬¿ÉÒÔºÜÈÝÒ׵ĴæÈ¡ÆäÄÚ²¿µÄÿһ¸ö×Ö½Ú¡£
NAND flashʹÓø´ÔÓµÄI/O¿ÚÀ´´®ÐеشæÈ¡Êý¾Ý¡£8¸öÒý½ÅÓÃÀ´´«ËÍ¿ØÖÆ¡¢µØÖ·ºÍÊý¾ÝÐÅÏ¢£¨¸´Óã©¡£NANDµÄ¶ÁºÍдµ¥Î»Îª512ByteµÄÒ³£¬²Áдµ¥Î»Îª32Ò³µÄ¿é¡£
¡ñ NORµÄ¶ÁËٶȱÈNANDÉÔ¿ìһЩ¡£
¡ñ NANDµÄдÈëËٶȱÈNOR¿ìºÜ¶à¡£
¡ñ NANDµÄ4ms²Á³ýËÙ¶ÈÔ¶±ÈNORµÄ5s¿ì¡£
¡ñ ´ó¶àÊýдÈë²Ù×÷ÐèÒªÏȽøÐвÁ³ý²Ù×÷¡£
¡ñ NANDµÄ²Á³ýµ¥Ôª¸ü ......
Flash ÓÖ·ÖΪ Nor Flash ºÍNand Flash Á½ÖÖ¡£ ËüÃÇÖ®¼äµÄ²»Í¬ÔÚÓÚ£º Nor Flash Ö§³ÖоƬÄÚÖ´ÐУ¨XIP£¬
eXecute In Place£©£¬ ÕâÑù´úÂë¿ÉÒÔÔÚFlashÉÏÖ±½ÓÖ´Ðжø²»±Ø¿½±´µ½RAMÖÐÈ¥Ö´ÐС£¶øNand
Flash²¢²»Ö§³ÖXIP£¬ ËùÒÔÒªÏëÖ´ÐÐ Nand Flash ÉϵĴúÂ룬±ØÐëÏȽ«Æ俽±´µ½ RAMÖÐÈ¥£¬È»ºóÌøµ½ RAM ÖÐÈ¥Ö´ÐС£ ......
¼ÙÉèÎÒÓÐÒ»¸öswf,Òªµã»÷пª´°¿Ú
ÎÒÏÈÓÃAS3£¬navigateToURL·½·¨Ð¿ª´°¿ÚÔÚIE8ÀïÃæ»á±»À¹½Ø
link_btn.addEventListener(MouseEvent.CLICK,ClickTag);//link_btnΪһ¸öʵÀý£¬¸øËü¼ÓÒ»¸öµã»÷ʼþµÄ¼àÌý
private function ClickTag(e:MouseEvent):void{
navigateToURL(new URLRequest("http://www.sn110.cn/serv/apply.aspx"),"_blank");
}
½â¾öµÄ°ì·¨ÊÇ£¬ÓÃAS2£¬Ê¹ÓÃgetURL·½·¨+htmlÖÐ<param name="wmode" value="transparent"/>
on (release)
{
getURL("http://www.sn110.cn/act/snt/", "_blank");
}
html£º
<object width="700" height="80" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param name="movie" value="http://image.sn110.cn/ad/43_091216_2.swf"/>
<param name="wmode" value="transparent"/>
<param name="menu" value="false"/>
<embed width="700" height="80" wmode="transparent" menu="false" allowscriptaccess="always" allownetworking="all" quality="high" src="http://image.sn110.cn/ad/43_091216_2.swf" type="application/x-shockwave-flash"/>
< ......
Ä¿Ç°À´½²£¬ÎÒÒÀÈ»»¹²»»á×öÒ»¸öСÓÎÏ·³öÀ´¡£×öÓÎÏ·ÐèÒªÖªµÀºÜ¶à¶«Î÷£¬Õâ¸öflash Ö»ÊÇÒ»¸ö×ÔÓé×ÔÀֵĶ«Î÷¡£ÒªÊÇ¿´ÁËÎ󵼾ͱð¹ÖÁË¡£
ºÃ£¬ÖÆ×÷Õâ¸ö¶«Î÷֮ǰ£¬ÆäʵÕâƪÎÄÕÂÓÐһЩÖظ´ÁË£¬²»¹ýÖ»ÊÇÒ»ÖÖdemoʽµÄÑÝʾ¡£Í¨¹ý¼üÅÌÀ´¿ØÖÆ¿ØÖÆÒ»¸öÈËÎï×߶¯¡£
ÉÏÃæÊÇÒ»ÕÅ͸Ã÷µÄpngλͼ¡£ÓÐËĸö²»Í¬µÄ·½Ïò¡£¿ÉÒÔ¿´µ½ »ù±¾ÉÏÉÏÏÂ×óÓÒ¶¼ÆëÈ«ÁË¡£ÏÖÔÚÀ´¡£ÎÒÃǾÍÀ´Ò»ÆðÍæÒ»ÏÂÕâ¸ö¶«Î÷¡£
ÓÉÓÚÕâ¸ö¶«Î÷²»Éæ¼°ºÜÇ¿µÄÃæÏò¶ÔÏó ºÍÖØÓÃÐÔ¡£Òò´Ë¿´ÏÂÃæµÄ´úÂëµÄʱºòÐèҪעÒâһϡ£ÔÚÕâÀïµÄÄ¿µÄ£¬Ö»ÊÇÏ£ÍûÒ»ÆðÍæÒ»ÏÂÕâ¸öflash¡£
ºÃ·Ï»°ÉÙ˵¡£ÓÐÁËÕâÕÅͼ£¬±ÊÕ߾ʹòËãͨ¹ý¸´ÖÆÏñËصķ½Ê½À´½«ÕâÖÖͼƬÇгÉ16·Ý£¬Ã¿Ò»·Ý¶¼´ú±íÁËÒ»ÕŲ»Í¬·½ÏòµÄ²»Í¬²½µÄͼƬ¡£
Ê×ÏÈ£¬ÏÈͨ¹ýÒ»¸öÀ࣬¸´ÖÆÕâÕÅλͼ¡£·µ»ØÒ»¸ö¶þάÊý×é¡£×¢Ò⣬ÀïÃæµÄÀàÊÇ¿ÉÒÔ½øÐÐÐ޸ġ£ÕâÀï·Å³öÒ»¸ö±È½Ï¼òµ¥µÄ¡£Ã»ÓÐÀ©Õ¹µÄ
package com.game
{
/* ÇиîλͼÀ࣬·µ»ØÒ»¸ö¶þάÊý×é*/
// version 1.0 °æ±¾
import flash.display.Sprite;
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.geom.*;
public class BitmapSplice
{
private var Step:Array=new Array();//´æÈ¡²½ÊýÊý× ......
ʵÑé»·¾³Òª¸Ä³ÉLinux 2.6Äںˣ¬µ«ÊµÑéÊÒÀïµÄarm2410s¿ª·¢°å°²×°µÄLinuxÄں˶¼ÊÇ2.4µÄ£¬²»µÃ²»½«ËùÓпª·¢°åÖØÐÂÉÕдÄںˣ¡
ÓÉÓÚÄں˾µÏñºÍ¸ùÎļþϵͳµÄ¸Ä±ä£¬ÐèÒªÐÞ¸Äflash·ÖÇø£¬¼´ÐÞ¸ÄviviÔ´Âësmdk.cÎļþÖеÄmtd_partition_t default_mtd_partitions[]£¬ÖØбàÒëvivi,ÔÙ½«viviÉÕдµ½¿ª·¢°åÉÏ¡£µ«ÊÇÉÕдÍêviviºó£¬ÓÐЩ¿ª·¢°åµÄ·ÖÇø²¢²»ÕýÈ·¡£ÆäÖУ¬viviÊÇÕýÈ·µÄ£¬ÒòΪͬÑùµÄvivi£¬ÔÚһЩ°åÉÏÉճɹ¦£»µ«¶ÔÓÚijЩ°åÉÏÃæÐ޸ĵķÖÇø²¢²»Æð×÷Ó㬲»¹ÜÄã°ÑviviÖØÐÂÉÕÉÏN±é£¬flash·ÖÇø»¹ÊDz»ÕýÈ·¡£ÕâÑù£¬ÎÒÃÇÖ»ÄÜÔÚviviÖÐʹÓÓbon part ”ÃüÁî¶Ôflash½øÐÐÖØзÖÇø£¨bon partÃüÁîµÄʹÓ÷½·¨¼ûÏÂÃ棩¡£ÖØзÖÇøºó£¬¿ÉÒÔͨ¹ý“bon part info”ÃüÁî²é¿´ÐµÄbon·ÖÇøÁÐ±í£¨Ê¹ÓÓpart show”¿´µ½µÄÊÇÔÀ´µÄMTD·ÖÇøÁÐ±í£©¡£flash·ÖÇøÕýÈ·ºó£¬ÔÙÖØÐÂÉÕдvivi¡£ÉÕдÍêviviºó£¬Æô¶¯vivi¡£Õâʱ£¬ÓÓpart show”²é¿´µ½µÄ·ÖÇøÐÅÏ¢¾ÍÊÇÕýÈ·µÄ·ÖÇøÐÅÏ¢ÁË¡£×îºó£¬ÔÙ½«LinuxÄں˾µÏñºÍ¸ùÎļþϵͳÉÕдµ½¿ª·¢°åÉϾÍOKÁË¡£
1¡¢part add ÃüÁîÓÃÓÚÌí¼ÓÒ»¸öMTD ·ÖÇø¡£
ÃüÁîµÄÏêϸ¸ñʽÈçÏ£º
part add name offset size flag
²ÎÊýname ÊÇ ......