You would add it to your project or references.
Type: Posts; User: router
You would add it to your project or references.
Yes, I used zLib.Net
It'll return an integer.
3 = AS3
2 = AS2/1
0 = Error
Yes, it would
It's not an interop dll. You just add it to your references, and then you can reference it in your code.
No, you wouldn't have to. It could still be vb.net 8
And many things for 4.0 framework are not needed, so you could just switch to 2.0
My dll doesn't load a flash object to work.
What are you not sure about?
The dll can be used with vb.net. I'm pretty sure the call would be:
asVersion.Get "path to file"
Here is the code. Released under CC 3.0 It's in C#:
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using zlib;
namespace asVersion
If anyone wants, I'll release the source or dll api.
I don't think it can be tricked.
Compressed flash files are compressed using zLib. I did find a way to determine the ActionScript version, but it might take me some time to implement it.
Done. Not guaranteed to work, but it does...
Isn't the minimum required version of flash for as3 10? That's the value that my app is reading.
It detects the flash version of the file. 10 = as3, <10 = as2
Done!
Please respond if you find a bug or have a suggestion.
WARNING: There may be bugs
No warranty is expressed or implied
USE AT YOUR OWN RISK!
Could you give me an example of an as2 and as3 game so I can examine the two?