|
Mailing Lists
|
Home / Groups / Adobe Integrated Runtime (AIR)
Relative file paths for AIR app devI've got an Flex/AIR app which contains a SQLite db and some photos which will be included in the install package. /src faces.db /assets andymatthews.png ericcobb.png I need to open the db file locally rather than what I'm currently using which is: var db:SQLConnection = new SQLConnection(); var file:File = new File("//Ds-fs1/Shared/Faces/faces.db"); db.open(file); Obviously that file path won't exist on the end user's machine. How might I go about referencing it this file so that it will work both in development, and installed? |
May 19, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||