HI Mick !
Consider the open source utility SWFMill
Providing the server is compatible with one of it's builds then
1. Get a PHP to do : swfmill swf2xml [swfname.swf] [file.xml]
2. Edit the XML file which step 1 produces from PHP
3. Get PHP to do: swfmill xml2swf [fiel.xml] [swfname.swf]
This should do the job and SWFMill seems to work brilliantly on content
up to Flash 8 (Goes a bit funny on Flash 9/Flex)
Hope this helps
Post more if it doesn't !
Mick G wrote:
Does anyone know if there is a way to add data to a SWF file server-side?
Eg. I have a swf that site on my server. I want users to be able to
select
an option from a dropdown such as Select a color: BLUE. This would
then send
them a SWF to download that has the variable color=blue embedded into the
SWF. I guess this would mean the server would need to recompile a SWF
which
would require large CPU so I'm not sure if this is possible but
thought I'd
ask anyway.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com