Example #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            if (!File.Exists(".\\stinkogame.swf"))
            {
                AcquireAssets aa = new AcquireAssets();
                aa.ShowDialog();
            }

            string path = Directory.GetCurrentDirectory();

            axShockwaveFlash1.LoadMovie(0, path + "\\stinkogame.swf");
        }
Example #2
0
        private void resetFilesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            axShockwaveFlash1.Stop();
            axShockwaveFlash1 = new AxShockwaveFlash();
            File.Delete(".\\stinkogame.swf");

            AcquireAssets aa = new AcquireAssets();

            aa.ShowDialog();
            string path = Directory.GetCurrentDirectory();

            axShockwaveFlash1.LoadMovie(0, path + "\\stinkogame.swf");
        }