Couldn't you set File url property from UrlRequest url property ?
---
thomas parquier
http://www.web-attitude.fr/realisations/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net
téléphone portable : +33601 822 056
2010/4/16 Davis Ford
>
>
> Hi Thomas, yes, I get that,
Hi Thomas, yes, I get that, but this isn't a deployed application...this is
running a FlexUnit4Runner that tests methods in various As3/M2MXML classes
running inside the project.
I don't want to install the app to run unit tests, and I don't want to have
to have my test data deployed in a director
An installed AIR app is not supposed to reside in bin-debug.
You can use File.applicationStorageDirectory, File.desktopDirectory,
File.documentsDirectory... with resolvePath().
thomas parquier
---
http://www.web-attitude.fr/realisations/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webatt
Hi, so I am using FlashBuilder 4, and I'm using FlexUnit4 to create unit tests.
For some tests I need to load a file as input. I can't seem to load a
file from a relative path. All the air examples have you use the
static defined places and want you to navigate from there (e.g.
File.documentsDir
4 matches
Mail list logo