> Am I correct is gleaning from my google searches that there is no way to 
> display a pdf in Flex? (Not Air).

Flex is not the opposite of AIR. Flex is a technology for developing RIAs as 
SWFs that run either in browsers with Flash Player add-ons or in AIR. But 
you're correct that Flash Player add-ons can't display PDFs; this is because 
these players are very small and PDF-rendering code would make them too large. 
I think developers sometimes use browser iframes to display a PDF, floating 
above the SWF but looking like it is part of it.

Other possibilities

1. Use HTML in an iframe.

2. Use htmlText in Halo components. (Halo components are the ones familiar from 
Flex 3 in the mx.* package.)

3. Use TLF by itself, or TLF-based Spark components. Both are in beta. TLF is 
the Text Layout Framework, an ActionScript library written on top of Player 
10's new Flash Text Engine (FTE). Spark components are new in Flex 4 and live 
in the spark.* package.

Gordon Smith
Adobe Flex SDK Team

From: [email protected] [mailto:[email protected]] On Behalf 
Of lrlarsonny
Sent: Wednesday, June 24, 2009 11:23 AM
To: [email protected]
Subject: [flexcoders] PDF - Text Display





Hello --

Am I correct is gleaning from my google searches that there is no way to 
display a pdf in Flex? (Not Air). And that flashpaper is no more?

Given that, how do developers show formatted text?

We are building an app that will show documents within the published flex swf, 
and I just assumed that there was a way to do this.
Thanks

lrlarson
nyc

Reply via email to