(See responses below...) --- In [email protected], "Wally Kolcz" <wko...@...> wrote: > > 1.) Flex is just an SWF file. You can set the application to any size and embed it as a SWF. > 3.) Flex has a really good printing solution allowing you to add elements to a print job and control the order of printing. > > I believe that AlivePDF can convert and export Flex information as a PDF document. > > ---------------------------------------- > From: "ksunair" <ksun...@...> > Sent: Thursday, February 12, 2009 5:36 AM > To: [email protected] > Subject: [flexcoders] Newbie Help > > Hi All, > > I am very new to Flex as a matter of fact I just wrote hello world :) > > Anyway, I am evaluating Flex against SilverLight for our new development. Our current web > > app is legacy ASP (not ASP.Net) and I have completed a prototype for SilverLight and as a > > C# developer I was able to get it done pretty fast. I was reading about Flex and it seems to > > be also straight forward. I have few questions if someone can help me with. > > 1. Is it possible to add a flex object to an existing ASP page. If not, how can I call and pass > > information between classic ASP and Flex, is it possible? >
As mentioned by the other respondent, ultimately a Flex application compiles down to a Flash byte code (.SWF) file. Your ASP page needs have a reference to that file, but via <Object> & <Embed> tags. However, Adobe has already done a lot of the tedious work for you. When you build a Flex application, the IDE will spit out an HTML page with the proper tags and file reference already in it. All you have to do is serve that page up via ASP. As for data access, your Flex application can send data to your ASP server using the HTTP GET and POST verbs. When the server replies, it can send POX (plain old XML) in response. If you want to get fancy, you can also use SOAP, instead (but there may be some wrinkles doing that with a .NET/Windows stack). > 2. I would like to know how to create a hierarchal data grid in Flex? I saw some examples > > of the new Hierarchical collection, if it is the solution, is there a simple example > > somewhere I can use? > Try Adobe's documentation: http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_07.html > 3. I would like to print reports from web and currently silverlight has buggy > > implementation of print, is it possible to print from Flex web page? Also is it possible to > > export the data to PDF or HTML format? > More documentation: http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_07.html > I am doing reading right now, as the Flex expert you could help me speed up to make my decision. > > Thanks a lot. > Oh, as a former ASP and .NET developer, I'm happy to say: Flex rocks! --Jim

