MegaZine3 Version 2 > User Contributions
PDF LINKS PLUGIN (beta)
Florian Nücke:
Mmm, never had that. Does this also happen if you try to build using the ant script (i.e. via standalone Flex SDK, not Flash Builder)?
acme:
Not yet, I'll give it a try. I also tried building against another versions of the Flex SDK (3.5 and the beta 4.5). Both don't work.
It's interesting that the internal links function properly when I don't compile the swfs for the book pages into a fat client. So I think it is a Flex compiler problem (what Flash Builder also states).
Can you try compiling some page-swfs with internal links into a fat client and see if this works for you? I'm not quite sure if my installation is broken somehow or if it's a bug in the flex compiler.
edit:
tried to compile it directly via ant. But it's the same error:
--- Code: ---[mxmlc] D:\[...]\src\de\mightypirates\megazine\Assets.as(401): Spalte: 2: Fehler: Quelle de.mightypirates.megazine.Assets_PAGES_BOOK_PAGES_1 kann nicht erstellt werden.: java.lang.NullPointerException [mxmlc]
[mxmlc] [Embed(source="/../assets/megazine/pages/book-pages.1.swf")]
[mxmlc] ^
[mxmlc]
--- End code ---
Tried it on a different machine (both Win7, 64bit), didn't work either :-(
Florian Nücke:
Mmm, allright, seems to be something the compiler doesn't like about certain kinds of SWFs, nothing I can do about that. You could work around that by packing your SWFs into a Zipfile and embedding that instead (and then either access the SWFs manually via the Zip library that's used anyway, or the ZipBundle (similar to how the assets.zip is embedded).
acme:
I did another (more ugly) work around - I manually placed boxes above the links (and removed them before converting the pdf to swf). It works now at least. Pretty strange though that nobody else seems to have problems with it when searching google.
Navigation
[0] Message Index
[*] Previous page
Go to full version