Skip to main content
Participating Frequently
Dec 1, 2008 2:33 PM UTC
Question

Custom path resolver

Hi,

I'm using path resolver (Application.setPathResolver) in one application to resolve some external resources. (Using flex compiler oem)

But, tight now, this resources only exists as byte[] (retrieved from a remote server). In order to use current path resolve I need to save this data into a File.

Is there any way to work with byte[] only? This is a sensible data and I prefer do not to save it at disk, even if is just for a moment.

VELO
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Participant
Dec 2, 2008 6:53 PM UTC
It seems like you could have your PathResolver subclass return flex2.compiler.io.InMemoryFile instances, which wrap your byte arrays.
Translate