Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

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();//´æÈ¡²½ÊýÊý×é
public function BitmapSplice()
{

}
//½øÐÐÇиî
public function Splice(bitmapdata:BitmapData,titleWidth:uint,titleHeight:uint):Array
{
var iWidth:int=bitmapdata.width /titleWidth;
var iHeight:int=bitmapdata.height /titleHeight;
for (var i:uint=0; i < titleHeight; i++)
{
var array:Array=new Array();
for (var j:uint=0; j < titleWidth; j++)
{
var tempBMP:BitmapData=new BitmapData(iWidth,iHeight,true,0x00000000);
tempBMP.copyPixels(bitmapdata,new Rectangle(j * iWidth,i * iHeight,iWidth,iHeight),new Point(0,0));
array.push(tempBMP);
}
this.Step.push(array);
}
bitmapdata.dispose();

return this.Step;
}
}
}
ͨ¹ýÕâ¸öÀ࣬ÎÒÃÇ»ñÈ¡µ½Ò»¸ö¶þάÊý×éÕóÁС£ ÏÂÃæÎÒÃǾÍʹÓÃÒ»¸ö¼üÅÌÀ´¿ØÖÆһϡ£
ΪÁËչʾ£¬Ö»ÊÇ·½±ãÑÝʾһÏ¡£¿ÉÒÔ¶ÔÆä½øÐиü¸Ä¡£ºóÃæµÄ ÓÐʱ¼äÈ¥·Å³öÆäËûµÄ°æ±¾£¬ÒòΪ²»ÊÇÒ»¸öÓÎÏ·£¬Òò´ËÖ»Äܵ±ÊÇÍæһϣ¬Ñ§Ï°ÀïÃæµÄÌî³äλͼµÄ·½·¨ÁË¡£
package
{
import flash.display.MovieClip;
imp


Ïà¹ØÎĵµ£º

flash tools±à¼­¹¤¾ß¼¯


ÒªÕҺõÄflashÎļþ£¬ÒªÓõ½Ò»Ð©¹¤¾ß£¬ÕâÀïΪ´ó¼ÒÊÕ¼¯ÁËһЩºÃÓõŤ¾ß£¬Çë´ó¼ÒЦÄÉ£º
flash·´±àÒëÈí¼þ£¬ÓÃÓÚ´ÓflashÖе¼³öfla¸ñʽµÄÔ´Îļþ£¬µã»÷ÏÂÃæÏÂÔØ£º
swf to fla.exe 1,068KB
Swf2Fla.exe 1,243KB
ת»»¹¤¾ß£ºexe¡¢swf¡¢flaµÄÏ໥ת»»¹¤¾ß
Flash5°æ±¾       а汾
´ÓflashÖ ......

delphiÖÐʹÓÃflash¿Ø¼þµÄ·½·¨

flashÊÇmacromedia¹«Ë¾³öÆ·µÄ£¬ÓÃÔÚ»¥ÁªÍøÉ϶¯Ì¬µÄ¡¢¿É»¥¶¯µÄshockwave¡£ËüµÄÓŵãÊÇÌå»ýС£¬¿É±ßÏÂÔر߲¥·Å£¬ÕâÑù¾Í±ÜÃâÁËÓû§³¤Ê±¼äµÄµÈ´ý¡£
    flash¿ÉÒÔÓÃÆäÉú³É¶¯»­£¬»¹¿ÉÔÚÍøÒ³ÖмÓÈëÉùÒô¡£ÕâÑùÄã¾ÍÄÜÉú³É¶àýÌåµÄͼÐκͽçÃ棬¶øʹÎļþµÄÌå»ýÈ´ºÜС¡£
    flashËäÈ»²»¿ÉÒÔÏóÒ»ÃÅÓïÑÔ ......

Delphi²¥·ÅGifºÍFlash¶¯»­µÄ·½·¨


ÏÔʾһ¸öGIF¶¯»­
procedure ShowGIF( GIFFileName : String );
var TargetFrameName,PostData,Heads,Flags : OleVariant; URL : widestring; begin TargetFrameName := '';{Ö¸¶¨FrameµÄ¿Õ×Ö·û´®Ê±,ÔòÔÚµ±Ç°FrameÖдò¿ª¶¯»­Îļþ} PostData := false;{²»·¢ËÍÊý¾Ý} Heads := '';{HeaderÐÅϢΪ¿Õ} Flags := 0;{FlagsÉèΪ0} ......

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£¿ì£¬ÊÇÄ¿Ç°¶Áд×î¿ìµÄ´æ´¢É豸ÁË£¬µ«ÊÇËüÒ² ......

ÔÚflashÖÐÃüÃûµÄmcʵÀýÔÚflex±à¼­»·¾³Ï·ÃÎÊ

ÔÚflex¿ª·¢»·¾³Öбàдas3´úÂëÊǺܷ½±ãµÄ£¬½èÖúflex¿ª·¢»·¾³´úÂ붼ÓÐ×Ô¶¯Ìáʾ¹¦ÄÜ£¬µ«ÊÇÔÚ×öflashÓÎÏ·µÄʱºò£¬ÔÚÉæ¼°µ½¶Ô»°¿òµÄʱºò£¬ÎÒÓöµ½Ò»¸öºÜ¼¬ÊÖµÄÎÊÌ⣬¾ÍÊÇÔÚÃÀ¹¤ÓÃflash cs²¼¾ÖºÃÁ˵ĽçÃ棬ÎÒÔÚ½çÃæÉÏÃüÃûÁËʵÀý£¨ÈçtextfieldÀàÐÍ var nameText:String£©£¬ÔÚµ¼³öÕâ¸öÀࣨguestDialog£©µÄʱºò(Õâ¸öÀà¼Ì³Ð×ÔMovieClip ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