Hi guys, I'm using flash cs3 and I need to make an application about a store. But I need to view the pictures of the products that will scroll everytime they click the "next" or "previous" button, I also need to save the product/order info in a database. How do you create a database that will save all the info after the customer click "submit"?
You just need a mysql database where to save the image link, and other infos about the product.In flash use actionscript to load product details from database trough php. To create a database use phpmyadmin. Check phpmyadmin.net and php.net. Also w3schools.com is a great website.
This will be a desktop application and I dont understand how to do all those things from php to mysql and stuff.. Basically how can we connect the database with the flash apps?
From flash to mysql you can connect through php. You will need a website and a host that allow php and mysql. The flash application will connect to php witch get infos from databse. For example you make a php script to get the name, the price and the image of a product : product.php?product=123 For the product with the ID 123 the php will get those infos from db : $name = "Test"; $price = "123 dollars"; $image = "test.jpg"; The flash will get those variables from php so the flash will display those infos: Name : Test Price : 123 dollars Image : test.jpg When you need to send some infos to db the flash will send infos to php witch will add those to database. To understand the basics check this http://www.kirupa.com/developer/actionscript/flash_php_mysql.htm Also you can search on google if you don't know how to do something or to post here. Nobody will make a full working application for you for free so you should ask here on dp for little help not for the whole application. Also you can hire someone to do that.
Man, its not for a website. Its just a small application for my task. Just a simple animated swf stuff. Just to input, submit, and save.
Yeah but where you will save all infos ? You need a host (and a domain, at least a free domain) where to upload all script files and to keep the database. If you need this application only for you you can make a local databse so all files will e on your pc.But if you will send the application to someone you will can't see what he was added to database.
Its not for a website. Just for my PC. Please tell me how to make a database for flash cs3 app. I just need simple animation, and when I submit something it will save the data. I really dont know how to make that database and connect it, is there any particular code?
You will need to install php, mysql and apache.I suggest you to use xampp ( is a pachage with all what you need http://www.apachefriends.org/en/xampp.html ) After you will make a mysql database (use phpmyadmin witch is installed with xampp pachage). Connect to mysql database with php (http://www.tizag.com/mysqlTutorial/mysqlconnection.php). Send variables from flash to php (here is a tutorial how to send from flash to php and insert into mysql http://www.kirupa.com/developer/actionscript/flash_php_mysql.htm). When you don't know how to do something try to search on google..there are a lot of tutorials. That's all.