Im doing an app that runs both in the web and on AIR, to avoid copying code arround, I figured I should do 3 kinds of proyects on flex builder: Library, Web and AIR proyects.
So all my code is on the Library proyect.
I have accessData.as that extends EventDispatcher to fetch web services and return them as an event, I plan on using this class to also fetch SQLite data for the desktop version, but to do so I need it to decide from wich source to get the data depending on if its Web or AIR.
anyone know how to do this?