Flash and local database on desktop

Posted on 2009-02-23
Last Modified: 2012-05-06
I want to connect to an access database locally using Flash as a front-end and be able to package this on a cd.  In other words the Flash projector, files and access database will all be on the CD.  How would I do this?
Question by:Dier02
    LVL 4

    Expert Comment

    Hi Dier02;

    As far as I know Flash cant connect to database directly , you will need to use some other language to act as a middle man to interact between flash and database, you can use C Sharp for example and use a flash ocx in C Sharp to load your flash and send whatever value you want to save to access from Flash to C Sharp and use C sharp to open a connection and store it to Access database.

    fscommand is the function you call that can interact with C Sharp.

    Author Comment

    Why wouldn't you just write a C# program and access the database directly through that in that case?

    Author Comment

    via MS SQL
    LVL 4

    Accepted Solution

    Hi Dier02,

    That depend on your requirement, flash are more easy to create animation effect in compare to csharp some people may want to save time writing code for that part. but if you want to connet to MS SQL directly through Flash then I dont think is possible. For the csharp combine with flash is just a suggestion.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
    This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now