Search code examples
flashairpatch

How can I patch the Content of an AIR Application?


I have tried searching via Google with anything from Difference, Patching, etc. It all leads to the Update() and Update Framework, which is fine. However, I am creating an interactive motion graphic novel within AIR, which I plan to update content as I go. From my understanding, the Update Framework will update the entire AIR package.

For example, the main Desktop app is 80 KB, while external SWF will be loaded. The external will be in the application directory and included in the .AIR package. Right now, the first chapter is 4.7 MB, but it will grow as I add more content.

I will accept that I may be missing something from all the tutorials on the Update Framework and will graciously accept any advise. One thing I am thinking of doing is creating an AIR package with updated content to be copied into same app directory. Is this a possibility?


Solution

  • After looking at Vudu To Go, I thought of something that would help improve updates on both the main application and content. @VC.One also helped inspire this idea.

    For content, I can use this webpage as guidence.

    If I understand it right, I can remove the Chapter1.swf from the main package, which reduces the main application. It also allows for Update Framework to only focus on that and reduces bandwidth. I can then use the air.net to show available chapters and the user can download them, which will go into the application directory. If I got it right, this process will main application to access the swf files the same way I am doing it right now.