3 Replies Latest reply on Aug 15, 2010 8:54 AM by kglad

    Is it possible to do this?

    normanp901

      Is it possible to tell a single swf movie to get data of different users from a MySql database using Flash, Php & Mysql and display it?

       

      Suppose we have 4 users who have their data in a DB (the columns will be the same only data will differ), can the same swf be told to get data for each user if each of them embedded the same swf file on their sites?

       

      So for user1's site it could be (just an example) :

       

      <embed id=VideoPlayback
       src=http://mysite.com/thefile.swf?user=norman&hl=en&fs=true
      style=width:400px;height:326px
      allowFullScreen=true
      allowScriptAccess=always
      type=application/x-shockwave-flash>
      </embed>

       

      The above will call user 1's data.

       

      For user2:

       

      <embed id=VideoPlayback
       src=http://mysite.com/thefile.swf?user=sharon&hl=en&fs=true
      style=width:400px;height:326px
      allowFullScreen=true
      allowScriptAccess=always
      type=application/x-shockwave-flash>
      </embed>

       

      Is something like this possible in Flash? What the right way to do it?

       

      Thanks