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

C#ÓëFlash½»»¥

C#ÓëFlash½»»¥ £¨×ª×ÔСÀÚÔÚÏߣ©
C#ÓëFlash½»»¥
Ç°¶ÎÈÕ×Ó¹«Ë¾ÒªÇó×öÒ»¸öC#ÓëFlash½»»¥µÄ¶«Î÷£¬ÓÃÀ´C#Óë¶ÌÐÅèͨѶ½«Êý¾Ý´«µ½FlashÉÏÏÔʾÓë²Ù×÷µÄÓ¦Óá£
µÚÒ»²½C#Ìí¼Ó×é¼þ
´ò¿ªVS2005-¹¤¾ß-Ñ¡Ôñ¹¤¾ßÏäÏî-COM×é¼þ-Ñ¡ÔñShockwave Flash Object-È·¶¨
Ìí¼ÓºÃ×é¼þÍù³¡¾°ÉÏÍÏ·Å£¬Èç¹ûÌáʾע²áÐèÇó×¢²á
c# ×¢²á¿Ø¼þ-ÔÚÔËÐÐÊäÈë-»Ø³µ£¨flash9f.ocxÕâ¸öÎļþÒÔϵͳÖÐʵ¼ÊÎļþΪ׼¡££©
regsvr32 c:\windows\system32\macromed\flash\flash9f.ocx
»òÕßregsvr32 c:\windows\system32\macromed\flash\flash10a.ocx
µÚ¶þ²½½«Flash×é¼þÍÏÈ볡¾°
½«Flash×é¼þÍÏÈ볡¾°£¬ÉèÖüÓÔصÄswf·¾¶¡£ÉèÖÃ×é¼þid¡£
×é¼þµÄMovieÊôÐÔ£ºÖ¸¶¨Òª²¥·ÅµÄswfµÄ·¾¶£¬
      Èç¹ûswfÔÚ±¾µØÓ²ÅÌ£¬ÔòÐèҪд³É ´ÓÅÌ·û¿ªÊ¼µÄ¾ø¶Ô·¾¶
      Èç¹ûswfÔÚijÍøÕ¾ÉÏ£¬ÔòÐèҪд³É ÍêÈ«µÄurlÍøÖ·
¸ü¶à¸Ã×é¼þÊôÐÔ/·½·¨
µÚÈý²½AS´úÂëƬ¶Î
¸Õ¿ªÊ¼ÓÃFSCommandÓëÍøÒ³VBSCRIPT×öÁËÒ»¸öͨѶ£¬ÒÔΪÕâÑù¾ÍÄÜÓëC#ͨѶÁË£¬½á¹û´íÎóÁË¡£
»¹µÃÓÃExternalInterface.addCallback£¬ExternalInterface.callµÄ·½·¨À´ÓëC#ͨѶ¡£
³ÌÐò´úÂë
import flash.external.*;
//ÏòC#·¢ËÍÊý¾Ý
ExternalInterface.call ("test", "str", Math.random ());
//½ÓÊÜC#·¢À´µÄÊý¾Ý
ExternalInterface.addCallback ("c2flash", null, c2flash);
function c2flash (s:String)
{
    out_txt.text = s;
}
µÚËIJ½C#´úÂëƬ¶Î
³ÌÐò´úÂë
private void Form1_Load(object sender, EventArgs e)
{
    flash.Movie = "E:/c2flash.swf";
    flash.FlashCall += new AxShockwaveFlashObjects._IShockwaveFlashEvents_FlashCallEventHandler(flash_FlashCall);
}
void flash_FlashCall(object sender, AxShockwaveFlashObjects._IShockwaveFlashEvents_FlashCallEvent e)
{
    string s = nodeXml(e.request.ToString())[0].ChildNodes[0].InnerText.ToString();
    //½ÓÊÜFlash´«À´µÄÖµ
    this.textBox1.Text = s;
    throw new Exception("The method or operation is not implemented.");    
}
private void button1_Click(object sender, EventArgs e)
{
   &


Ïà¹ØÎĵµ£º

Ó¦ÓóÌÐòÉÏÆÁ±ÎFLASH¿Ø¼þµÄÓÒ¼ü²Ëµ¥²¢»ñµÃ×ó¼üÏûÏ¢

ʹÓÃFLASH×ö½çÃæÃÀ»¯ÊÇÒ»ÖÖ½ÏΪ³£¼ûµÄ·½Ê½£¬FLASH¶¯»­ÖÆ×ö¼òµ¥£¬ÃÀ¹Û´ó·½£¬¶øÇÒ½«FLASHǶÈëµ½Ó¦ÓóÌÐò½çÃæÉÏÒ²ÊǷdz£ÈÝÒ׵ģ¬Ö»
Òª·ÅÖÃÒ»¸öShockwave
Flash¿Ø¼þ¼´¿É¡£µ«ÕâÑù×ö³öÀ´µÄ½çÃæÓÐÁ½¸öÎÊÌ⣬һÊÇÔÚFLASHÉϵã»÷ÓÒ¼ü»áÓÐFLASHµÄ²Ëµ¥£¬¶þÊÇÔÚFLASHÉϵã»÷µÄÊó±êÏûÏ¢´ÓÓ¦ÓóÌÐòÀïÊÇ
»ñÈ¡²»µ½µÄ£¬FLASH¿Ø¼þ²¢²»»áÏòÓÃÓ ......

ASP.NET(C#)ʵÏÖÒ»´ÎÐÔÉÏ´«¶àÕÅͼƬ£¨¶à¸öÎļþ£©

ÔÚ×öasp.netµÄWeb¿ª·¢µÄʱºò£¬ÎÒÃǾ­³£»áÓöµ½Ò»´ÎÐÔÉÏ´«¶à¸öÎļþµÄÐèÇó¡£Í¨³£ÎÒÃǵĽâ¾ö·½·¨Êǹ̶¨·Å¶à¸öÉÏ´«Îļþ¿ò£¬ÕâÑùµÄ½â¾ö°ì·¨ÏÔÈ»ÊDz»ºÏÀíµÄ£¬ÒòΪһ´ÎÉÏ´«¶à¸ö£¬¾ÍÒâζ×ÅÊýÁ¿²»È·¶¨¡£Òò´ËÎÒÃǾÍÒªÈÃÕâЩÎļþÉÏ´«¿ò¶¯Ì¬Ìí¼Ó£¬ÏÂÃæÎÒÒÔÎÒ×öµÄÒ»¸öͼ¿â¹ÜÀíÖеÄÉÏ´«Í¼Æ¬µÄ¹¦ÄÜΪÀý
ÏÈ¿´Ð§¹û£º
´ò¿ªµÄ³õʼ½çÃ棺
ĬÈÏ ......

flashλͼ¼¼ÊõÑо¿Æª(7)£ºÏñËØÁ£×Ó

  ÔÚwonderfl ÍøÕ¾µ±ÖУ¬ÓкܶഴÒâµÄflash ³ÌÐò£¬³ÊÏÖµÄÊÓ½ÇЧ¹ûÄܹ»¸øÓèºÜ¸ßµÄÆô·¢ÐÔ¡£½ñÌ죬ÓÖÒª¼ÌÐøѧϰflash ¼¼Êõ£¬°ÑÔÚÄÄÀï¿´µ½µÄ¶«Î÷¼Ç¼һÏ£¬ÕâÖÖλͼӦÓÿÉÒԱ仯³öºÜ¶àÉñÆæµÄЧ¹û¡£Ò»¸öÏñËØ¿ÉÒÔµ±×÷Ò»¸ö΢СµÄÁ£×Ó´¦Àí£¬ÎÒÃÇ¿ÉÒÔ²ÉÓÃÉèÖÃÏñËصãλÖõķ½Ê½£¬¶Ô¿Õ°×µÄλͼÊý¾Ý½øÐÐÉèÖõ㣬ÕâЩµã»á·Ö²¼ÔÚλͼ ......

FlashÓëÊýѧ£ºÉÈÐÎ

  Éú»îµ±ÖкܶàÉÈÐΣ¬ÕâЩÉÈÐοÉÒÔ°ïÖúÎÒÃÇÖÆÔìºÜ¶àÓ¦Óá£Èç֮ǰµ±ÖеÄÌ«¼«µÄ×ö·¨£¬µÚ¶þµÄ·½Ã棬¸öÈË·¢ÏÖÉÈÐοÉÒÔÖÆ×÷һЩ¶¯»­¡£ÊµÏÖÒ»¸öÌî³äÑÕÉ«µÄÓ¦Óá£×ö·¨ºÜ¼òµ¥¡£
 ÎÒÃÇÏÈ´´½¨Ò»¸öÉÈÐΡ£Ê¹ÓÃAPI»æÖÆÉÈÐΡ£
²éѯ¹ýÏà¹Ø×ÊÁÏ£¬·¢ÏÖÍøÉÏÓм¸Öֵķ½Ê½ ʵÏÖ»æÖÆÉÈÐΣ¬¶øÏÂÃæÕâÖÖÊÇͨ¹ýÃèµãµÄ·½Ê½»æÖÆ¡£¿´¿´ÀïÃæµ ......

Êý¾Ý½»»»Ñ§Ï°¶þ£ºasp.net C# ¶Ô sqlserver±íµÄ²Ù×÷

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Data.SqlClient; ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