# Reading ActionScript Version with PHP

**URL:** <https://forum.kirupa.com/t/reading-actionscript-version-with-php/317811>\
**Category:** programming\
**Created:** [January 3, 2011, 9:52pm UTC](https://forum.kirupa.com/t/reading-actionscript-version-with-php/317811 "2011-01-03T21:52:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arunforce](https://avatars.discourse-cdn.com/v4/letter/a/858c86/32.png) [@arunforce](https://forum.kirupa.com/u/arunforce)\
**Post date:** [January 3, 2011, 9:52pm UTC](https://forum.kirupa.com/t/reading-actionscript-version-with-php/317811/1 "2011-01-03T21:52:00Z")

</div>

I took a look at the C# psuedo code, even tried busting out a hex editor to try to figure out where its stored, but I’m totally lost, don’t know that much about bytecode, etc.

Here is an example of the psuedo code:

> <https://stackoverflow.com/questions/2187830/how-can-the-actionscript-version-of-a-swf-file-be-determined-in-c>

Here is the information about the filetype:

[http://www.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf\_file\_format\_spec\_v10.pdf](http://www.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf_file_format_spec_v10.pdf)

Page 60 has the relevant information.

Would anyone be able to help me get it started or write it, because I’m totally lost. :sigh:
