Have you looked at flash.net.filereference? http://livedocs.adobe.com/flex/3/langref/flash/net/FileReference.html
--- In [email protected], "shiv_indian" <shiv_ind...@...> wrote: > > Hi Alex, > > Sorry to disturbing you again. I tried to use google flex iframe > to resolve the download file/attachement issue. The google flex > iframe working fine as web application and google iframe using > ExternalInterface.If I use google iframe in adobe AIR its giving > error as AIR is not supporting ExternalInterface. > > I gone through the <mx:HTML> API, failed to find the solution :( > > Thanks & Regards, > Siva Kumar > > --- In [email protected], Alex Harui <aharui@> wrote: > > > > I still don't understand how ExternalINterface got involved. I > haven't used mx:HTML much, but I would expect you can view most > sites that allow downloading and download something. > > > > mx:HTML basically wraps the flash.html package. Read the doc on > the those classes. > > > > From: [email protected] > [mailto:[email protected]] On Behalf Of shiv_indian > > Sent: Tuesday, December 23, 2008 8:04 PM > > To: [email protected] > > Subject: [flexcoders] Re: Embedding HTML page into Flex using > Adobe AIR > > > > > > Hi Alex, > > > > This is one of requirement from our customer. Is there any > > alternative for ExternalInterface or is there any feature in > > <mx:HTML> tag to download files / attachments. > > > > Thanks & Regards, > > Siva Kumar > > > > --- In [email protected]<mailto:flexcoders% > 40yahoogroups.com>, Alex Harui <aharui@> wrote: > > > > > > If the embedded HTML contains Javascript that is trying to use > > ExternalInterface, that won't work, but I don't understand why you > > would need that to download a file. > > > > > > From: [email protected]<mailto:flexcoders% > 40yahoogroups.com> > > [mailto:[email protected]<mailto:flexcoders% > 40yahoogroups.com>] On Behalf Of shiv_indian > > > Sent: Tuesday, December 23, 2008 2:35 AM > > > To: [email protected]<mailto:flexcoders% > 40yahoogroups.com> > > > Subject: [flexcoders] Embedding HTML page into Flex using Adobe > AIR > > > > > > > > > Hi, > > > > > > This is Siva Kumar. Need help in embedding an HTML in Flex . We > > > are using Adobe Air using Flex. To embed an HTML in Flex we used > > > <mx:HTML> tag. Its working fine but whts the problem is its not > > > allowing to download files / attachements. To download > attachments > > > do I need to change any files in flex. I tried to use google flex > > > iframes to resolve this issue. I am able to download > > > files/attachments if I open application as web / standalone. If I > > > try to open same application using adobe air its giving error > like > > > > > > " ExternalInterface is not available in this container. Internet > > > Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other > > > browsers that support NPRuntime are required." . > > > > > > Later wht I found is at present ExternalInterface is not > supporting > > > adobe air. > > > > > > Could anybody help me to resolve this issue. If anybody has any > > > idea on how to overcome this issue. Please suggest me to resolve > > > this issue. Thanks in Advance. > > > > > >

