I need to develop an application using flex. The requirement is to develop both a web app and a desktop application. I need to use a database for this application. I learned tha
It's a good start. You will need also to isolate platform dependant code.
See this post for some details:
File() FileStream in web app