A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: Connecting to an ACCESS database in MX 2004

  1. #1
    Tech Designs CEO CNL83's Avatar
    Join Date
    Jun 2000
    Posts
    997

    Connecting to an ACCESS database in MX 2004

    I have been reusing this application I downloaded from FK. It lets you interact with an Access database. Well, just about everything that Im doing interacts with an ACCESS database. There is a huge line of code just let it read the records. Are there any books or something that can show me a shorter way to read and write to the database?

    P.S. I have MDM Studio so if there is direction there you can point me that way.
    UPS' official RIPP-OFF
    See full complaint here > www.actionfx.net/complaint.htm

  2. #2
    Member
    Join Date
    Jul 2003
    Location
    Toronto, CANADA
    Posts
    64
    What is the app you are using?

    Are you wanting to read/write the information between the database and Flash?
    Flash Web Application Development
    www.innovasium.com

  3. #3
    Tech Designs CEO CNL83's Avatar
    Join Date
    Jun 2000
    Posts
    997
    I dont know the name of it, but yes thats what I want to do.
    UPS' official RIPP-OFF
    See full complaint here > www.actionfx.net/complaint.htm

  4. #4
    Member
    Join Date
    Jul 2003
    Location
    Toronto, CANADA
    Posts
    64
    Post a sample of the code that you are using to send/receive data from the database so I can try to figure out what you have and possibly what you need.
    Flash Web Application Development
    www.innovasium.com

  5. #5
    Tech Designs CEO CNL83's Avatar
    Join Date
    Jun 2000
    Posts
    997
    It was to long to post, so here is the zip.
    www.gulottas.com/events.zip

    Its just to long, surely there is an easier way.
    UPS' official RIPP-OFF
    See full complaint here > www.actionfx.net/complaint.htm

  6. #6
    Member
    Join Date
    Jul 2003
    Location
    Toronto, CANADA
    Posts
    64
    If you are wanting to connect to a database with an offline version of a Flash movie (ie a projector file that runs locally on the machine it is located on, which is what the app does that you have) using the FSCommands is about the only way to go. The FSCommands let you access the computer's OS API's to setup ODBC connections etc to allow a connection with the database.

    If you want to run it through a website then you can use a variety of methods to connect to a database. You setup a DSN to the database on the server and then you can use ASP, PHP, Coldfusion or some other server side scripting language to connect to the database and pass data back and forth. You can use Flash Remoting, AMFPHP, PHPObject, loadVars or some other method to get the data from the server side to the client side.

    From a coding viewpoint the web way looks much cleaner when looking at the actual SQL code but then if you need to application to run outside of the browser this is not an option.
    Flash Web Application Development
    www.innovasium.com

  7. #7
    Senior Member devnull_2k's Avatar
    Join Date
    Oct 2001
    Location
    Limehouse, Ontario - Never heard of it? Not surprised.
    Posts
    785
    You could write a web service and have a Flash projector file connect to that. You'd have to write a policy file, but you could just do an

    allow-domain="*"

    and it would allow all projectors to connect to the database. Kind of insecure though.
    The future belongs to those who prepare for it today.

  8. #8
    Tech Designs CEO CNL83's Avatar
    Join Date
    Jun 2000
    Posts
    997
    anybody have a source file of that service?
    UPS' official RIPP-OFF
    See full complaint here > www.actionfx.net/complaint.htm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center