Load Flash Movies from Memory Without Temporary Files

Traditionally, Flash Player ActiveX could only load movies from specific URLs. To use a movie embedded in an application, developers often had to save the movie from a resource to a temporary file, generate a corresponding link, pass it to the Flash Player ActiveX, and delete the file afterward. This approach is inconvenient and potentially insecure, as creating temporary files may fail due to permission issues, and movies can be intercepted.

F-IN-BOX provides a better solution by loading Flash movies directly into Flash Player ActiveX from memory, bypassing temporary files entirely. This not only improves security but also simplifies deployment. You can use your preferred software protection tools to safeguard your movies.

With F-IN-BOX, you can load any Flash movie from memory using the LoadMovieFromStream or PutMovieFromStream methods. This allows you to embed one or more Flash movies in your application's resources and load them directly from the executable.


C# Example

private f_in_box__lib.f_in_box__control f_in_box__control1;
 
f_in_box__control1.PutMovieFromStream(
    this.GetType().Assembly.
    GetManifestResourceStream("Sample1_SWF_And_FLV_Player.Embedded_Movies.movie.swf")
);

VB.NET Example

Friend WithEvents f_in_box__control1 As f_in_box__lib.f_in_box__control
 
f_in_box__control1.PutMovieFromStream( _
    Me.GetType().Assembly. _
    GetManifestResourceStream("Sample1_SWF_And_FLV_Player.movie.swf"))

This technique offers improved portability, security, and simplicity for Flash movie playback within your applications.