[Flashcoders] Tree component icons

2006-07-26 Thread Grant Davies
Is it possible to mark a tree node as Special so I can apply different icons ? I have a tree that has the hierarchy Groups |__Roles |_ Permissions An I want each level to have a different icon. Can this be done, and do I have to do a custom tree renderer ? Grant

[Flashcoders] Disable a menu with MM V2 Menu component.

2006-06-28 Thread Grant Davies
I'm adding authorization to my application and I've manged to disable menu items within a menu by setting the enabled property to false. In some case the entire menu needs to be disabled, but it appears to be ignoring my enabled=false or setEnabled(false). e,.g. myAccountMenu =

[Flashcoders] Movie clip loader onLoadError not called in firefox

2006-06-19 Thread Grant Davies
I've been doing some googling and found a lot of people complaining about the onLoadError method of your listener object passed to the MovieClipLoader does not get called when the movie cannot be loaded when run inside firefox. Before I go writing a timeout class to catch this, is there a

[Flashcoders] How does remoting access class members ?

2006-03-04 Thread Grant Davies
I'm trying to remember how remoting accesses class members when translating and object for serialization over AMF I know it can access the private variables of a class, but will it use get/set methods if they are present, for example : class com.somecompany.domain { private var

RE: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-01 Thread Grant Davies
Problem with that is if the item you click on is under other items and it swaps depths with the top item, the top item then appears under things it wasn't. I did it this way first and it looked very weird. I ended up just writing a depth sorter, each of the objects that are added to the screen

RE: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-01 Thread Grant Davies
Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clips why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many movieclips? On 3/2/06, Karthik [EMAIL PROTECTED] wrote: On 02/03/06, Grant Davies [EMAIL PROTECTED] wrote: Problem with that is if the item you click

RE: [Flashcoders] Z sorting multiple overlapping movie clips

2006-03-01 Thread Grant Davies
: Thursday, March 02, 2006 12:26 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Z sorting multiple overlapping movie clips why not mc.swapDepths(getNextHighestDepth() ) ? Do you have that many movieclips? On 3/2/06, Karthik [EMAIL PROTECTED] wrote: On 02/03/06, Grant Davies [EMAIL

[Flashcoders] Z sorting multiple overlapping movie clips

2006-02-27 Thread Grant Davies
Does anyone have a an algorithm for Z sorting multiple overlapping clips... I have an array of clips and when one is clicked I want it to come to the top, but I want the other overlapping items to also shift appropriately... So Item [1] at depth 10 Item [2] at depth 9 Item [3] at depth 8 Item