Forum Moderators: open

Message Too Old, No Replies

Flash - ActionScript - Databases

is it possible?

         

txbakers

1:40 am on Aug 22, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just installed Flash 2004 and read up on their connectivity to databases. It seems they want to use SOAP and WSDL to get the data through HTTP rather than direct database connections.

Is there an existing database connection component?

Also, Is it possible to dynamically create objects in a flash file based on data? If one person needed to see 6 objects on the screen and another needed 15, would Action Script handle that?

Richard_N

7:12 am on Aug 22, 2005 (gmt 0)



there is the flash remoting component, just search macromedia site. we have used it to connect to PHP and MySQL and it worked fine, although not the simplest thing to get your head around

benihana

8:56 am on Aug 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Depending on the complexity of the project, you may be able to just use loadVars and getURL to retrieve simple data.

Ie done this in the past, connecting to a php script that drew a bunch of info from a DB and just put it out in the format var1=blah&var2=foo etc.

The action script fo this isnt that complex, and could certainly be used to display different info to different users.

Ben