WinFormÖв¶×½Flash°´Å¥¡¢²Ëµ¥µÈ¶¯×÷ʼþ
ÓÉÓÚÎÒµÄÄǸö¡¶Çóflash¿Ø¼þµÄÊôÐÔ¼°Ê¼þ·½·¨ÔÚC#ÖС·Ìû×ÓÓÉÓÚÎÒ×Ô¼ºµÄ»Ø¸´³¬¹ý3´Î£¬ÎÞ·¨¸¡³öË®ÃæÁË¡£
½ñÌì¾¹ýϸÐĵĹ۲ìÍøÂçµÄÀý×Ó,Ã÷°×ÁËһЩflashºÍC#µÄ½»»¥¡£°Ñ¾Ñé·ÖÏí¡£
Àý×Ó£º
private void axShockwaveFlash1_FSCommand(object sender, AxShockwaveFlashObjects._IShockwaveFlashEvents_FSCommandEvent e)
{
if(e.command == "Send Action")
{
MessageBox.Show("µ÷ÓÃFLASH°´Å¥Ê¼þ³É¹¦ "+e.args) ;
}
if(e.command == "Send Action1")
{
MessageBox.Show("µ÷ÓÃFLASH×Ô¶¨Ò尴ťʼþ³É¹¦ "+e.args) ;
}
}
private void button1_Click(object sender, System.EventArgs e)
{
string flashData = "Ò»¶þÈýËÄÎåÁùÆß";
axShockwaveFlash1.SetVariable("txt",flashData);
}
private void Form1_Load(object sender, System.EventArgs e)
{
axShockwaveFlash1.Movie=Application.StartupPath+"\\flash\\menu.swf";
}
private void button2_Click(object sender, System.EventArgs e)
{
string flashData1 = "È÷È÷ɨ°¢ÈøÈø°¢Ë¾";
axShockwaveFlash1.SetVariable("abc",flashData1);
}
flash´úÂ룺
var mo:Object=new Object();
mo.watch("txt");
mo.watch("abc");
bte.onRelease = function() {
fscommand("Send Action1", "www.an86.net");
};
Ïà¹ØÎĵµ£º
½ñÌì»»¸ö¿Ú棬ÖÆ×÷Ò»ÏÂÉÏ´«Í¼Æ¬£¬¹¦ÄܸöÈËÏ£Íû¾¡Á¿¼òµ¥»¯£¬·½±ãÀí½â£ºFlash cs4 ¶ÔFileReference ÀàÔö¼Ó¼¸ÏîÄÚÈÝ
Èçdata ÊôÐÔÄܹ»»ñÈ¡µ½Ò»¸ödata : ByteArray Õâ¸öÖµ£¬
Save ºÍLoad µÄ·½·¨ÊµÏÖÉÏ´«ºÍ±£´æͼƬ¡£
ÓÐÁËÕâÁ½¸ö¹¦Äܺó£¬ÎÒÃÇ¿ÉÒÔʵÏÖÉÏ´«Í¼Æ¬µÄÄ¿µÄÁË£¬ÅäºÏLoader ¼ÓÔØByteArray ÕâÑù¾ÍÄÜʵÏÖͼƬ½áº ......
¡¢ÔÚFlash¼ÓÈ룺<param name="wmode" value="opaque">
2¡¢ÔÚDIVÀï¼ÓÈ룺position:absolute;z-index:10;£¨Êý×ÖÔ½´óÔ½´¦ÓÚÉϲ㣩
FLASH͸Ã÷±³¾°
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 ......
ʹÓÃFLASH×ö½çÃæÃÀ»¯ÊÇÒ»ÖÖ½ÏΪ³£¼ûµÄ·½Ê½£¬FLASH¶¯»ÖÆ×ö¼òµ¥£¬ÃÀ¹Û´ó·½£¬¶øÇÒ½«FLASHǶÈëµ½Ó¦ÓóÌÐò½çÃæÉÏÒ²ÊǷdz£ÈÝÒ׵ģ¬Ö»
Òª·ÅÖÃÒ»¸öShockwave
Flash¿Ø¼þ¼´¿É¡£µ«ÕâÑù×ö³öÀ´µÄ½çÃæÓÐÁ½¸öÎÊÌ⣬һÊÇÔÚFLASHÉϵã»÷ÓÒ¼ü»áÓÐFLASHµÄ²Ëµ¥£¬¶þÊÇÔÚFLASHÉϵã»÷µÄÊó±êÏûÏ¢´ÓÓ¦ÓóÌÐòÀïÊÇ
»ñÈ¡²»µ½µÄ£¬FLASH¿Ø¼þ²¢²»»áÏòÓÃÓ ......
´óÔ¼3ÄêÇ°£¬Î¢ÈíÍƳö Silverlight 1.0£¬ÄÇʱ£¬Adobe Я Flash Óµ±ø×ÔÖØ£¬¾¡¹Ü΢Èí¶Ô Silverlight
µÄÍƹãÁ¦¶È·Ç³£Ç¿£¬È´²¢Ã»Óк³¶¯ Adobe µÄ°ÔÖ÷µØ룬»òÐíÊг¡Îª¶þÕ߶¼±£ÁôÁ˿ռ䣬Èç½ñ HTML5
·çÉùº×ণ¬informationweek.com ÕÙ¼¯Î¢ÈíºÍ Adobe ¾Í Flash£¬Silverlight ºÍ HTML5 ×öÁËÒ»·¬±çÂÛ¡£
ÒÔÏÂÊDZçÂÛÈüµÄ¼Òô£¬ÏÖ³ ......
¡¾¼ò½é¡¿ÈçºÎ±àдlinuxÏÂnand flashÇý¶¯-1
version: 1.0
date:20090721
Author£ºcrifan
Mail:green-waste(At)163.com
¡¾±àдÇý¶¯Ö®Ç°ÒªÁ˽âµÄ֪ʶ¡¿
1. Ó²¼þÌØÐÔ£º
¡¾FlashµÄÓ²¼þʵÏÖ»úÖÆ¡¿
FlashÈ«Ãû½Ð×öFlash Memory£¬ÊôÓÚ·ÇÒ×ʧÐÔ´æ´¢É豸(Non-volatile Memory Devi ......