|
-
Export a .swf From a .swf During Runtime?
I'm looking for a method to create and save a .swf file from a currently open .swf file while the second of the two is running.
My overall goal is to, with the click of a button, create a .swf that contains a certain MC that was already in the first .swf, then save the second .swf in a directory on a server that I have. I'm guessing it takes some server-side-scripting like php.
I don't know if this really makes much sense, it's kinda hard to explain, so please ask any clarifying questions you might need.
I'm mainly looking for a direction to get going in, maybe a link? Thanks!
-
Moved to Scripting & Backend.
gparis
-
Bearded (M|G)od
I don't think that's going to even be possible. The SWF binary is not an open format, so there's not going to be any way to generate an actual binary SWF.
What you may look into doing is saving out the data you need to generate the swf in some format, then have another swf that interprets that data to display whatever you're trying to do. Then you'd do something like: file.swf?id=10
And do something with that id variable.
It's hard to say without knowing what you want to do.
-
Hi,
have a look at the MING php extension which will write swf - it is used for such applications as converting vector data into swf street maps.
There is a pure php (i.e., no need to ask the server people to install an extension) way to add actions to some swf - this would probably cover your case where all the elements of the final product are part of the initial one
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
|