A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] AS3 Checksum of Compiled Self

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    6

    resolved [RESOLVED] AS3 Checksum of Compiled Self

    How would I do a checksum of the compiled file of the file for which I write the checksum code in?
    Would this require to ask the client for additional permissions?

    I'm trying to figure out a way to verify that the client is using the correct version of the game client swf file. I would need to do a checksum of the swf file itself where I write the checksum code in.

    I'm not looking to use AIR
    Last edited by xslaught; 07-20-2012 at 06:11 AM.

  2. #2
    Member
    Join Date
    May 2012
    Posts
    51
    You can get the data of the SWF by accessing loaderInfo.bytes. Using that you can calculate a hash.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center