|
Database Connectivity |
|
Step 1
Create a new file in Adobe Flash (or your preferred SWF Authoring tool). The first step is to make a connection with our database which we shall assume has the name "myDatabase.mdb". Select Frame 1, expand the Actionscript Window and enter the following code:
mdm.Database.MSAccess.connect("myDatabase.mdb", "myPassword");
This assumes that the MDB file is in the same directory as your Projector. You can also connect to a Database over a network, or using an absolute path to a fixed location.
Nothing else is required. If your database is password protected, you can include the password as a second parameter:
mdm.Database.MSAccess.connect("myDatabase.mdb", "myPassword");