Search code examples
actionscript-3flashairflashdevelop

Two Air apps with the same applicationStorageDirectory


I have an AIR desktop app and I want to made another app that works like an admin panel. It must have the same applicationStorageDirectory to comunicate each other. It is posible? How? Thanks!


Solution

  • Don't believe this is possible.

    Alternatively you could create and access a common directory for both your apps in File.documentsDirectory. eg,

    var common_file:File = File.documentsDirectory.resolvePath("cibermans_apps/data.xml");
    

    If you want to truly communicate between them live (not just edit common files) and both apps are running, you could use the Local Connection class.