Flex :: Using PurePDF Is It Possible To View PDFs?

Jul 24, 2011

Can you use PurePDF to view files or is the api only for writing them?

View 3 Replies


Similar Posts:


Flex :: Improve The Performance Of PurePDF?

Jan 31, 2011

I am using the Open source PurePDF library in my Flex AIR application. The problem is performance:It takes 100% CPU usage and too long to generate a PDF.

I have done some analysis on it and find that the text writing in pdf is expensive. That's why I need to know how I can improve the performance. Are there any fonts for which pdf generation is less expensive, or is there some setting or tip that can make this process somewhat better in terms of performance? secondly in case of images the ImageElement generation is very expensive when writing that element to PDF. Is there any way to reduce the processing?

I found a way to reduce the ImageElement generation processing by resizing the image using flex and by then passing the small image's bitmap data to the image element. It works fine, and i have reduced the time of execution to a good extent. is there any way to tell PDF to work in chunks or divide the work in such a way that it may take more time to complete but won't block the GUI while the PDF is being generated?

View 2 Replies

Flex :: POST Data To A Website Using The PurePDF Library?

Mar 1, 2011

I'm evaluating the differences between the purePDF and alivePDF libraries in flex, and I'm setting up some IO code so that I can save documents from either from a web based flex application.

AlivePDF gives a very convenient save() function that sends the data to a web service, which can simply bounce it back using Content-Disposition: Attatchment, but PurePDF has no such feature. How can I send the PDF data from purePDF to a webservice in a similar way?

View 1 Replies

Flex :: Merge Pdfs(Alive PDF) In Flex3?

Apr 12, 2011

My flex application generates individual pdf documents based on individual selection criterion,but i need to merge those generated pdfs or is it possible to store individual pdfs temporarily then merge those into single pdf?

View 2 Replies

Flex :: Presentation Model Pattern Can View Specific Logic Reside In View?

Aug 15, 2011

I'm currently using RobotLegs with the Presentation Model pattern to develop a Flex 4 project. I understand that all business logic related to a View resides in the Presentation Model associated with that view, however, I am confused when it comes to View specific logic.For example, I have an indicator that needs to be positioned relatively to list items depending on which list item is selected. Is it acceptable in the Presentation pattern to put the logic that will position the indicator in the View and simply have that logic run in reaction to a selectedIndex property changing in the presentation model?The reason I am considering this is that since the Presentation Model does not have a reference to the view it is difficult to come up with an ideal solution for manipulating view components.

View 1 Replies

Flex :: Change A View From Inside A View?

Jun 13, 2010

I have one .mxml file (the Application) with a ViewStack (with 4 views) and a ControlBard, obviously I can change the views with it, but what I want to do is: in view #1 I have an image which I want to convert to a "hyperlink", so when I click it I go to View #2, is this doable? Also I would like to pass somehow some data (like a String) to that View #2 (lets say the it's a user avatar I click so I want to go to the second view which will show me his profile, that's why I need his name/id).

View 1 Replies

Flex :: Taken Push View Object Into Next View?

Sep 28, 2011

My problem is that when I try to pass an object from the navigator.pushView(view, dataobject), I can't figure out how to access the dataobject from actionscript. I can access {dataobject.property} from MXML easily, but I want to set a variable in the new view to the passed dataobjects property.

View 1 Replies

Actionscript 3 :: Change A Space Between Lines In PurePDF?

Feb 24, 2011

I want to change a space between lines in document with PurePDF but i cannot find a way to do it. I used Chunk and Paragraph for output text but they haven't any properties to change space between lines.

View 1 Replies

Actionscript 3 :: Writing Special Characters With Purepdf?

Jul 27, 2011

I'm working with flex 4 and need to export some pdf files. I'm useing purePDF library for this. Can anyone explain me how to make possible to write romanian characters in pdf files with purePDF -> I need to write characters like ăîşţ, etc.

I look in the wiki documentation of that library but cannot understand enough what I need.

View 1 Replies

ActionScript 3.0 :: URLLoader - Receiving PDFs From PHP

Oct 9, 2008

I want to instruct a server-side PHP script to generate a dynamic PDF using variables I submit from Flash. I then want to download that PDF back into my Flash application. Can I use "Loader" or "URLLoader" ? If so, how do I structure my code to render the PDF within Flash when it comes back from PHP? ...or do I have to use Flash Remoting or other means to achieve my goal?

View 3 Replies

ActionScript 3.0 :: Open PDFs In Acrobat From A Swf?

Jun 9, 2011

I'm constructing a website in Flash that is based on a DVD I'd put together in Director a few years ago.

One of the major components is PDFs files that need to be printed out. I've spent the last couple of days trying to find a solution, but seem to keep hitting brick walls.

It seems that most solutions only work with projectors running from cds rather than swfs on websites.There's been a couple of snippetts I've tried that are based on opening the pdfs in a new browser window. Aside from the fact that none of them have worked so far, a new browser window is not the ideal solution.I've set up the pdfs so they open the Print dialogue as now as they open in Acrobat. So what I really need is a way to get them open in Acrobat from Flash using AS3 (or whatever else may be the solution).

View 0 Replies

Open PDFs From Flash Presentation?

Mar 27, 2009

I've been tasked with making a fairly simple Flash presentation that will be published to an exe and put onto a jump drive. I've done this before and at the time I just used the getURL command (IIRC) to open a PDF with a button click. I literally have 100's of PDFs to link to so I was wondering if there is a better way to do it (before I start using my old method) I'm using AS3 in Flash CS5. And I am NOT a big Flash user so maybe I just need to resort to the way i did it last time. Was just thinking there might be a more elegant way to approach this...that a novice could handle.

View 3 Replies

ActionScript 2.0 :: Flash 8 To Create Pdfs Or Jpgs On The Fly?

Jan 23, 2006

I have a dressup game or something simillar. is it possible to have flash save what i've done in the game to a jpg or pdf? (i'd rather have a pdf)

View 7 Replies

Force PDFs To Open In Adobe Reader Rather Than In Plugins?

Jul 12, 2010

We have an Air and Flash application that opens a pdf, but many computers by default open pdfs in browser plugins rather than through reader itself. Is there a way to force the alternate behavior in Flash/Air? This is needed since we have slightly writable pdfs.

View 1 Replies

Java :: View Part Of A Web Application - What Technology For A Pretty Intensive Grid View

Aug 3, 2010

I'm about to have to write a web page/app that will serve the agenda for circa 100 people on a page. One line per person, one column per day with 3 clickable zones in each cell. In HTML, the page is way complex for the browser to load quick and there is no possibility to click on a border between 2 cells to for example split an event that spreads among several cells. So I search an not too overkilling technology to render this kind of view. I begun with a PHP generated HTML page but the number of elements in the page make the mouse move jerky.

Moving to JAVA would give me better performances regarding the reuse of the generator of the view but it will still be an HTML page. So, here is my question: do you think that going forward with JAVA and its graphical capability is the simple solution or is Flash a better option for this part of a Web App? I'm afraid of the code I'll have to write in JAVA to handle the GUI presentation as well as the events generated by the 1000's cells plus borders of the page. In Flash, the graphical part seems simpler even if the actions handling is still huge.

View 2 Replies

Actionscript 3.0 :: Make A 360º View Bubble Like Google Street View

Mar 18, 2010

I am wondering how to make a 360º view bubble, like they use for Google Street View, but have no idea how to go at accomplishing this task... i have the string of photos that i attached in photoshop(so that if you connected the left to the right it would be a full 360º view).

View 1 Replies

Actionscript 3 :: Load PDFs Dynamically And Store Each Page Of The PDF Into Flash

Jan 4, 2011

In my application I need to load PDFs dynamically and store each page of the PDF. Currently what I'm doing is converting each page to an image using some php code and then importing each image to flash, but I was wondering if there is a better way. Or is converting to images then importing to flash the best option?

View 2 Replies

ActionScript 3.0 :: Multiple Instances Of Single External SWF - Loading PDFs

Nov 13, 2008

I'm trying to make a custom PDF viewer in flash. Currently I've found a freeware server side script that will convert the PDF into a single Flash AS3 SWF file with each page from the PDF on a new frame. Loading this is no problem. I can navigate through the pages with a simple gotoAndStop(frame); call.

Here's my problem: I want to display more then one page at a time. I want to be able to scroll through the pages and see one page going off the top of the screen while the next is coming up from below. So, how can I put multiple instances of this SWF on the stage? Do I have to load it with a loader and URLRequest multiple times? or can I make copies of the one I've already got somehow?

I still have to load PDF in flash, but if I could find a better way to create an SWF out of the PDF. I'm currently using pdf2swf and it's great and all. Maybe there is some functionality to that program that I'm missing. Some other way to organize the PDF pages in the SWF.

View 8 Replies

