|
-
Hi,
you would need to write an actions parser. I wrote one in C, a couple of years ago, and it was about 700 lines of code. I would expect a php parser to be about the same size, but of course a lot of actions need not be handled.
Basic action format - inside an actions tag - is either one byte (values in the 1-127 range), or one byte (values in the 128-255 range), followed by two length bytes, followed by data. Looking at simple example, you would need to handle at least geturl, loadvariables, push, and constants.
What kind of job are you trying to accomplish?
If it is replacing links within one (or very few) existing swf files to many different values, I feel a mix of tools might be a solution:
a) use "action script replacer" to modify an existing swf so that its url targets become variables
b) use my swfaddvars to add values for the variables
If you have lots of swf that want similar treatment, chances are that they look pretty similar inside (they might all be using just push code in the same manner)
Musicman
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|