swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Anybody succeeded in getting working links within


From: Hans J Nuecke
Subject: Re: [Swftools-common] Anybody succeeded in getting working links within SWF files created with pdf2swf 0.9.2?
Date: Sun, 24 Nov 2013 23:36:19 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

Good evening Chris,
thank you for the hint with -T 7!
That indeed makes a difference when starting the swf locally: then it works with adjusted security settings; whereas with newer versions it does not work.
With that info I think I have to do some more systematic tests. I'm in the middle of compiling swftools on different platforms.
I could build a new version on a Linux system (in a VM on my Windows PC) already. But I (thought I) had problems with links with that built with version 0.9.2.
What could had several reasons; I'm new on Linux ;-).
  • incorrect built
  • incorrect parameter/switch settings
  • wrong assumptions
  • wrong environment (local test instead of using XAMPP or a real server)
  • ...
Unfortunately no newer version (0.9.1 or 0.9.2) is available as Windows binary (as you know Matthias took those offline because some antivirus tools reported false alarms! So I cannot test a different/new version on Windows that someone else (more experienced than I am ) built; to avoid some of above pit falls...

I am about to create a Windows build. I succeeded one; after several changes trying to solve a problem with the "boolean" declaration (in config.h, os.c, winnt.h, jpeglib.h, ...). It is difficult to find a compromise/definition that satisfies all.  Obviously some programs could be compiled with one version of setting, whereas others compiled with a different setting. And after I successfully finished "make" and "make install" the final pdf2swfI indeed worked!.
But when I did a make clean and then trying to apply all changes, the resulting pdf2exe reported a "struct error" (different header sizes in library and program?!).
I did several tests/changes, but none of those worked.
Then I found a pdf2swf.exe build dated 20120204. I have no idea what version that is, but after I rebooted my computer the next morning (today) and wanted to "quickly" create a demo file for you, to my surprise the programs I built worked! My though is that either the installation of the 20120204 version or just the reboot changed some Windows libraries.
Encouraging is, that I finally could compile a working pdf2swf version; on both Linux and Windows systems. But I still feel like walking in sand, on moving ground or on clouds; nothing is really reproducible yet...

To sort things out I will start from scratch on both systems, logging my steps, doing structured test and hoping to achieve a "script" that allows me and others to compile swftools reliably under clearly defined conditions. And I will do so with 0.9.2 now first; and if that fails with 0.9.0.
And inform you about my findings.

And yes, you are right: I do all that so I can compile a version, where I take out the 3 lines that insert the "allowDomain" command in the swf files; at least with version 0.9.0. I have to test if also 0.9.2 works with links (I hope it does, at least with -T 9), and if the "allowDomain" is still included. But if I can manage to compile the newest version with my patch and the links work, I reached my goal.
I could prove that a compiled, patched 0.9.0 works with AIR; on all platforms (Windows, OSx, Android, iOS). That's all I want to achieve.

I at least need it on WIndows, but would like to support Linux also now that I learned that much already (I even wrote a bash script converting a fulls PDF, reading page count and size and build the XML find that controls our pageflip solution. And I already could help y customer with that.
But more importantly will be a solution for OSx; which could be the next/final nightmare ;-)
I did first tests, and homebrew looks promising. But there are still some dependencies that need to be solved, that with all what I learned on Windows and Linux now hopefully can be solved soon!

Not sure if you read to this line! This also helped me to document my status somehow. But it might be too much details for you ;-)
So here a shorter SUMMARY (a similar one will be sent to the mail list):
  • Yes, I do all that because of the "allowDomain" thing
  • Thank you for the tip with "-T 7"; that helped me considering tests on a server also!
    Is there any negative impact using version 7 instead of 10 or 11??
  • I am close to successfully compile swftools on Windows, Linux and Windows. I need some more time to find out the best and most reliable workflow on all systems (Windows, OSx, Linux) and what are the best options (0.9.0 or  0.9.2).
  • I will document all that and publish it in the Wiki as short "how to" for all systems; with links to a detailed explanation of all steps with background information

Thank you very much; you helped a lot (indirectly, but very helpful nevertheless!)
Regards
Hans

And enjoy the final minutes of the week end ;-)

 


And why are links no more embedded with -T 10 or 11?
Am 24.11.2013 04:11, schrieb Lists:
On Fri, 15 Nov 2013 00:53:20 +0100
Hans J Nuecke <address@hidden> wrote:

Hopefully anybody can give me a hint what I'm making wrong or what
I'm missing!
I'd like to use version 0.9.2, but did not succeed yet in making 
external links work. I tried different switch settings already, but
to no avail

hans, This isn't a revisit of the 'non-internet enabled location' thing
is it?

Try setting the swf version with,

   pdf2swf -T 7

when you do your conversion, and let us know what happens.

You might also care to link to the pdf you are converting, so as we
can try it also.

jooi, I did a conversion of the swf reference document,

http://www.adobe.com/devnet/swf.html

with version 0.9.2 ( under Linux ), and all the external links I then
tested, seemed to work ok.  

mfg


Chris.

---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an existing subscription, please kindly point your favourite web browser at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>


--

___________________________________________________________________

Hans J. Nuecke / Gorch-Fock-Str. 6 • 81827 Muenchen • Germany / VservU GmbH
Home:                           +49 (89) 45344858              office:           +49 (89) 43906 707
mobile:                        +49 (176) 56529048              Skype:                              hnuecke
private:                       address@hidden                 business:            address@hidden
website:                    www.vservu.de                      www.megazine3.de
Munich HRB 181251    Geschäftsführer:      Hans J. Nücke      USt-Id:   DE266694113
___________________________________________________________________


reply via email to

[Prev in Thread] Current Thread [Next in Thread]