The reason I want this server side is the SWFs are loading dynamic content
via a database, and I want users to be able to download a SWF with this
dynamic data embedded in the swf so they can use it in their own websites.
I did find this tool which looks promising (allbeit limiting)
search FlashVars ;)
Mick G escribió:
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
That seems pretty inefficient. Why not just make a Flash Var with the
color and have the SWF render that dynamically?
I remember some solutions along those lines (including Macromedia
Generator) circa 2000, but it just wasn't a great way of doing things
like that. SWFs already have
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]
So, how is the user viewing the SWF? Is it embedded in an HTML page?
If so, you could just make those parameters defined in the HTML, and
then have the SWF know to look for the parameters at runtime. The
SWFs I use do a lot of that.
-Andy
On 2/26/07, Mick G [EMAIL PROTECTED] wrote:
Does
You should look into flasm (http://flasm.sourceforge.net/) or any code
injecting software out there
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
6 matches
Mail list logo