kross77 / as3-commons

Automatically exported from code.google.com/p/as3-commons
0 stars 0 forks source link

Ability to get abcBytes position from DoABC tag #146

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello!
I'm trying to find the begin position of the DoABC tags in the swf bytes. For 
example:

for each(var tag:DoABCTag in abcTags)
{
    var abcFile:AbcFile = tag.abcFile;
    var abcBytesBeginPosition:int = abcFile.startBytePosition;
    var abcBytesEndPosition:int = abcFile.endBytePosition;
    for (var i:int = abcBytesBeginPosition; i <= abcBytesEndPosition)
    {
        var byte:int = bytes[i];
        // do something
    }
}

Could you add this feature to the project? Thank you!

Original issue reported on code.google.com by com.yl...@gmail.com on 12 Oct 2014 at 9:55