# Locating frames when reading swf file in binary

**URL:** https://forum.kirupa.com/t/locating-frames-when-reading-swf-file-in-binary/157112
**Category:** Uncategorized
**Created:** [July 29, 2005, 11:49pm UTC](https://forum.kirupa.com/t/locating-frames-when-reading-swf-file-in-binary/157112 "2005-07-29T23:49:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![clem\_c\_rock](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@clem\_c\_rock](https://forum.kirupa.com/u/clem_c_rock)
#### Post date: [July 29, 2005, 11:49pm UTC](https://forum.kirupa.com/t/locating-frames-when-reading-swf-file-in-binary/157112/1 "2005-07-29T23:49:15Z")

</div>

Hello - it’s me again w/ more crazy questions.

I’m trying to see if this is some how possible.

I’m trying to take a shockwave file (parent) where I have a start frame and and end frame - say start\_frame = 2, end\_frame = 8. I’m trying to make another shockwave file (child) w/ just these 6 frames and their content. I’m trying to do this by reading the binary data of the swf file using the PHP fread() function.

I know PHP has a whole slew of shockwave functions to create SWF files on the fly.

If I could isolate the specific frames from the binary read, I could rewrite the file w/ just those isolated frames.

Am I crazy?
