C#ÀûÓÃFluorinefxʵÏÖʹÓÃAMF3ÐÒéÓëFlashͨѶ
ͨ³££¬Ê¹ÓÃFlashÀ´µ÷ÓÃ.NET×é¼þÐèÓÃÔ¶³Ìµ÷Óã¬Êµ¼ÊÉÏÎÒÃÇÒ²¿ÉÒÔͨ¹ýSOCKETÖ±½ÓͨÐÅ¡£
¾ßÌå²ÉÓÃFlashµÄAMF3»òAFM0¸ñʽ£¬²ÉÓÃÁ÷ÐеÄFluorineFx·þÎñÆ÷×é¼þ£¬¾ßÌå´úÂëÈçÏ£º
ÒÀÕÕ´ËÓ÷¨¿ÉÒÔ¿ª·¢ÍøÒ³ÓÎÏ·»òÆäËüFlashÓ¦ÓõÄ.NET SOCKET·þÎñÆ÷¡£
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Threading;
using System.Net.Sockets;
using System.Net;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
using FluorineFx;
namespace STCServer
{
class Monitor
{
private int PORT = 8888;
private const int MAXPKSIZE = 4096;
private TcpListener tcpLs = null;
private List<Client> clients = new List<Client>();
public void Close()
{
if (tcpLs != null)
{
tcpLs.Stop();
}
if (clients.Count != 0)
{
foreach (Client c in clients)
{
c.sock.Shutdown(SocketShutdown.B
Ïà¹ØÎĵµ£º
C#ÓëFlash½»»¥ £¨×ª×ÔСÀÚÔÚÏߣ©
C#ÓëFlash½»»¥
Ç°¶ÎÈÕ×Ó¹«Ë¾ÒªÇó×öÒ»¸öC#ÓëFlash½»»¥µÄ¶«Î÷£¬ÓÃÀ´C#Óë¶ÌÐÅèͨѶ½«Êý¾Ý´«µ½FlashÉÏÏÔʾÓë²Ù×÷µÄÓ¦Óá£
µÚÒ»²½C#Ìí¼Ó×é¼þ
´ò¿ªVS2005-¹¤¾ß-Ñ¡Ôñ¹¤¾ßÏäÏî-COM×é¼þ-Ñ¡ÔñShockwave Flash Object-È·¶¨
Ìí¼ÓºÃ×é¼þÍù³¡¾°ÉÏÍÏ·Å£¬Èç¹ûÌáʾע²áÐèÇó×¢²á
c# ×¢²á¿Ø¼þ-ÔÚÔËÐÐÊä ......
½ñÍí³éÁ˵ãʱ¼ä£¬Ê¹ÓÃÁËFlash cs5ÖÆ×÷Õâ¸öµ÷½Ú¹¤¾ß£¬ÒÔ±ãÊìϤһÏÂflash cs5µÄ¸Ð¾õ¡£
ΪÁËÔö¼ÓÀÖȤ£¬ÎÒÃǼÌÐø¶ÔÕâÖÖЧ¹û¼ÓÒÔʹÓÃ×é¼þÀ´½øÐе÷½Ú£¬ÕâÑù»áʹ³ÌÐò±äµÃ¸ü¼Ó¿á¡£Õâ¸öͼ¾ÍÊÇÒ»¸öÉè¼Æͼ¡£
¶ÔÆäÔö¼ÓCombox×é¼þ£¬ºÍÑÕÉ«×é¼þ£¬ÒÔ¼°Slider×é¼þ£¬½øÐе÷½Ú¡ ......
Õâ´Î»î¶¯Óöµ½²»ÉÙ¸ãflashµÄÅóÓÑ£¬ºÍËûÃdz©ËùÓûÑÔ£¬°Ñ×Ô¼ºµÄ¸ÐÏ붼ÄóöÀ´½»Á÷ÁËһϣ¬µ±È»ÉÙ²»ÁËÔÚÒ»Æ𓸯°Ü”À²¡£
ÔÚÂí¼ø(7yue,Adobe¹Ù·½´ú±í)µÄ¡¶Flash Player 10¡·Ñݽ²ÄÚÈÝÖУ¬»ñÈ¡Á˲»ÉÙµÄÓÐÓÃÐÅÏ¢£¬Ò²¸Ðµ½AdobeһЩ²»Ì«ºñµÀµÄ×ö·¨¡£
1.FlashµÄP2P¼¼Êõ(RTMFP)£¬Ä¿Ç° ......
¶ÔflashÕæµÄÊÇäÈËÒ»¸ö£¬²»ÖªµÀÔõôµÄȥŪ£¬ÃÀÊõ¹¦µ×ÓÖ²»ÐУ¬ÄÑ¡£Ã¦Á˼¸Ì죬¾õµÃÓеã»ù´¡»¹ÊǺÜÓÐÓõģº
1.¶ÔÓÚas²»ÊǺܾ«Í¨µÄ£¬ÓÃ2.0½Å±¾¾ÍºÃÁË£¬¸öÈ˾õµÃ±È3.0ºÃÓã¬Óï·¨²»ÄÇôÑϽ÷£¬±È½ÏËæ±ã¡£
2.È«ÆÁFscommand ("Fullscreen","True"); ÔÚµÚÒ»Ö¡Àï¾Í²åÈëÕâÒ»ÌõÓï¾ä£¬¿ÉÒÔ²»ÓÃÔÚСµÄÆÁĻϿ´µ¼³öµÄӰƬ£¬´ÓÊÓ¾õµ ......