Get Flash Variables

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Well I want to have a program that people input a URL or a location of a .swf file and then it loads it into an axShockwaveFlash1 and after they hit a button and it scans the axShockwaveFlash1 for variables and then it creates a text file full of the variables of the axShockwaveFlash1 movie.

I currently have this:

<font size=2>
saveFileDialog1.InitialDirectory = </font><font color="#2b91af" size=2><font color="#2b91af" size=2>Application</font></font><font size=2>.StartupPath;
saveFileDialog1.ShowDialog();
System.IO.</font><font color="#2b91af" size=2><font color="#2b91af" size=2>StreamWriter</font></font><font size=2> newtextfile = </font><font color="#0000ff" size=2><font color="#0000ff" size=2>new</font></font><font size=2> System.IO.</font><font color="#2b91af" size=2><font color="#2b91af" size=2>StreamWriter</font></font><font size=2>(saveFileDialog1.FileName);
newtextfile.Write(</font><font color="#0000ff" size=2><font color="#0000ff" size=2>this</font></font><font size=2>.axShockwaveFlash1.FlashVars);
newtextfile.Close(); </font>but it doesnt work it just creates a blank text file. Please help. 

View the full article
 
Back
Top