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

  << Previous Post |  RSS |  Subscribe to this Group Next >> 

Relative file paths for AIR app dev

I've got an Flex/AIR app which contains a SQLite db and some photos which will Andy Matthews 02/15/2008 09:39 AM

02/15/2008 09:39 AM
Author: Andy Matthews Short Link: http://www.houseoffusion.com/groups/adobe-integrated-runtime/thread.cfm/threadid:1579#4953 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?
<< Previous Thread Today's Threads Next Thread >>

Search adobe-integrated-runtime

May 23, 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