Converting PDF to SWF with video embedded

I need to export my PDF file (which contains videos) into a SWF file to use in my flex app.

Extension to question http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Flex/Q_27624704.html

PDF File link:
http://filedb.experts-exchange.com/incoming/2012/03_w10/559143/ComputerNetworking.pdf
Trying_to_LearnAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dgofmanCommented:
I think pdf2swf can work for us too. But we need to solve one issue.
The differences between FlashPaper (Paper.swf) and out new SWF files pdf2swf creating an ActionScript frame and in the contractor first line in the rfx.MainTimeline.as adding  a line Security.allowDomain("*")

That is good line for loading SWF from a web but unfortunately is not working and implemented in AIR platform.

So, we need to find a way how to omit generating  any ActionScript from pdf2swf

You can download Sothink SWF Decompiler for comparing those files
0
dgofmanCommented:
I am out today, but can you try older version of pdf2swf
0
dgofmanCommented:
These options at least not creating MainTimeline.as


pdf2swf.exe ComputerNetworking.pdf -o ComputerNetworking.swf -f -T 9 -t -s storeallcharacters -s linknameurl
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Trying_to_LearnAuthor Commented:
That's good enough, i'll use mySWF file and just not use search in book so it's fine.

I just really want to thank you for all your assistance and help. I know you have taken out a lot of your time to help me, and many times you have gone above and beyond what so many other experts would be willing to do, and for that I really want to thank you.

I don't think I will have any more questions, so I want to say it was a pleasure working with you :)

Thank you for everything, and I might be thinking of commercialzing my product and will try to get a grant from my University to start the business. If I am successfull, I will need to outsource development and will pay for it.

Would you be interested in such an offer?

If you, you can email me at ma2rafiq@uwaterloo.ca and we can discuss in detail.

Thank you for everything :)

Could not have done it without you!
0
Trying_to_LearnAuthor Commented:
**
If yes, you can email me at ma2rafiq@uwaterloo.ca and we can discuss in detail.
0
dgofmanCommented:
The search is not working can be two problems
1) pdf2swf cannot recognize text document because you PDF version for Adobe Reader 1.7 what is latest one. In this case you need to open your document and save for older version. For example I compiled Adobe Flash Builder RDF file under C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.5 what PDF version is 1.5 and it's working well

2) May be problem with fonts and pdf2swf cannot recognize.

Please can you IDesign verify what the font name use some standard one such as Arial and save as PDF version 1.5

I attached generated with same attributes SWF file what working well on search
ComputerNetworking.swf
0
dgofmanCommented:
By the way  latest version of Sothink SWF Decompiler can convert existing SWF to HTML5.
Or maybe you can find a tool for converting PDF to HTML5. That should work on mobile better than SWF
0
Trying_to_LearnAuthor Commented:
1) The version I am use for Adobe is 10.1.2 - Adobe Reader X. To save as older version, do I need to uninstall this version and install 1.5? Or is there another way to do it.

2) The font type in InDesign for the book is Times New Roman.

I have attached 2 Snapshots

1) It describes the PDF preset and mentions that it should be compatible with v1.4

2) Different export options I have from InDesign.

I can export using the compatible with 1.4v, but the question remains, after I export PDF, how will the PDF2SWF embed the video files?

1 workaround I can think of is by exporting as SWF first, this will produce all the resources folder. Then export as PDF, convert to SWF (as it wont have videos), but keep the same name for the file. So when Flex needs the resources, they will already be present from the SWF file resources.

Let me try this and update you.

Thanks
PDF-Preset.png
Export-Options.png
0
Trying_to_LearnAuthor Commented:
Ok so I tried this, and half of it worked. I converted PDF to SWF, but the video's are not working even when I changed both the names.

Video's are converted to Images.. search is working.. but doesn't highlight the text location
0
dgofmanCommented:
My guess the search is not working because SWF embed font instead recognizing by characters that reason why flash cannot get a context
0
Trying_to_LearnAuthor Commented:
that's ok.. I can show another swf file with search working.

Can you help me with moving left/right on the swipe.. I almost have it.. please see that open question

thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Flex

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.