#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2002
    Location
    Memphis, TN
    Posts
    199
    Rep Power
    12

    Send variables to flash


    I have tried, and I can not pass a variable from a php file to a flash movie. NO method I have seen yet has worked.

    I have a flash movie. It has nothing on it but a dynamic text field with the variablename testbox.

    I want to pass a variable from a php file and have it display in that text box. How do I do it.

    I tried this tutorial

    http://www.macromedia.com/desdev/mx/...hmx_php02.html

    I tried turning the text field into a movie clip and using pring to assign the value to testbox, but that did not work either

    And I can't use clip.swf?testbox=value because you have to use a string when you do that
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2003
    Location
    Provo
    Posts
    36
    Rep Power
    12
    Use this method:

    http://www.macromedia.com/support/fl.../flashvars.htm

    ... and don't forget to upgrade your users to 6.0.47.0 atleast....

IMN logo majestic logo threadwatch logo seochat tools logo