Skip to main content
Participant
August 3, 2017
Question

LoadMovie on Layers other than 0 crashes in C# application

  • August 3, 2017
  • 1 reply
  • 515 views

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.

This topic has been closed for replies.

1 reply

jeromiec83223024
Inspiring
August 3, 2017

This is not a use-case that we explicitly test or support.  We know that Flash Player does occasionally get embedded in desktop applications, and we try not to break things unnecessarily.  For the record, our supported and recommended path for creating Flash-based desktop applications is Adobe AIR.

I'd recommend that you file a bug at http://tracker.adobe.com/, and include sufficient detail to allow us to reproduce it under a debugger.  I'd highly encourage you to include an example executable that demonstrates the problem.  If we have to have someone set up a C#/.net development environment just to reproduce the bug, vs. just inspecting the crash under a debugger with symbols, it will linger in the queue behind bugs on supported configurations.

For completeness, please see the following guide on how to report a crash:

https://helpx.adobe.com/flash-player/kb/report-flash-player-crash.html

If you reply here with the bug number, I'll get an email notification and will surface it for further evaluation.

Thanks!

Participant
August 4, 2017

Thank you for your response. I have filed a bug report (FP-4198533) and also uploaded a sample test application where the problem can be reproducted.

Participant
August 4, 2017

reproduced*