http://livedocs.adobe.com/flex/3/html/help.html?content=PDF_1.html
On Mon, May 3, 2010 at 3:59 AM, Malek S <[email protected]> wrote: > Hi all, > I have one urgent requirement. > > i have to render PDF in my application. > I am using Iframes. > > however i am not able to see anything inside my browser. > I am pasting my code > kindly help me in that > > its urgent kindly help me. > i have copied it from some sample. > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > > xmlns:flexiframe="http://code.google.com/p/flex-iframe/" > > horizontalAlign="center" > > verticalAlign="middle" > > viewSourceURL="srcview/index.html"> > > > > <!-- Example project presentation --> > > <mx:ApplicationControlBar dock="true"> > > <mx:Text selectable="false"> > > <mx:htmlText><![CDATA[<font color="#000000" > size="12"><b>Flex-IFrame - Simple html example</b><br>This example shows how > to embed a simple Html page in a Flex application.</font>]]></mx:htmlText> > > </mx:Text> > > </mx:ApplicationControlBar> > > > > <!-- A local Html page embedded --> > > <mx:Panel title="A simple Html page embedded" > > width="80%" > > height="80%"> > > > > <flexiframe:IFrame id="myFrame" > > width="100%" > > height="100%" > > source="assects/JavaCollectionsFramework.pdf"/> > > > > </mx:Panel> > > > > </mx:Application> > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

