The framework doesn't provide a disclosure component, although it
probably should.

 

But there's no reason your Button can't use the same skins that the Tree
uses. If you look at the Tree selector in defaults.css, you'll see that
they're embedded from Assets.swf:

 

    disclosureClosedIcon:
Embed(source="Assets.swf",symbol="TreeDisclosureClosed");

    disclosureOpenIcon:
Embed(source="Assets.swf",symbol="TreeDisclosureOpen");

 

- Gordon

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lachlan Cotter
Sent: Thursday, November 30, 2006 8:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Disclosure triangles

 

I might end up having to go that way, but it would be preferable to use
an existing framework component, if it exists, so the skin used on the
button is that same as the skin used on the tree. Thanks for the
suggestion. 

 

 

On 01/12/2006, at 3:09 PM, Gordon Smith wrote:





Couldn't you use a Button that has 'toggle' set to true and skinned with
triangle graphics?

 

- Gordon

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lachlan Cotter
Sent: Thursday, November 30, 2006 5:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Disclosure triangles

 

Hi List,

Is it possible to use the disclosure triangle from the Tree view 
control outside of a tree view? I want to use it to switch between 
states on an item renderer (a collapsed, summary state, and a full, 
detail state). There doesn't seem to be a disclosure triangle component.

Cheers,
Lach

 

 

Reply via email to