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 µÄ²»½öÓÐ HTML 5£¬»¹ÓÐ JavaScript£¬ÖøÃûµÄ JavaScript ¿ò¼Ü jQuery
ÔÚÔ˶¯ÌØЧ·½ÃæÒѾԽÀ´Ô½Á÷³©£¬ÓÐʱºòÄãÐèÒªµãÒ»ÏÂÓÒ¼üÀ´È·ÈÏËü²»ÊÇ Flash¡£±¾ÎĽéÉÜÁË10¸ö·Ç³£³öÉ«µÄ jQuery
Ô˶¯ÌØЧ£¬ÕâЩЧ¹û¿ÉÒÔ¸üÓÐЧµØչʾÄãµÄÄÚÈÝ¡£
1. Á÷¸Ðµ¼º½²Ëµ¥
ÏÂÃæµÄµ¼º½²Ëµ¥£¬µ±Êó±êÔÚÉÏÃæÒƶ¯µÄʱºò£¬»áºÜÁ÷³©µØ´¹Ï ......
½ñÌì»»¸ö¿Ú棬ÖÆ×÷Ò»ÏÂÉÏ´«Í¼Æ¬£¬¹¦ÄܸöÈËÏ£Íû¾¡Á¿¼òµ¥»¯£¬·½±ãÀí½â£ºFlash cs4 ¶ÔFileReference ÀàÔö¼Ó¼¸ÏîÄÚÈÝ
Èçdata ÊôÐÔÄܹ»»ñÈ¡µ½Ò»¸ödata : ByteArray Õâ¸öÖµ£¬
Save ºÍLoad µÄ·½·¨ÊµÏÖÉÏ´«ºÍ±£´æͼƬ¡£
ÓÐÁËÕâÁ½¸ö¹¦Äܺó£¬ÎÒÃÇ¿ÉÒÔʵÏÖÉÏ´«Í¼Æ¬µÄÄ¿µÄÁË£¬ÅäºÏLoader ¼ÓÔØByteArray ÕâÑù¾ÍÄÜʵÏÖͼƬ½áº ......
UbuntuËäÈ»°²×°ÁËadobe flash player£¬µ«ÊÇÖÐÎÄ×ÖÌåÈ´ÏÔʾ³ÉÁËÒ»¸ö¸öµÄС·½¿é£¬¿´ÉÏÈ¥ºÜ²»Ë¬¡£
½â¾ö·½·¨ÆäʵºÜ¼òµ¥¡£
1. ´ò¿ªÖÕ¶Ë
2. ÊäÈë
sudo gedit '/etc/fonts/conf.d/49-sansserif.conf'
3.
¿´µ½ÒÔÏ´úÂë
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
......
Éú»îµ±ÖкܶàÉÈÐΣ¬ÕâЩÉÈÐοÉÒÔ°ïÖúÎÒÃÇÖÆÔìºÜ¶àÓ¦Óá£Èç֮ǰµ±ÖеÄÌ«¼«µÄ×ö·¨£¬µÚ¶þµÄ·½Ã棬¸öÈË·¢ÏÖÉÈÐοÉÒÔÖÆ×÷һЩ¶¯»¡£ÊµÏÖÒ»¸öÌî³äÑÕÉ«µÄÓ¦Óá£×ö·¨ºÜ¼òµ¥¡£
ÎÒÃÇÏÈ´´½¨Ò»¸öÉÈÐΡ£Ê¹ÓÃAPI»æÖÆÉÈÐΡ£
²éѯ¹ýÏà¹Ø×ÊÁÏ£¬·¢ÏÖÍøÉÏÓм¸Öֵķ½Ê½ ʵÏÖ»æÖÆÉÈÐΣ¬¶øÏÂÃæÕâÖÖÊÇͨ¹ýÃèµãµÄ·½Ê½»æÖÆ¡£¿´¿´ÀïÃæµ ......
1.ÏÂÔØÔ°æswf Áбí°æ,ʹÓÃdecomplierת»»³Éfla.
2.flash´ò¿ª.µ¯³ö×Ö·ûÐ޸ĶԻ°¿ò,Ëæ±ãµãÒ»ÏÂ,½øÈë.
3.ÔÚÖ÷³¡¾°ÉÏ,ÕÒµ½µÚÒ»²ã,µÚÒ»Õê,ÉÏÃæÓÐÒ»¸öa×ÖÑùµÄÄÇÕê,µã»÷³ö¶¯×÷±à¼´°¿Ú,ɾ³ýÀïÃæµÄÄÚÈÝ,Ôö¼Ó#include "as.as".
4.ÔÚ¿âÖÐÕÒµ½sprite18,ÕÒµ½Mask Layer 3¾ÍÊÇÒ»¸öÕÚÕÖ²ã, ÔÚ³¡¾°ÖÐÑ¡ÖÐÕâ²ãµÄÔª¼þ,Ò²¾ÍÊÇ ......