MegaZine3 Version 2 > General Discussion
Package Megazine File
(1/1)
pierre:
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:
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:
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:
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.
Navigation
[0] Message Index
Go to full version