Skip to main content
October 2, 2014
Question

ActiveX flash player and SWF files on a network

  • October 2, 2014
  • 1 reply
  • 827 views

We are embedding the ActiveX version of flash into our application and opening.swf files off a network location.  After the Flash 13.0.0.241 and 14.0.0.176 updates these files no longer load. The flash player happily takes the open command, but the percent loaded and frame never change from 0 and -1. It appears that the 13.0.0.241 update fixed several vulnerabilities, but the details of such are hidden.

Is there anything we can do to continue to load files off a network location? Is there a flag we can change/enable? Is this a regression or defect on Adobe's side or expected behavior?

Thanks!

Dave

    This topic has been closed for replies.

    1 reply

    pwillener
    Legend
    October 5, 2014

    How about Flash Player 15?

    October 8, 2014

    Flash 15 has the same behavior, all versions as far as I know.

    jeromiec83223024
    Inspiring
    October 8, 2014

    We've recently made a number of security-related changes to how UNC paths are handled in Flash Player, and in addition, have restricted some network requests from being made for locally-executed SWFs running with local-with-filesystem permissions.  These changes were necessary, as we found ourselves on the wrong side of a confluence of both old and emerging standards and conventions, and a very forgiving approaches to incorrectly constructed URLs in most major browsers.

    Where we could, we added good debugging messages, so installing a an ActionScript debugger version of Flash and running the application might provide you with some useful clues; however, as complexity increases, I'm not convinced that using Flash Player to execute SWFs locally in the browser is going to be smooth sailing, and I anticipate that we'll see additional churn as we evaluate and align with the expectations of the modern web in this regard.

    The good news is that we have Adobe AIR, which is designed to make it really easy to port your Flash Content, and it's specifically designed to build desktop applications, free from the complexity of browser plug-ins.  As a least-cost, long-term strategy, I'd strongly encourage you to evaluate porting your SWF over to AIR.  It may be as easy as just changing the publishing target in a current version of Flash Professional and distributing your application as an AIR payload instead.

    Alternatively, you could stand up a local webserver and host both the content and the SWF.  The really hairy edge-cases stem from the fact that we're trying to support HTTP and UNC paths simultaneously.  If you're using HTTP, things are much, much more straightforward.

    If you can narrow it down to the failing ActionScript call, I might be able to give you a more specific suggestion for a workaround.