Re: [flexcoders] Shape Detection in BitmapData

2008-12-26 Thread Weyert de Boer
You might want to check out the last session form Mario Klingemann at 
MAX. You can find it at: http://tv.adobe.com


[flexcoders] Shape Detection in BitmapData

2008-12-26 Thread shardul bartwal
Hi all,
I am working with the bitmapData.Inside my bitmapdata.There are different 
shapes which are closed by any particular kind of pixels. Also there is some 
text type also.For example there are some characters like 'A' ,'e',B etc.Now I 
have to change the pixels inside these characters type bitmapData.I want to 
know that is it possible with Flex.If any body have any idea pls suggest.I an 
not having any algorithm for detecting that particular shape of pixels.My 
purpose is to detect the pixels inside that particular area.
 
 
Thanx in advance
Shardul Singh Bartwal 


  Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/

[flexcoders] Shape Detection in BitmapData

2008-12-26 Thread shardul bartwal
Hi all,
I am working with the bitmapData.Inside my bitmapdata.There are different 
shapes which are closed by any particular kind of pixels. Also there is some 
text type also.For example there are some characters like 'A' ,'e',B etc.Now I 
have to change the pixels inside these characters type bitmapData.I want to 
know that is it possible with Flex.If any body have any idea pls suggest.I an 
not having any algorithm for detecting that particular shape of pixels.My 
purpose is to detect the pixels inside that particular area.
 
 
Thanx in advance
Shardul Singh Bartwal 


  Cricket on your mind? Visit the ultimate cricket website. Enter 
http://beta.cricket.yahoo.com

[flexcoders] (unknown)

2008-12-26 Thread shardul bartwal
Hi all,
I am working with the bitmapData.Inside my bitmapdata.There are different 
shapes which are closed by any particular kind of pixels. Also there is some 
text type also.For example there are some characters like 'A' ,'e',B etc.Now I 
have to change the pixels inside these characters type bitmapData.I want to 
know that is it possible with Flex.If any body have any idea pls suggest.I an 
not having any algorithm for detecting that particular shape of pixels.
 
 
Thanx in advance
Shardul Singh Bartwal


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Re: [flexcoders] Re: How to know which DisplayObjects are underneath another?

2008-12-26 Thread Joseph Balderson
Overlapped is a little different than 'being at a lower depth.' It looks to me 
like you're looking for some collision detection in addition to depth sorting, 
as in "if one circle overlaps the other (collides with), then hide the lower 
one". That's simple if you're comparing two circles. But the moment you get 
into 
n-overlapping circles, you're going to have to look into more complex logic, 
like figuring out which /group/ of circles overlaps, as a subgroup of the 
whole, 
and amongst just /those/ circles, hide all those underneath.

The best place to start is to look into collision detection routines. First 
place to look would be the hitTest() method of the DisplayObject class. But 
that 
only gives you bounding box collision -- if you're looking for pixel-level 
collision detection, look into the hitTest() method of the BitmapData class.


___

Joseph Balderson, Flex & Flash Platform Developer | joeflash.ca
Author, Professional Flex 3 | http://tinyurl.com/profx3book


huhgawz wrote:
> Thanks for you fast response. Your suggestion works but it is not what
> I'm looking for. I'm sorry I guess I didn't explain well.
> 
> So here I come again:
> 
> Taking into account my previous example (the one with a Canvas and
> multiple Circles positioned randomly)...I need to hide all those
> Circles that are totally overlapped by other Circles.
> 
> Could someone help me with this?
> 
> --- In flexcoders@yahoogroups.com, Lushen Wu  wrote:
>> huhgawz,
>>
>> I think most UIComponents subclass DisplayObjectContainer, which has a 
>> method
>>
>> getChildIndex <#getChildIndex%28%29>(child:DisplayObject 
>> <../../flash/display/DisplayObject.html>):int <../../int.html>
>>
>> so call this to find the child index (basically z-order) of the 
>> lowest-ordered circle you want to have visible,
>>
>> then iterate all the Children underneath that index using the property 
>> numChildren and method  getChildAt <#getChildAt%28%29>(index:int 
>> <../../int.html>):DisplayObject <../../flash/display/DisplayObject.html>
>> and set them visible=false
>>
>> ref:
>>
> http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObjectContainer.html
>>
>> Hope that helps..
>>
>> Lushen
>>
>>
>> On 12/24/2008 12:50 PM, huhgawz wrote:
>>> Let's say you have a /Canvas/ in which you create multiple instances 
>>> of a /Circle/ randomly positioned. Then you want to know which 
>>> /Circles/ are underneath the top most /Circle/ (talking in /z-order/ 
>>> terms) in order to hide them all.
>>>
>>> Could you share an example of this?
>>>
>>> I would really appreciate any guidance
>>>
>>>
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
> 
> 
> 
> 


