I have used the same functionality implementing an IFRAME in my application to open the webpage.
It is the simplest and quick solution.. Thanks, Kumar _____ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Friday, March 16, 2007 4:50 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] HTML in Flex Short answer, no. Longer answer: In order to be able to renderer all html, the Flash Player would have to contain an entire parsing engine, and that would make its download footprint too large. A workable solution is to use an IFRAME in the host browser that is positioned and sized to appear as if it was a part of the Flex application. Search / google tht and you will find the examples. Tracy _____ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Persaud, Anthony Sent: Thursday, March 15, 2007 12:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] HTML in Flex A newbie here. Is there a way to load an external HTML page or website (ex. www.google.com <http://www.google.com/> ) inside a flex application? I see it in all the Apollo presentations, but haven't seen any FLEX component that can render an HTML (and let the user interact with it as if it was a browser). Any suggestions would be useful. Thanks, Anthony _____ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: Thursday, March 15, 2007 10:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: SelectedIndex bug after removing an element !! Try: grid.selectedIndex = x - 1; The selectedIndex property is zero-based, so in general you need to set it to (N - 1) to select the Nth line. --- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com, "bobrene07" <[EMAIL PROTECTED]> wrote: > > hello, > > > I have a problem with the selecting index after i removed an element. > > when i do the following: > > var x:int = grid.selectedIndex; > > if (x != -1) { > grid.dataProvider.removeItemAt(x); > grid.selectedIndex = x; > } > > if x equal 4 it select the fift line. > > does anyone knows how to fix it ?? > > thx > > Bob >