UIComponents have a visible:Boolean property which you can set to true or false.
You can tell whether a Container is scrollable by checking whether its
maxHorizontalScrollPosition is greater than 0.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups
The compiler wouldn't have a declaration of 'data', so would assume item.data
has type *. At runtime it would have type int if its value is 1. But you could
use class to define data items with strongly typed properties:
public class MyItem
{
public var label:String:
public var data:int;
What type do i get back?
On Tue, Jul 28, 2009 at 2:52 PM, valdhor wrote:
>
>
> item.data
>
> --- In flexcoders@yahoogroups.com ,
> "veena_kris2003" wrote:
> >
> > How do I extract the data portion of the item if the item looks like
> > Object in the example below.
> >
> >
> > --- In flexcoders@
The ASDoc for ArrayCollection lists removeItemAt() as an inherited method.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of veena_kris2003
Sent: Tuesday, July 28, 2009 10:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Use any program that can produce a GIF or PNG and draw a left-pointing and a
right-pointing triangle.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of veena_kris2003
Sent: Tuesday, July 28, 2009 5:43 AM
To: flexcoders@yahoogroups
mailto:flexcoders@yahoogroups.com>
Subject: Re: [flexcoders] Re: Question about a flex component
It is really complex code. I don't understand it yet.
On Mon, Jul 27, 2009 at 7:02 PM, Gordon Smith
mailto:gosm...@adobe.com>> wrote:
Normally only the Player dispatches MouseEvents, in
dobe Flex SDK Team
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *veena pandit
> *Sent:* Monday, July 27, 2009 4:17 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] Re: Question about a flex component
>
>
>
&
flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Question about a flex component
It is really complex code. I don't understand it yet.
On Mon, Jul 27, 2009 at 7:02 PM, Gordon Smith
mailto:gosm...@adobe.com>> wrote:
Normally only the Player dispatches MouseEvents, in respo
It is really complex code. I don't understand it yet.
On Mon, Jul 27, 2009 at 7:02 PM, Gordon Smith wrote:
>
>
> Normally only the Player dispatches MouseEvents, in response to the user
> using the mouse. Why would you want to dispatch a MouseEvent in your code?
>
>
>
> Gordon Smith
>
> Adobe
Normally only the Player dispatches MouseEvents, in response to the user using
the mouse. Why would you want to dispatch a MouseEvent in your code?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of veena_kris2003
Sent: Monday, Jul
That's not how list-based components work. You don't add event listeners to
data items. You listen to events dispatched by the list itself.
What are you trying to accomplish with your event handlers?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroup
You add child components which are UIComponents to a container like HBox.
But you add data items to a list-based control like HorizontalList. These data
items then get displayed by item renderers, which are children which get
automatically created to display data items. The children are managed
You must use the collection API to add the items in order for the necessary
events to be dispatched to update the UI.
What is the data type of you dataProvider?
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yah
No, I don't have an example and don't have time to create one for you since I'm
a development engineer, not a support engineer. But here is what you should
try, learning as you go:
1. Create an app with an .
2. Make it show data items by assigning its dataProvider. Put in more data
items that
14 matches
Mail list logo