[flexcoders] Font loaded by StyleManager.loadStyleDeclarations(fontName, true) resets any new text formatting set via setTextFormat

2008-12-26 Thread Andriy Panas
Dear all,

I have TextArea component on the Stage with embedded font applied,
then at the runtime I set a bold style to a text inside TextArea to
"bold" via setTextFormat(newTextFormat) API.

Then, I load at the runtime compiled font from CSS - "Vera.swf" and my
bold formatting is lost immediately after external font finishes
loading.


Notice, that the second parameter in
StyleManager.loadStyleDeclarations(fontName, update) call is set in
the code to "true".

When I change this boolean parameter to "false" - then I will not
witness that my bold formatting is lost after compiled font finishes
loading at the runtime.

My question, why when "update" parameter is set to true, I will loose
all my text formatting changes made at the runtime?

Please have a look at the code below or the run the example from

http://jabbypanda.com/labs/runtimeFont/TestRuntimeFont.html



http://www.adobe.com/2006/mxml";
styleName="plain" viewSourceURL="srcview/index.html"
paddingLeft="10"
paddingBottom="10"
paddingRight="10"
paddingTop="10">

 @font-face {
src:url("/assets/trebuc.ttf");
   fontFamily: Trebuchet;
 }

 @font-face {
/* Note the different filename for boldface. */
src:url("assets/trebucbd.ttf");
fontFamily: Trebuchet; /* Notice that this is the same alias. */
fontWeight: bold;
 }






This is a multiline, editable TextArea control. If you need
a non-editable multiline control, use the Text control.



  

  

 










-- 

Best regards
Andriy Panas


RE: [flexcoders] Datagrid not updating when dataProvider is changed.

2008-12-26 Thread Tracy Spratt
Hmm, in my experience, re-assigning the dataProvider always results in
full re-rendering of the DataGrid. See if you can narrow down where the
problem is ocurring.  Use a bindable var as the dataProvider, or
updating the dp in different ways, or not using labelFunction.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Sefi Ninio
Sent: Thursday, December 25, 2008 2:14 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Datagrid not updating when dataProvider is
changed.

 

I'm combining two arrays into a temp arrayCollection and setting the
temp source into a new arrayCollection
dataProvider = new ArrayCollection(tempAC.source);

This dispatched a CellectionEvent.COLLECTION_CHANGED event with
kind=reset, and should update the DG...

On Wed, Dec 24, 2008 at 7:08 PM, Tracy Spratt mailto:tspr...@lariatinc.com> > wrote:

How are you updating the data provider items?  If you are using the
collection API, like setItemAt(), the necessary events will be
dispatched and the DataGrid will visually update.  If you are directly
assigning propety values to individual items, then you will need to call
itemUpdated(item).

 

Tracy

 



From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com  ]
On Behalf Of Sefi Ninio
Sent: Wednesday, December 24, 2008 5:02 AM
To: flexcoders@yahoogroups.com  
Subject: [flexcoders] Datagrid not updating when dataProvider is
changed.

 

Hi all.

I have a wierd situation, hopefully someone here can help.

