# Locating frames when reading swf file in binary

**URL:** https://forum.kirupa.com/t/locating-frames-when-reading-swf-file-in-binary/157054
**Category:** Uncategorized
**Created:** [July 29, 2005, 5:04pm UTC](https://forum.kirupa.com/t/locating-frames-when-reading-swf-file-in-binary/157054 "2005-07-29T17:04:01Z")
**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, 5:04pm UTC](https://forum.kirupa.com/t/locating-frames-when-reading-swf-file-in-binary/157054/1 "2005-07-29T17:04:01Z")

</div>

Hello,

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?

Thanks,  
Clem C
