Andy Matthews wrote:
> Okay...
>
> I actually found what seems to be a good way of dealing with this.
>
> var dbFileName:String = "Faces.db";
> dataFile:File = File.applicationDirectory.resolvePath(dbFileName);
>
> Returns the correct directory when the app is being run inside FB3,
I thought you said that the database directory for development was a
share network drive ("V:\something"). I took this to mean that your
source code was local, but you had a database somewhere else. Was that
assumption incorrect?
Finding "Faces.db", makes me think that the database is in the
application root directory. And if it is in the application root, then
I'd expect that "app:/Faces.db" should also work.
> Thanks for all of your time Jeffry, I really appreciate it. I hope I didn't
> come across as rude, I'm just frustrated at the learning curve.
Nope, not rude.
> I feel
> confident that with the stuff I'm learning on this project I'll be in good
> shape for the rest of my Flex career.
There is always more to learn, and I think that each project helps me
on the next one. It's not a bad way to live.
--
Jeffry Houser
Flex, ColdFusion, AIR
AIM: Reboog711 | Phone: 1-203-379-0773
--
Adobe Community Expert
<http://www.adobe.com/communities/experts/members/JeffryHouser.html>
My Company: <http://www.dot-com-it.com>
My Podcast: <http://www.theflexshow.com>
My Blog: <http://www.jeffryhouser.com>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4965
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37