Search code examples
c#winformsflash

How can i stretch swf video to fit the player in C#?


I have made a program to play some swf file... Now my current code is:

        //Make program fullscreen, etc
        axShockwaveFlash1.Dock = DockStyle.Fill;
        InitFlashMovie(axShockwaveFlash1,Properties.Resources.SWF);

Now till that we are good but the problem is i get 2 black bars on the right and left... How can i make my SWF fullscreen and get rid of these black bars? I need a better way to resize axShockwaveFlash1


Solution

  • Fixed by dynamically generating the control at runtime