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


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 :: 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

Flex :: Send Some Data To PHP Using HTTPService POST?

Jun 2, 2010

I'm trying to send some data to PHP using HTTPService POST but for some reason it's not working. The same example works with GET but not with POST:

private function start():void{
var param:Object = {};
param.date = "2010-10-10";

[code]....

But when I change the method in HTTPService to GET and in PHP I get the result as expected - PHP sends back the date:

2010-10-10

View 1 Replies

C# :: POST Data To A Flex/Flash (mxml) Application?

Feb 19, 2010

I have Flex application requiring to filter users depending on there database groups.Depending on which group they are, the're is a config.xml file that is use to populate the swf.Here is how I figure how to do this : 1. The client comes to a .aspx page with a form requiring a username and a password. 2. On the server side I confirm the user credential . Once the username/password is valid I redirect to the mxml file with the config.xml file in the html headers (post).My problem comes when I need to get the post data from the http request. Let's say I have this code :

<mx:Application initialize="init()">
<mx:Script>
<![CDATA[

[code].....

View 2 Replies

Send Xml Data To The Server Using HttpService Request Thr POST In Flex?

Dec 12, 2009

send xml data to the server using HttpService request thr POST in Flex?

View 1 Replies

Flex :: Send HTTP POST Request With Binary Data In Body

Sep 17, 2009

I'm new to Flex and couldn't figure out yet how to send binary data to the server as the body of a POST request. The HTTPService component doesn't seem to support this. The FileReference doesn't seem to support setting the data via the Flex API.

View 4 Replies

Flash :: Data Integration - Post Data (values) To Aspx Page

May 26, 2006

I have form in flash with input text fields with Var field set to t2_2 t3_2 t4_2... what i want to do when user enter values and press buton it should post data(values) to aspx page - how can i do that ? i saw what i did

[Code].....

then i can access t2_2 value on aspx page, so what shoul i put before getURL so it will set values from texboxes

View 2 Replies

Professional :: Flash To Post Commentaries On A Website?

Mar 31, 2010

I would like to insert a flash  plugin to the mywebsite: [URL] in order for the visitors to be able to post commentaries live. Is it  possible with flash or should I make this with java or ajax or  whatelse..

View 3 Replies

Flash :: Can't Get Simple Document To Post To Website

Nov 26, 2010

I have created a simple page in Flash CS4 for my class and for some reason when I go to publish the page online all I get is an empty page colored blue (background) but neither the title or any of the graphics or images on the page show up, it is kjust a blank blue page on the web browser. I really need an explanation for this so that I do not fail the project.[url]...

View 11 Replies

ActionScript 3.0 :: Send Data From SWF 2 To PHP Script Without Post Data?

Feb 18, 2010

Using localconnection i can send data from one swf to another.

[Swf 1] Send data to [SWF 2] - This works with LocalConnection
[SWF 2] Sends this data to [PHP script]

Is there a way to send data from SWF 2 to PHP script without post data? or what would be the secure way to do it?

View 4 Replies

Flash :: Library For Converting Flex TextLayoutFormat Data To HTML And CSS?

Apr 8, 2011

I have the job of recreating a flex app in HTML and CSS. The existing app makes considerable use of TextFlow to layout content. For several reasons I need to be quite accurate (within a few pixels) with positioning.

[Code]...

Ideally I'm looking for a library I can use to translate these many attributes into "proper" html and css. The current technology stack is PHP at the back end and javascript at the front end, but there would be little problem in using any other language to do the translation.

Failing that I guess I'll try and write my own, using the api reference as a guide.

View 3 Replies

Flex - Post Data From A Flex File To A Php File?

Oct 22, 2010

How to post data from a flex file to a php file? I am not able to create an action.

View 2 Replies

Flash :: How To Post Data To PHP

Mar 31, 2011

I'm trying to parse an image file, but i get the 504 error. Normal data, like text or numbers its ok...

View 1 Replies

ActionScript 2.0 :: Several Mc Post Data?

Jun 11, 2006

Code:
regKnop.onRelease = function() {
naam = naamMc.user.text;

[code]....

View 1 Replies

Data Integration :: How To Post Variables To URL

Aug 1, 2006

I am using the following code to try and post variables to a URL, but the SEND command is still posting the variables via GET.
// ls_print is the URL I am attempting to POST to
lv_request.send(ls_print, "_blank", "POST");
This is what the documentation says, so I'm lost.

View 3 Replies

ActionScript 3.0 :: Sending Data Using PUT Not POST?

Jun 18, 2009

Im trying to send data to a REST service. I able to send data useing 'PUT'  or does it have to be with 'POST?

View 1 Replies

Php :: Why Would Some POST Data Go Missing When Using Uploadify

Apr 19, 2010

I have been using Uploadify in my PHP application for the last couple months, and I've been trying to track down an elusive bug. I receive emails when fatal errors occur, and they provide me a good amount of details. I've received dozens of them. I have not, however, been able to reproduce the problem myself. Some users (like myself) experience no problem, while others do. Before I give details of the problem, here is the flow.

[Code]...

View 4 Replies

Php :: Post Multiple Rows Of Data?

May 12, 2011

There are a few examples on the web showing how to post a row/form to mysql with flex php. I think it will be valuable if it allows user to post multiple rows of data. Supposed I have a datagrid and its id is myDG, how can I post the datagrid data to a table in mysql? I am using Flash Builder 4 and I need a solution based on Flex 3/4 + PHP + MySQL.

View 2 Replies

Flash :: Echo Raw Post Data In PHP?

Aug 2, 2011

My goal is to simply echo $_POST['imageVar']; back with content headers as a quick and dirty means to "export" an image from a flash application. I saw an example of this as follows, but it does not work with my php version/config:

if (isset($GLOBALS["HTTP_RAW_POST_DATA"]))
{
// get bytearray

[Code].....

View 2 Replies

ActionScript 3.0 :: Asp.net Mvc 3 - Send POST And Get Data From .Net 4 Using MVC

Jan 29, 2012

I am trying to get my flash application to send a request back to the webserver so that it can get some information. So far after reading on stackoverflow for a while and on the net I have some code written, but its not quite working right. I need just a little help tying it all together.

[Code]....

View 1 Replies

ActionScript 3.0 :: NavigateToURL With POST Data?

Jun 24, 2009

I have a working POST submission form in as3. It works for me in firefox and IE, but for the client it fails in Firefox for some reason (seemingly doesn't send the POST data)? I have allowScriptAccess in place and set to always. I am using the post method in my URLRequest.Yet it only works for the client in IE. Are there any Firefox version issues or settings I should be aware of? We are both using the same flash player

View 1 Replies

ActionScript 3.0 :: Reading POST XML Data In JSP?

Aug 7, 2009

I am currently doing a simple project, and I need to save the players' scores into database for later retrieval. I used URLLoader and URLRequest to send XML object containing game score to a JavaServer Page (storedata.jsp) running on Apache Tomcat server. The AS3 code snippet is shown below:

public function sendData(xmlData:XML):void
{
var xmlData:XML = <block>
<chapter1>

[code]....

However, here comes the problem. The pageContext.request.reader doesn't return a parsed XML object. When I display using c: out, I saw [#document null] output. Hence, the x:set statement generates runtime error.

View 2 Replies

ActionScript 3.0 :: Loading Php Post Data?

Mar 23, 2012

I don't really know much about variable and i doubt this is 100% relate to it maybe I'm right maybe I'm wrong but i was wondering if anybody will give me an example on how to load the output from my example.php file to as3. for example this is what the php code display after collecting the data.

Code:
[status] => ON AIR
[title] => Radio Swiss Pop
[description] => Die besten Pophits der letzten 40 Jahre

[Code]....

How can i take whatever it shows on the result of the bracket symbol to a as3 movie ?

View 7 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 :: Retrieving Post/get Data In Flash?

Jun 1, 2009

I have a page, written in php that recives and  ID value for Album information stored in an XML file. The XML File contains a links to "Samples": I'm trying to get my flash file to "retrive" the data (the ID value) from the php page (the flash file will be embedded), and make a list of samples that can be played. A sorta of an Audioplayer. I already know how to retrive XML data, but the retrival of the ID value from the PHP is a puzzle for me...

View 5 Replies

Retrieve POST Data In Flash Movie?

Oct 5, 2010

I have a web page with a button that does a redirect to another web page with a flash movie in it. The button on the first page sends http post data as part of it's functionality.

View 1 Replies

ActionScript 3 :: How To Combine Two ByteArrays (Post Data)

Dec 22, 2010

I'm trying to combine two ByteArrays to send it out as post data using URLRequest.. Whenever I try to simply add them up, the request becomes get instead of POST and the data for some reason doesn't get included.

View 2 Replies

Actionscript :: POST Data To External Server?

Jun 14, 2011

I need flash to POST some data to an external server is this possible in AS2? Can't get an answer on google and want to know before I implement it.

View 1 Replies







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