Author Topic: Package Megazine File  (Read 409 times)

pierre

  • Newbie
  • *
  • Posts: 3
Package Megazine File
« on: October 12, 2011, 04:36:53 am »
I would like to package a megazine instance along with all the supporting files into a standalone exe of some sort.  Is it possible to do this?  I want to distribute a megazine ebook, but I want it to be a simple single file download for a user, and once they download it, I want it to be as simple as possible to start up the book offline.

Hans Nücke

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 800
  • MegaZine3 Sales Manager
Re: Package Megazine File
« Reply #1 on: October 17, 2011, 07:56:11 am »
Have you checked the tutorial in the Wiki on how to create a "projector" file (a package that can be put on CD or other media; and also be downloaded as complete package)?

pierre

  • Newbie
  • *
  • Posts: 3
Re: Package Megazine File
« Reply #2 on: October 20, 2011, 07:07:14 pm »
What can I do to have all the individual pages for the megazine ebook included into the projector file?  Is this possible?  Right now I have the projector file, but it also has a directory structure of individual flash files for each page of the book.

Florian Nücke

  • κρύα πόδια
  • Administrator
  • Hero Member
  • *****
  • Posts: 1989
  • MegaZine3 Developer
    • MegaZine3
Re: Package Megazine File
« Reply #3 on: October 22, 2011, 03:39:33 pm »
In principle this is possible, yes. What you'd have to do is make all your book content data available via the ResourceProvider class. To see an example of how to do that, just have a look at the Assets class. Then you can use a book definition as usual (i.e. normal .mz3 file) which will also need to be embedded, of course. Or you generate it manually via AS3.

What I don't know is how the Flash player will handle that memory-wise, i.e. it might just crash if the book content is too large. You'll just have to try and see.
For the Snark was a Boojum, you see.

Before you ask a question
          After you get an answer
  • please document your problem with the answer in the Project Wiki. (e.g. in the FAQs)
  • help others out if you can, by answering their questions on the forum.