I have a DataGrid's dataprovider bound to an myDP ArrayCollection (it is
defined as [Bindable]). Each column in the DG has a labelFunction.
When I set the myDP values for the first time, everything is sweet, the
data is displayed correctly.

When I update the myDP with new data, however, everything goes wrong.
The labelFunctions still get the stale data (from before the update),
and so the grid shows old data.
I verified the new data is updated to the DG's dataProvider (added a
listener to datagrid for CollectionEvent.COLLECTION_CHANGE - the new
data is updated in the DG dataprovider - checked in event's
currentTarget).

I can't understand why the dataprovider is updated and still the
labelFunction's item:Object contain old data...

Any ideas anyone?

Thanks,
Sefi

 

 



Re: [flexcoders] Tons of errors using FlexBuilder on Ubuntu

2008-12-26 Thread Fernando Wermus
In my case, it is much worse. I cant even install it. I tried to install it
with many Eclipses in Ubunt 8.04 in my laptop. The fact is that it only runs
in Ubuntu 7.04 & 7.10 according to Adobe's page. We are thinking to move to
Mac definitily, because Linux isn't a good bet. Adobe is not really
interested in a full support.

Bye!

On Wed, Dec 24, 2008 at 2:54 PM, Tyler Kocheran  wrote:

>   Now, before I start, I know that FlexBuilder Linux is in beta still and
> a lot of stuff isn't working. With that said, I'm experiencing a lot of
> problems that I don't think other people are experiencing.
>
> I'm using Ubuntu as my OS, and Ganymede for my Eclipse version with Flash
> Player 10 release version. (I can't seem to install Flash 10 Debug Players,
> does anyone know how to do that on Ubuntu?) When I try to compile my
> application, it launches fine (when i "Run" it, not when I "Debug" it.
> Debugging doesn't work because I don't have a debug player installed.)
> However, I'm getting nothing when it runs, just a big blue application that
> does nothing. I can't visually add anything to the display list, I can't log
> anything out to Arthropod, I basically can't do anything.
>
> When I try to embed my application via SWFObject, that's no working either.
> I get the alternative content every time.
>
> Now here are my questions, I'm going to try and discover the answers ASAP
> for them, but if you know anything, could you help me out?
> Does FlexBuilder for Linux need to be installed on a Europa release?
> Does FlexBuilder for Linux *require* you to use Flash Player 9 release and
> debug players?
> Will using the Flex ant tasks resolve some of the problems I'm having?
>
> Any help is much appreciated! Merry Christmas, everyone!
> http://ubuntuforums.org/showthread.php?p=6432138#post6432138
>
> - TK
>
> --
> And do this, knowing the time, that now it is high time to awake out of
> sleep;
> for now our salvation is nearer than when we first believed.
>  
>



-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus
http://mientretiempo.blogspot.com/


[flexcoders] Re: Embedding HTML page into Flex using Adobe AIR

2008-12-26 Thread valdhor
You have picked something that is not easy to do. You will have to
write some sort of HTML parser class that will look through all of the
HTML for the  tags and grab the href attribute as well as the id
attribute. Then you can add an eventListener for them.

One hurdle (amongst many) is going to be with links that perform
javascript functions. You will have to figure a way to grab these and
perform the javascript.

You should probably dig into the XML classes. Of course, a lot of HTML
pages are not valid XML.

Sorry I don't have any magic powder to help you. I really believe it
is going to take a LOT longer than 5 days for this to be implemented.


