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.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AlanPosted Jul 19, 2007, 6:36 AM
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
SeanPosted Jul 19, 2007, 6:32 AM
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));
}
alonePosted Jul 19, 2007, 4:13 AM