Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
jrg716

MD5 checksum

Recommended Posts

Hi,

 

Just wondering if any thought had been given to adding a MD5 checksum capability to LoaderMax. In other words, pass a md5 checksum as a parameter and if the loaded content doesn't match, the load would fail.

 

If not, any thoughts on where to add code into the source (DisplayObjectLoader or LoaderCore perhaps). The trick is that once the loaded object is converted to its content form (ex. SWFLoader.rawContent) it is too late to calculate the MD5.

 

Thanks!

Link to comment
Share on other sites

The simple answer is no :) Frankly, you're the first to ever request MD5 checksum capability and I've never personally had the need for it, but feel free to take a crack at adding it if it's something important to your project. As far as where it would need to go, I assume you may need to use a DataLoader for all your loads if you need to get the raw data before Flash makes sense of it (as an image or swf or whatever). Let us know if you piece together a solid solution. We'd love to see it.

Link to comment
Share on other sites

Thanks... In my case, I'm developing a plugin system and would like to validate the integrity of the plugin against what I expect it to be.

 

I'll certainly let you know if I implement something with LoaderMax.

Link to comment
Share on other sites

  • 4 months later...

I guess I'm the second one who was looking for this feature  :mrgreen:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×