--- In flexcoders@yahoogroups.com, "shiv_indian"  wrote:
>
> Hi Valdhor,
> 
>   Thanks for showing interest to respond my queries. But Actually 
> whats the problem in our applicaion we are giving user to browse the 
> any url. Suppose user enters the "http://www.mail.yahoo.com"; and 
> logged in the page. There users suppose got one mail with some 
> attachment. User wants to download that attachment and wants to save 
> that on external drive like flash player or user wants to download 
> Flex Builder... 
> 
>Using  tag I am able to show the concerned page but 
> whats the problem I found is using  tag , unable to 
> download attachments... 
> 
>We can catch the html dom events if we know the the id the of 
> anchor in that html... yahoo,google etc are completely not in our 
> control .. how to capture the events on that pages...
> 
>Really you will save me lot guide / suggest me ... For past 5 
> days I am working on this issue... still failed to find the 
> solution I put this query almost all forums  nobody is 
> responding except in this forum.
> 
> 
> Thanks & Regards,
> Siva Kumar
> 
> --- In flexcoders@yahoogroups.com, "valdhor"  
> wrote:
> >
> > You would need to attach an event listener to the link tag. See the
> > section "Handling DOM events with ActionScript" in the "Handling
> > HTML-related events" help page at
> > http://livedocs.adobe.com/flex/3/html/index.html
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "shiv_indian"  
> wrote:
> > >
> > > Hi Valdhor,
> > > 
> > > Actually I am unable to capture the link from the HTML 
> content. 
> > > Because whatever the content displayed in  tag, we dont 
> > > have any control over that code. Is it possible to capture 
> thing..
> > > 
> > > Thanks & Regards,
> > > Siva Kumar
> > > 
> > > --- In flexcoders@yahoogroups.com, "valdhor"  
> > > wrote:
> > > >
> > > > Have you looked at flash.net.filereference?
> > > > 
> > > > 
> > > 
> http://livedocs.adobe.com/flex/3/langref/flash/net/FileReference.html
> > > > 
> > > > 
> > > > --- In flexcoders@yahoogroups.com, "shiv_indian" 
>  
> > > 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  API, failed to find the 
> > > solution :(
> > > > > 
> > > > > Thanks & Regards,
> > > > > Siva Kumar
> > > > > 
> > > > > --- In flexcoders@yahoogroups.com, Alex Harui  
> 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: flexcoders@yahoogroups.com 
> > > > > [mailto:flexcod...@yahoogroups.com] On Behalf Of shiv_indian
> > > > > > Sent: Tuesday, December 23, 2008 8:04 PM
> > > > > > To: flexcoders@yahoogroups.com
> > > > > > 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
> > > > > >  tag to download files / attachments.
> > > > > > 
> > > > > > Thanks & Regards,
> > > > > > Siva Kumar
> > > > > > 
> > > > > > --- In flexcoders@yahoogroups.com > > > > 40yahoogroups.com>, Alex Harui  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: flexcoders@yahoogroups.com > > > > 40yahoogroups.com>
> > > > > > [mailto:flexcoders@yahoogroups.com > > > > 40yahoo

[flexcoders] Re: Embedding HTML page into Flex using Adobe AIR

2008-12-26 Thread shiv_indian
Hi Valdhor,

  Thanks for showing interest to respond my queries. But Actually 
whats the problem in our applicaion we are giving user to browse the 
any url. Suppose user enters the "http://www.mail.yahoo.com"; and 
logged in the page. There users suppose got one mail with some 
attachment. User wants to download that attachment and wants to save 
that on external drive like flash player or user wants to download 
Flex Builder... 

   Using  tag I am able to show the concerned page but 
whats the problem I found is using  tag , unable to 
download attachments... 

   We can catch the html dom events if we know the the id the of 
anchor in that html... yahoo,google etc are completely not in our 
control .. how to capture the events on that pages...

   Really you will save me lot guide / suggest me ... For past 5 
days I am working on this issue... still failed to find the 
solution I put this query almost all forums  nobody is 
responding except in this forum.


Thanks & Regards,
Siva Kumar

--- In flexcoders@yahoogroups.com, "valdhor"  
wrote:
>
> You would need to attach an event listener to the link tag. See the
> section "Handling DOM events with ActionScript" in the "Handling
> HTML-related events" help page at
> http://livedocs.adobe.com/flex/3/html/index.html
> 
> 
> --- In flexcoders@yahoogroups.com, "shiv_indian"  
wrote:
> >
> > Hi Valdhor,
> > 
> > Actually I am unable to capture the link from the HTML 
content. 
> > Because whatever the content displayed in  tag, we dont 
> > have any control over that code. Is it possible to capture 
thing..
> > 
> > Thanks & Regards,
> > Siva Kumar
> > 
> > --- In flexcoders@yahoogroups.com, "valdhor"  
> > wrote:
> > >
> > > Have you looked at flash.net.filereference?
> > > 
> > > 
> > 
http://livedocs.adobe.com/flex/3/langref/flash/net/FileReference.html
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, "shiv_indian" 
 
> > 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  API, failed to find the 
> > solution :(
> > > > 
> > > > Thanks & Regards,
> > > > Siva Kumar
> > > > 
> > > > --- In flexcoders@yahoogroups.com, Alex Harui  
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: flexcoders@yahoogroups.com 
> > > > [mailto:flexcod...@yahoogroups.com] On Behalf Of shiv_indian
> > > > > Sent: Tuesday, December 23, 2008 8:04 PM
> > > > > To: flexcoders@yahoogroups.com
> > > > > 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
> > > > >  tag to download files / attachments.
> > > > > 
> > > > > Thanks & Regards,
> > > > > Siva Kumar
> > > > > 
> > > > > --- In flexcoders@yahoogroups.com > > > 40yahoogroups.com>, Alex Harui  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: flexcoders@yahoogroups.com > > > 40yahoogroups.com>
> > > > > [mailto:flexcoders@yahoogroups.com > > > 40yahoogroups.com>] On Behalf Of shiv_indian
> > > > > > Sent: Tuesday, December 23, 2008 2:35 AM
> > > > > > To: flexcoders@yahoogroups.com > > > 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
> > > > > >  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

[flexcoders] Re: Embedding HTML page into Flex using Adobe AIR

2008-12-26 Thread shiv_indian
--- In flexcoders@yahoogroups.com, "valdhor"  
wrote:
>
> You would need to attach an event listener to the link tag. See the
> section "Handling DOM events with ActionScript" in the "Handling
> HTML-related events" help page at
> http://livedocs.adobe.com/flex/3/html/index.html
> 
> 
> --- In flexcoders@yahoogroups.com, "shiv_indian"  
wrote:
> >
> > Hi Valdhor,
> > 
> > Actually I am unable to capture the link from the HTML 
content. 
> > Because whatever the content displayed in  tag, we dont 
> > have any control over that code. Is it possible to capture 
thing..
> > 
> > Thanks & Regards,
> > Siva Kumar
> > 
> > --- In flexcoders@yahoogroups.com, "valdhor"  
> > wrote:
> > >
> > > Have you looked at flash.net.filereference?
> > > 
> > > 
> > 
http://livedocs.adobe.com/flex/3/langref/flash/net/FileReference.html
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, "shiv_indian" 
 
> > 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  API, failed to find the 
> > solution :(
> > > > 
> > > > Thanks & Regards,
> > > > Siva Kumar
> > > > 
> > > > --- In flexcoders@yahoogroups.com, Alex Harui  
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: flexcoders@yahoogroups.com 
> > > > [mailto:flexcod...@yahoogroups.com] On Behalf Of shiv_indian
> > > > > Sent: Tuesday, December 23, 2008 8:04 PM
> > > > > To: flexcoders@yahoogroups.com
> > > > > 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
> > > > >  tag to download files / attachments.
> > > > > 
> > > > > Thanks & Regards,
> > > > > Siva Kumar
> > > > > 
> > > > > --- In flexcoders@yahoogroups.com > > > 40yahoogroups.com>, Alex Harui  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: flexcoders@yahoogroups.com > > > 40yahoogroups.com>
> > > > > [mailto:flexcoders@yahoogroups.com > > > 40yahoogroups.com>] On Behalf Of shiv_indian
> > > > > > Sent: Tuesday, December 23, 2008 2:35 AM
> > > > > > To: flexcoders@yahoogroups.com > > > 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
> > > > > >  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.
> > > > > >
> > > > >
> > > >
> > >
> >
>