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: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Doug Lowder
Sent: Thursday, March 15, 2007 10:01 AM
To: [email protected]
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>
, "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
>

 

Reply via email to