hi all,
i need a tutorial or a sample project that tells embeding a .swf file into a form and controlling its actionscript code.
thanks.
Embed and control Shockwave flash
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

alone7 reputationPosted Jul 19, 2007, 12:13 AM EDT
Sean6 reputationPosted Jul 19, 2007, 2:32 AM EDT
private void loadZoomify(string imgFolderExt)
{
this.axShockwaveFlash1.Width = 900;
this.axShockwaveFlash1.Height = 550;
string currDir = System.IO.Directory.GetCurrentDirectory();
string Dir = currDir + \\flashsource\\;
string FlashVars = "Path=" + Dir + FolderExt + "\\";
FlashVars +="&NavWindow=1&Speed=10";
this.panel1.BackColor = Color.White;
this.axShockwaveFlash1.Name = "theMovie";
this.axShockwaveFlash1.LoadMovie(0, (currDir + "\\Viewer.swf?" + FlashVars));
}
AlanRank #669 · 3.6K reputationPosted Jul 19, 2007, 2:36 AM EDT
These two Code Project articles, which make use of the open source SwfDotNet library, may also help you to get started with this:
http://www.codeproject.com/cs/media/swfdotnet-decompiler.asp
http://www.codeproject.com/cs/media/jpeg2swf.asp