LoadMovie on Layers other than 0 crashes in C# application
We have a C# application that uses Flash control. We play multiple movies in different layers. When movies are loaded in layers other than 0, the application crashes with an access violation. Here is a sample code:
int iLayer = Int32.Parse(tbLayer.Text);
axShockwaveFlash1.LoadMovie(iLayer, tbName.Text);
axShockwaveFlash1.Play();
I the above code if the value of iLayer is set to 0, it works but any other value would give the following on the LoadMovie function:

OS: Windows 7
.net Framework: 4.5.2
Flash version : 25.0.0.171
The last successful version was 22.0.0.192. All version after that crashes the application.