Is there any way to handle PDF in Adobe AIR?
I don't want just to open it, I need to programmatically use it. Example: extracting pages, rotate pages, add gfx elements to a page, read annotations. I would need a complete framework to handle PDF in AIR.
Thanks
Try PurePDF, it is a port of the famous iText java and C# library
That's the closest you will get to be able to do in ActionScript what you describe above.
Cheers
Related
How can I embed a scala project into a website ? I did a visual with swing but I have no idea on how to make it inside my web page and have button, textfield, etc functional.
Any ideas ?
Try to package your scala program into a jar and use any supported library from the webpage to call the jar(ex: subprocess/Jython library for Django)
I want to convert flash files(.swf) into HTML5. What is the way to do it? Suggestions on Stack overflow are not working. Like pixelplant and swiffy doesnt provide the exact output. * need users to enter values in the flash. but when i convert it using swiffy. it doest show the option to enter the values.*
A simple Flash to HTML5 converter that helps make SWF files available to a larger audience.
https://developers.google.com/swiffy/
Is there any way to read and view a PowerPoint presentation within a Windows Store App?
What I want to achieve is to open the .pptx file from the computer and display the slides inside the app. Basically, it would be like a PowerPoint viewer.
What I figured out with extensive searching is I can use Aspose.Slides API to convert the slides to images and then display them to the user. But firstly, Aspose.Slides is not available for WinRT and secondly, it is not free. The OOXML is really complicated and I can't find an approach to achieve this via OOXML. What could be a work around to the problem? And can there be a way to manipulate the slides?
I haven't seen a WinRT API for PowerPoint, but if you found one for .NET you could easily write a web service that would take a ppt or pptx and use the API to convert it to images or something else that you can display.
If you have some control over the presentations - you might also consider saving them as XPS which is WPF/XAML based format, but even then you would need to do some more work to process it to a XAML format compatible with WinRT/XAML and might still have some problems loading custom embedded fonts etc.
In the Flash Authoring Tool, I can embed an FLV file as any class I wish as long as the class is a child of MovieClip. This is achieved by selecting the "Export for ActionScript" option and entering a MovieClip-extending "Base Class".
I need to achieve this with Flex too. How can I embed an FLV and make it be a MovieClip-extending class?
It sounds like you can't embed an FLV, based on these docs
To Quote:
You can embed any file type in a Flex application as a bit map array. However, Flex does not recognize or process files other than those described previously. If you embed any other file type, you must provide the transcode logic to properly present it to the application user.
It is even mentioned in the comments that this is a limitation. Your best bet, if possible, is to load the flv asset at runtime.
In aN AIR app [including mobile] you can the FLX as part of your distribution and load it from there. In a web app, just put it in the directory.
Is it possible to embed the flv file in to the flash like other files(images, swf), so that i can handle this in as3 as programmaticaly in the same way as FLVPlayback component? I know the way to add flv file by creating FLVPlayback component. But in this case we always need to depend on the source path of corresponding file. I am not able to find any kind of solution for this. As second way I have imported flv file to the library and created the instance of this but there is some problem with the synchronization of audio with video. Also in this case I am not able to handle this flv in as3 as programmatically.
Any kind of help would be appreciated.
Thanks in advance!
read next things:
http://www.actionscript.org/forums/showthread.php3?t=123832
http://www.bit-101.com/blog/?p=853#comment-253072
if you want some help, post the source you have, so community could provide the snippets for you goals.
Regards
Eugene
The best way would be to use the Video class, there is a simple example at the bottom of the page showing how to set up Netstreams and Netconnections.