|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
Announcements
Chapters
Services
Feature Zones
|
IntroductionIn FlashPlayer, there is always this BackgroundI started making a FlashGame which has multiple clients and is always up-to-date with all other clients. This is very difficulty to manage with WebRequests and Intervals, so I decided to make my FlashGame in my C# application. The only problem was that I have a new application but with the old Using the CodeJust download the project and see how it works (if it works since it's my first article). For all those who only want to know how the code looks like, here is the core (a small core, very small core): public class IForcePlayer : AxShockwaveFlash
{
const int WM_RBUTTONDOWN = 0x0204;
protected override void WndProc(ref Message m)
{
if (m.Msg == WM_RBUTTONDOWN)
{
m.Result = IntPtr.Zero;
return;
}
base.WndProc(ref m);
}
}
History
|
||||||||||||||||||||||