House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Adobe Integrated Runtime (AIR)

Relative file paths for AIR app dev

Author:
Andy Matthews
02/15/2008 09:39 AM

I'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?


Search adobe-integrated-runtime

May 19, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference