Flex :: AlivePDF - Display Pdf In The Browser?
Nov 26, 2010
I'm testing alivePDF 0.1.5 and till now everything's been fine. I'm super interested in the new function writeFlashHTMLText() cause it makes my life so much easier! xD I'm now trying to display the generated pdf in a browser tab/window instead of just saving the file (using the filereference class' save function). I saw that there was a PDF.save() function that allowed that specifying the argument Download.INLINE. However I don't want to use the save function of the pdf class cause I don't want to use a script.
View 1 Replies
Similar Posts:
Jul 3, 2010
I have AlivePDF with Flex, making a webapp. I've got version 1.5 of AlivePDF but can't seem to set the font:
myPDF.setFont( FontFamily.ARIAL, Style.BOLD );
this gives an error of "1067: Implicit coercion of a value of type String to an unrelated type int." Am I doing it wrong?
View 2 Replies
May 19, 2011
I have a flex component, a VBox, that has content inside it. Text components mainly.The VBox is holding a report that I want to be able to save to PDF. I am using AlivePdf to achieve this but the PDF produced is blank when viewed in Adobe reader (latest version).When I open the PDF in Notepad++ I can see that there is definitely content in there and the file appears to be structured correctly.This is the method I am using to generate the PDF:
private function doPrint(whatToPrint:UIComponent):void
{
var printPDF:PDF = new PDF( Orientation.LANDSCAPE, Unit.MM, Size.A4 );[code].....
View 1 Replies
Jun 25, 2010
I need to export charts and data tables to pdf file in flex application.For this we can user AlivePDF but i need to export to local not server.Can we export to local system prompting user to select the location to export?
View 2 Replies
Feb 28, 2011
I have a large web application with verticalScrollBar with few charts and large datagrid. I am planning to create pdf of my web application using AlivePdf.
Right now, Im using below code to creat a pdf of my application, but no luck.
var printView:DisplayObject = new InteractionsAnalysis() as DisplayObject;
printView.width = Application.application.width;
printView.height = Application.application.height;
[Code]......
View 1 Replies
Jan 24, 2011
I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf. I am taking the image inside a canvas. How do I control my images so that they come fit on that pdf file for any image size that I take.
View 1 Replies
Jan 12, 2010
I am trying to use AlivePDF to save a chart into a .pdf file. However, when I try to save my chart, it ends up clipping half of the chart in the pdf so it isn't even fully visible. It seems that the screencapture that AlivePDF took to generate my pdf was too small.I am trying to get a chart from a sample to work with sample code for using alivepdf that I picked off the web.[code]
View 1 Replies
Nov 23, 2009
I downloaded AlivePDF 0.1.4.8 and 0.1.4.9 from the their site. However, I am having difficulty implement it in CS3 or CS4. The SWC file just won't show as others do.
View 1 Replies
Dec 18, 2009
in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox and button "Send"; so let's say I want to be able to programmatically paste the text and press Send or otherwise activate it. That's NOT what I am trying to do here in reality (i.e., no,I am not trying to spam other people's chat rooms or anything)but just an illustration of a similar situation.I can include in it whatever widget or hack that may be necessary.The reason why this problem is arising for me is that AFAIK the SDK that is providing me the data I want cannot be directly accessed from Flash, so I need a way to pipe the data from a regular app into Flash. can I have the Flash app interact with other apps through localhost IP? Or are there draconian restrictions on which server Flash in browser can and cannot interact?
View 1 Replies
Oct 27, 2010
The title essentially is the question, how do I open the .swf without the browser's control bar junk? and maximize the window?
View 2 Replies
May 6, 2010
I feel stupid to even ask this question...but how do I get started with AlivePDF? I have downloaded the .zip-file and extracted the files, but what to do next?? I have a .fla-file I want to conect it to.
View 3 Replies
Apr 5, 2010
How to display new scene on top of the browser as default I have a flash animation with 15 scenes, On main page there are many links and user has to browse vertically using browser scrollbar, when a user clicks on a link which is at the bottom and goes to that page the position of scrollbar is same as that was on main page (scene), I want the new scene to be opened at top of the browser as default.
View 2 Replies
Apr 5, 2010
I have a flash animation with 15 scenes, On main page there are many links and user has to browse vertically using browser scrollbar, when a user clicks on a link which is at the bottom and goes to that page the position of scrollbar is same as that was on main page (scene), I want the new scene to be opened at top of the browser as default.
View 3 Replies
Jan 28, 2011
I am very new to flash ads and we are on a new platform after a website redesign. I'm having trouble with flash display settings I'm guessing since the ad displays fine in IE, but not fine in Firefox and Chrome. Images to follow (for the curious it is a YWCA ad):
Here you see overlap on the current version of Firefox.
This ad has wings! Current version of Chrome.
This is IE. What? IE is right and the other browsers aren't? What gives!?
Additional details: The position is a plugin position for Wordpress. The ad is being placed via Ad-minister with the following code:
[Code]...
View 1 Replies
Apr 8, 2010
For clients editing ease, I've used external jpgs & external txt. When published both html & swf work fine. However when uploading to webpage, the jpgs will load, but the external text will not.
View 1 Replies
Jan 7, 2011
Create tables with AlivePDF?
View 3 Replies
Mar 31, 2010
I am wrapping my head around AlivePDF. I can't seem to find an aswer to this question. Can I add a movieclip as the data to include inside the page? I have it so that the PDF generates text from specific text fields, but I want it to show "mainContent_mc" to the page. I am building this as an AIR app (apperantly you can't do this from an EXE file published from Flash).
View 1 Replies
Nov 23, 2009
Been trying to crack adding images to a pdf using AlivePDF 0.1.4.9 for a week or two now. Creating the pdf and adding text was straight forward and easy to do. How ever adding an image has managed to illude us. I have included our code below. We have also tried the addImage() method without success as well. Our code builds perfectly but produces a blank pdf that opens and says An error has occurred on this page
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.DisplayObject;
[Code]....
View 1 Replies
Sep 19, 2011
I'm looking for ways to solve this. I need to save a pdf to server. All the searches brought me to either file being downloaded or being saved locally. Is there a way to use alivepdf to save on server folder?
View 6 Replies
Sep 21, 2006
Looking for getURL syntax /parameters that will let me open/display a specific page of a PDF in a new browser window.
Tried this, but it's not working:
pdf_btn.onRelease = function() {
getURL("pdfs/sample_file.pdf#page=605", "_blank")
}
The pdf file opens in a browser window, but not to page 605. It opens to page 1 of the pdf.
View 2 Replies
Feb 22, 2011
It goes like this, we need to detect if the display is a Projector (or if the system is connected to a Projetor).the catch is this should be done from within the browser.so is it possible to do so by using anFlashActiveX (this does constrains to a single browser, so not an option)searching so far only reaveals display resolution. expecting if there is something still out there.
View 2 Replies
Aug 14, 2009
I have a problem to display flash file in fullscreen in the browser. My requirement is the same one as below link.
[URL]
View 5 Replies
Dec 17, 2009
I was wondering if anyone knew of any code that would load a page title when a SWF file was pulled into a browser without any HTML code. Is this possible?
View 1 Replies
Feb 15, 2011
I am using AlivePDF to generate/save pdf on local machine which is working fine.[PHP] var savePDF:PDF; var bytes:ByteArray; var f:FileReference = new FileReference(); savePDF = new PDF (Orientation.PORTRAIT, Unit.POINT, Size.LETTER); for (var i:int = 0; i <numPages; i++) { //add all pages } bytes = savePDF.save( Method.LOCAL); f.save(bytes, "abc.pdf");[/PHP] I am looking for a solution through which I can print the pdf without using any server side technology.
View 3 Replies
May 9, 2011
How can I display the vertical scrollbar in an .fla that is taller than the browser window?'ve created a file that loads thumbs from an .XML file and displays them in rows. You guys taught me how to do that and it works greatThe stage will be larger than a typical browser window and extends below the botom of the users' screen. When I test the file (in the environment) and when I publish it to HTML, no vertical scroll buttons are visible. The thumbs seem to be displayed properly except for the fact that the rows of thumbs go beyond the bottom of the screen and there is no way to scroll down to see all of them.When I publish just the .fla and manually embed it into an HTML page in Dreamweaver, the vertical scrollbar appears and works as expected.
View 2 Replies
Feb 14, 2011
I'd made a flv video player. It's get variables from flashvars. Display wijth swfobject.embedswf in the browser. Sometime something wrong the player. I think, the AS is not runnung. I can see just the player graphics objects.
View 1 Replies
Apr 22, 2010
adding the grid to a pdf with some other elements on there as well.text is not showing up in some cases. I've tested myself silly on the computers i own but there doesnt seem to be a problem.However, the person i made this for keeps saying text doesnt show up. I've seen the results of his instance of this tool and the keen, trained eye suggests that every row gets stretched out to the bottom (and beyond) of the page. A select all copy paste into plain text app suggests there is no text in the pdf (except for the text that IS showing up)
View 2 Replies
Dec 15, 2010
I have downloaded alivepdf open source library.Now I want to import the classes given in the library...for that how to install that lib...or where to put the folder...or what should I do to stop the compiler from giving me the error for lineimport org.alivepdf.
View 4 Replies
Feb 15, 2011
I am using AlivePDF to generate/save pdf on local machine which is working fine.
[Code].....
I am looking for a solution through which I can print the pdf without using any server side technology.
View 4 Replies
Jun 28, 2011
How do I identify all the display objects in the display list in ActionScript, bellow the one that I have clicked? All the other objects are shadowed by the first one. What if other objects have visible parameter as hidden?
View 1 Replies