ActionScript 3.0 :: Buttons To Call PDFs Of Menus - Error With URLRequest

Sep 9, 2010

Basically im building a site and using buttons to call up PDFs of menus. Found some code and adapted it to suit, but am getting some errors:
desc: 1137: Incorrect number of arguments. Expected no more than 1.

import flash.net.URLLoader;
cafe_btn.addEventListener(MouseEvent.MOUSE_DOWN, buttonclicka);
function buttonclicka(event:MouseEvent):void {
var homeLink:URLRequest=new URLRequest("menus/cafe.pdf","_blank");
navigateToURL(homeLink);
[Code] .....

View 2 Replies

Flex :: Removing Flex DisplayObjects From View AND Memory Pool

Feb 15, 2011

There is a Flex app with 7 main views. And there is a memory issue when navigating between views.All these views were in a ViewStack, but due to some involving 3D objects I assumed it was too much to have it all in the display list. I'm now clearing all children from the stack and adding/removing them when needed. This gave a small performance increase, but still becomes unresponsive with use. The strange thing is, with this and the original method, the CPU climbs with use but eventually levels out somewhere. Now I'm creating new instances of each screen when they are navigated to and setting the previous variable to null. Now it looks like CPU is spiking when the view is created, but leveling out to something much much lower than it was. This felt like progress, but now the available memory keeps climbing where it wasn't before....

My understanding was calling remove child or remove all children would mark the object for deletion when the garbage collector next ran. I can't see any other references to the instance. My code is along the lines of [code]I have a function for each button to add a new instance like the above.The only thing I can see and feel silly asking but need confirmation, is each view extends a class called "Screen", this class contains a singleton reference to some core components.[code]Would this trick the garbage collector into thinking it was still needed? General advice on clearing Objects from the memory pool would awesome!!! I've never needed to analyze the Flash Player in such depth.I think it's an error with sound drivers, removing all sound and shes purring like a kitten. Works on my machine fine with windows XP, but not on the touch pad the application is crashing on with windows 7 (unsure of the drivers looking into them now) Now I'm thinking its not the drivers, tried 3 different versions, all with no improvement. I did discover the sound was fading in and out with the TweenLite lib. Doesn't look like there are any memory leaks in TweenLite as it works fine on other machines. Just the use of volumeEasingFunction seems to consume increasing amounts of CPU until it freaks out. It is crappy hardware running windows 7, which doesn't help.

View 1 Replies

Actionscript :: Flash FTE - Creating PDFs Out Of Rendered Output, And Selectable Text In PDF?

Feb 12, 2011

I wrote a huge post first but thought I shouldn't drop a wall of text here. Here's a summary of a problem that I'm hoping you all can provide some insight in:I have a web app for a client which uses Flash text engine api (not TLF) to layout some text in a report.The text requirements are specific so we like using FTE for typography.Now that the text is looking perfect to the client, how do I make what I'm seeing on screen into a pdf that looks identical?Tried purepdf or alivepdf sprite->bitmap->pdf approach... terrible results - we need resolution independenceLooked at purepdf api - doesn't seem to be a way of converting the final sprite output directly to the pdf.... seems like it'll require me to use their own API for typesetting / layout... which defeats the purpose of using FTE to do this (we'd lose kerning / ligatures etc that way?)Finally using the flash -> print -> using postscript driver like pdfconverter or cutepdf -> pdf ........ this is great because the pdf looks exactly like display and is vector-output (res-independent), BUTUsing FTE, the pdf created this way doesn't have selectable text in pdf! flash TextFields -> pdf do retain selectability. Basically pdfconverter doesn't embed the fonts in the pdf when FTE is used... it DOES embed the fonts in a pdf made the same way with same fonts in MS Word or something

View 1 Replies

ActionScript 3.0 :: Flash FTE - Creating PDFs From Rendered Output And Selectable Text In PDF?

Feb 12, 2011

- I have a web app for a client which uses Flash text engine api (not TLF) to layout some text in a report. The text requirements are specific so we like using FTE for typography. Now that the text is looking perfect to the client, how do I make what I'm seeing on screen into a pdf that looks identical?

- Tried purepdf or alivepdf sprite->bitmap->pdf approach... terrible results - we need resolution independence Looked at purepdf api - doesn't seem to be a way of converting the final sprite output directly to the pdf.... seems like it'll require me to use their own API for typesetting / layout... which defeats the purpose of using FTE to do this (we'd lose kerning / ligatures etc that way?) Finally using the flash -> print -> using postscript driver like pdfconverter or cutepdf -> pdf ........ this is great because the pdf looks exactly like display and is vector-output (res-independent), BUT Using FTE, the pdf created this way doesn't have selectable text in pdf! flash TextFields -> pdf do retain selectability. Basically pdfconverter doesn't embed the fonts in the pdf when FTE is used... it DOES embed the fonts in a pdf made the same way with same fonts in MS Word or something

1- How do I get the text to be selectable in the PDF created from FTE > postscript method

2- (If not that) - How can I create a PDF from flash where the PDF is identical to what I'm seeing on screen - basically doing a direct final-rendered-Sprite to PDF .... if there's a way to make that PDF manually, then maybe I can embed the fonts manually...

Some context:

- How we're using fonts - they're SWF's created from teh fonts using [embed] and embedAsCFF=true for use in FTE

- I thought of using FTE only for typesetting / layout - and when we get the TextLines, using the good old flash...TextField (which does become selectable in final pdf) .... but I cant do that because some of our textlines have several variations of font styles and inline (GraphicElement) images on the same line.... I think its impossible to detect all of those variation can create the appropriate number of textfields?

View 1 Replies

Flex :: Split View In Adobe Flex Mobile?

Nov 24, 2011

I have four views:1.SplitView (main view)2.SplitViewHomeView(root Panel)3.SimpleView(Right panel)4.Details(child of Right Panel View).I am trying to accomplish the split view as in Ipad in adobe flex mobile.But unable to connect the root panel to right panel...Can any one suggest the path to me.My Code is below

Split View
**
<?xml version="1.0" encoding="utf-8"?>

[code]...

View 1 Replies

ActionScript 3.0 :: Purepdf Has The Ability To Save Formatted Text From A User-inputted Text Field

Jun 15, 2011

I'm wondering if purepdf has the ability to save formatted text from a user-inputted text field. If so, how is this achieved? From what I understand, purepdf is basically iText, and I believe iText has the ability to parse HTML and save formatted text into a PDF. Does purepdf have that same functionality that I can tap into and plug in 'textfield.htmlText' somewhere?

View 4 Replies

IDE :: Unable Link To Files Such As PDFs, JPGs And WMVs Giving The User The Ability?

May 4, 2009

Do you still have to use Flash wrappers like Zinc to be able to save files from a CD using a Flash projector. In the same way you would use Filereference.save?

I've got a DVD style project where I need to be able link to files such as PDFs, JPGs and WMVs giving the user the ability to save these to their local drive.

View 1 Replies

Professional :: View To A Webpage In Normal View?

Nov 25, 2010

I am using Flash CS4 AS3.. When I open my browser "Internet Explorer 7" it opens normal. But When I open a link using the following Flash code it opens half in length and half in width. I need to click on "Maximise" button to view in full. How to solve the problem? It is our Intranet link.
 
PM3.addEventListener(MouseEvent.CLICK,PM3ClickHandler);
 
function PM3ClickHandler(event:MouseEvent):void { navigateToURL (new URLRequest ("http://engineering/history/thisyear/ceomessage.htm"));
}
 
I tried modifying the line as well. It also doesnt work.
 
navigateToURL(new URLRequest ("http://engineering/history/thisyear/ceomessage.htm"), "_blank");

View 3 Replies

ActionScript 2.0 :: Canvas View/cropped View?

Oct 8, 2009

in flash, I encounted a source file that is cropped and I cannot move it, is there some sort of cropped view in flash I dont know about? I cannot find anyinformation about it, it has rulers displayed as far as I remember.

Basically you cannot move in the file to edit anything viewpoint wise, everything outside of the movie area is invisible and not there? As if cropped.

View 0 Replies

Flex :: Best View Architecture In It?

Aug 11, 2011

I have started learning flex 4 and I got myself thinking about how to change views. So I have a question what do people usually use - states or views (ViewStack). The type of web application I am making, can use both, but what do developers use in big projects or maybe they use non of the mentioned before?[code]...Best view architecture in it?

View 1 Replies

Flex :: Create And View Flash Log?

Apr 5, 2012

I want to create log file for my flex application. That is the file should contain all the trace prints in it when I run my flex application. How can I configure flex to do this?

View 3 Replies

Flex :: How To Change View State

Sep 22, 2010

Following is a simplified version of my mxml:

[Code]...

"A term is undefined and has no properties..." which points me to the line this.parent.currentState='edit'.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved