Re: [Flashcoders] Edit SWF file server side via PHP
Hi You could call mtasc thru php and inject a dynamic generated code on your movie. http://www.mtasc.org/ But why to you want to change variables inside a movie? Why don't just load the variables? Fabrício Ian Thomas wrote: You could take a look at swfmill - I've done something similar before using PHP to call it. http://www.swfmill.org HTH, Ian On Thu, Nov 6, 2008 at 10:19 PM, Mick G [EMAIL PROTECTED] wrote: I have a SWF that I want to be able to change a few variables server-side via PHP. I know there is MING (libming.org) but would prefer not to have to go to this much trouble and am hoping I can do this via PHP. From a post here http://board.flashkit.com/board/showpost.php?s=16555be9b9b1f6afc35f0dc2dccb07d8p=4016713postcount=1it looks possible. I also noticed sephiroth has done work editing SWF files server-side using UNPACK in php - http://www.sephiroth.it/swfreader.php Has anyone done anything like this before, got code or anything to share? Thanks, Mick ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Edit SWF file server side via PHP
My users want to be able to download the SWFs to their computers so they can play them, and also upload these SWFs to other websites so they need to be stand-alone SWFs. On Fri, Nov 7, 2008 at 3:40 AM, Fabrício Seger Kolling - Dulldusk [EMAIL PROTECTED] wrote: Hi You could call mtasc thru php and inject a dynamic generated code on your movie. http://www.mtasc.org/ But why to you want to change variables inside a movie? Why don't just load the variables? Fabrício On Thu, Nov 6, 2008 at 10:19 PM, Mick G [EMAIL PROTECTED] wrote: I have a SWF that I want to be able to change a few variables server-side via PHP. I know there is MING (libming.org) but would prefer not to have to go to this much trouble and am hoping I can do this via PHP. From a post here http://board.flashkit.com/board/showpost.php?s=16555be9b9b1f6afc35f0dc2dccb07d8p=4016713postcount=1it looks possible. I also noticed sephiroth has done work editing SWF files server-side using UNPACK in php - http://www.sephiroth.it/swfreader.php Has anyone done anything like this before, got code or anything to share? Thanks, Mick ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Edit SWF file server side via PHP
Then MTASC is the best solution for you. You can use PHP to generate the AS2 class with the dynamic data, and inject it on the SWF file using a PHP exec call to MTASC. Fabrício S. Kolling - Dulldusk Mick G wrote: My users want to be able to download the SWFs to their computers so they can play them, and also upload these SWFs to other websites so they need to be stand-alone SWFs. On Fri, Nov 7, 2008 at 3:40 AM, Fabrício Seger Kolling - Dulldusk [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi You could call mtasc thru php and inject a dynamic generated code on your movie. http://www.mtasc.org/ But why to you want to change variables inside a movie? Why don't just load the variables? Fabrício On Thu, Nov 6, 2008 at 10:19 PM, Mick G [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I have a SWF that I want to be able to change a few variables server-side via PHP. I know there is MING (libming.org http://libming.org) but would prefer not to have to go to this much trouble and am hoping I can do this via PHP. From a post here http://board.flashkit.com/board/showpost.php?s=16555be9b9b1f6afc35f0dc2dccb07d8p=4016713postcount=1it http://board.flashkit.com/board/showpost.php?s=16555be9b9b1f6afc35f0dc2dccb07d8p=4016713postcount=1it looks possible. I also noticed sephiroth has done work editing SWF files server-side using UNPACK in php - http://www.sephiroth.it/swfreader.php Has anyone done anything like this before, got code or anything to share? Thanks, Mick ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Edit SWF file server side via PHP
As far as I know, a SWF won't store variables. You can however store variable inside a separate text/XML file or write variables to a server [via PHP or some other lang]. SharedObjects would work if it was all local, but from what you write, it is not. Seb. Mick G wrote: My users want to be able to download the SWFs to their computers so they can play them, and also upload these SWFs to other websites so they need to be stand-alone SWFs. On Fri, Nov 7, 2008 at 3:40 AM, Fabrício Seger Kolling - Dulldusk [EMAIL PROTECTED] wrote: Hi You could call mtasc thru php and inject a dynamic generated code on your movie. http://www.mtasc.org/ But why to you want to change variables inside a movie? Why don't just load the variables? Fabrício On Thu, Nov 6, 2008 at 10:19 PM, Mick G [EMAIL PROTECTED] wrote: I have a SWF that I want to be able to change a few variables server-side via PHP. I know there is MING (libming.org) but would prefer not to have to go to this much trouble and am hoping I can do this via PHP. From a post here http://board.flashkit.com/board/showpost.php?s=16555be9b9b1f6afc35f0dc2dccb07d8p=4016713postcount=1it looks possible. I also noticed sephiroth has done work editing SWF files server-side using UNPACK in php - http://www.sephiroth.it/swfreader.php Has anyone done anything like this before, got code or anything to share? Thanks, Mick ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Edit SWF file server side via PHP
You could take a look at swfmill - I've done something similar before using PHP to call it. http://www.swfmill.org HTH, Ian On Thu, Nov 6, 2008 at 10:19 PM, Mick G [EMAIL PROTECTED] wrote: I have a SWF that I want to be able to change a few variables server-side via PHP. I know there is MING (libming.org) but would prefer not to have to go to this much trouble and am hoping I can do this via PHP. From a post here http://board.flashkit.com/board/showpost.php?s=16555be9b9b1f6afc35f0dc2dccb07d8p=4016713postcount=1it looks possible. I also noticed sephiroth has done work editing SWF files server-side using UNPACK in php - http://www.sephiroth.it/swfreader.php Has anyone done anything like this before, got code or anything to share? Thanks, Mick ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders