Welcome, Guest
  • Author Topic: Saving Dynamic flash to export SWF  (Read 1191 times)

    dub

    • Server what's that
    • *
    • Posts: 3
    • shameless newb
      • View Profile
      • Email
    Saving Dynamic flash to export SWF
    « on: 07/12/02, 18:01 »
     :-\

    Hi all,

    I have successfully pulled content from mysql into my predesigned flash movie using PHP & variables. however I want to keep those variables in place so I can download the SWF file with the variables intact, so to say the resulting flash file would work independently without further server side interaction.

    I have some ideas but was wanting to ask the forum first.

    I saw no reference towards this on the ming site or PHP reference.
    I know its possible because Ive used online flash generators before.

    Any help would be greatly appreciated.


    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re:Saving Dynamic flash to export SWF
    « Reply #1 on: 07/12/02, 19:59 »
    Hi,

    ming is creating a complete new movie; if you are just after adding vars to an existing movie, try out the swfaddvars thing at www.fontimages.org.uk

    Musicman

    dub

    • Server what's that
    • *
    • Posts: 3
    • shameless newb
      • View Profile
      • Email
    Re:Saving Dynamic flash to export SWF
    « Reply #2 on: 07/14/02, 09:50 »
     :D
    Hey, Thamks Musicman,

    Thats a nice script & fast too,
    Is there a way to preset the variables (vars[]) in the html form
    to match the vars in the swf?
    I tried using hidden fields but it broke the flash movie.

    Thank you much,
    Dub

    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re:Saving Dynamic flash to export SWF
    « Reply #3 on: 07/14/02, 11:09 »
    Hi,

    I wouldn't see a reason for it to fail...
    However, the idea is not to use a html form at all (that is just for demonstrating) but rather adjust the script to your requirements:
    it would probably just open the local prototype.swf rather than getting one from upload. At one point the vars from the html form are collected into an array - you would probably pass in an array of your varnames and values there

    Musicman

    dub

    • Server what's that
    • *
    • Posts: 3
    • shameless newb
      • View Profile
      • Email
    Re:Saving Dynamic flash to export SWF
    « Reply #4 on: 08/27/02, 17:37 »
    thanks, I got it now.

    another question, After prompted to download the swf file, how would i get the script
    to display another page, like a meta-refresh?

    I want to call another script i have that will display the necessary html code needed to embed the flash file into the visitors own website.

    I know this is probably simple, but I'm unsure of whats happening with the script once it adds the header necessary to prompt the download window.

    Is this possible?

    Thanks,
    DuB

    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re:Saving Dynamic flash to export SWF
    « Reply #5 on: 08/28/02, 01:40 »
    just another idea:

    when the user hits submit, show a webpage with the html code and a download button. You will have to use hidden vars or a session to keep the vars over that intermediate page

    Musicman